File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
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.71 " ,
4
+ "version" : " 16.0.72 " ,
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 @@ -134,6 +134,7 @@ export class Auth {
134
134
public clientKey ?: Uint8Array ;
135
135
private _accountSummary ?: IAccountSummaryElements ;
136
136
private _accountSummaryVersion : number = 1
137
+
137
138
138
139
constructor ( options : ClientConfiguration ) {
139
140
if ( options . deviceConfig && options . deviceToken ) {
@@ -234,6 +235,7 @@ export class Auth {
234
235
platform . unloadKeys ( )
235
236
await this . executeRestAction ( logoutV3Message ( ) )
236
237
await this . idpLogout ( )
238
+ this . _sessionToken = ''
237
239
}
238
240
239
241
async connect ( ) {
@@ -1040,6 +1042,10 @@ export class Auth {
1040
1042
this . _accountSummaryVersion = version
1041
1043
}
1042
1044
1045
+ public setSessionToken ( token : string ) {
1046
+ this . _sessionToken = token
1047
+ }
1048
+
1043
1049
// async executeCommand<Command extends KeeperCommand>(command: Command): Promise<Command["response"]> {
1044
1050
// if (!command.username) {
1045
1051
// command.username = this._username;
You can’t perform that action at this time.
0 commit comments