File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @keeper-security/keeperapi" ,
3
3
"description" : " Keeper API Javascript SDK" ,
4
- "version" : " 16.0.51 " ,
4
+ "version" : " 16.0.52 " ,
5
5
"browser" : " dist/index.es.js" ,
6
6
"main" : " dist/index.cjs.js" ,
7
7
"types" : " dist/node/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ export class Auth {
132
132
private socket ?: SocketListener ;
133
133
public clientKey ?: Uint8Array ;
134
134
private _accountSummary ?: IAccountSummaryElements ;
135
+ private _accountSummaryVersion : number = 1
135
136
136
137
constructor ( options : ClientConfiguration ) {
137
138
if ( options . deviceConfig && options . deviceToken ) {
@@ -1018,10 +1019,14 @@ export class Auth {
1018
1019
1019
1020
async loadAccountSummary ( ) {
1020
1021
this . _accountSummary = await this . executeRest ( accountSummaryMessage ( {
1021
- summaryVersion : 1
1022
+ summaryVersion : this . _accountSummaryVersion
1022
1023
} ) ) ;
1023
1024
}
1024
1025
1026
+ setAccountSummaryVersion ( version : number ) {
1027
+ this . _accountSummaryVersion = version
1028
+ }
1029
+
1025
1030
// async executeCommand<Command extends KeeperCommand>(command: Command): Promise<Command["response"]> {
1026
1031
// if (!command.username) {
1027
1032
// command.username = this._username;
You can’t perform that action at this time.
0 commit comments