@openfort/openfort-js 0.7.21 → 0.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -7
- package/dist/index.js +1 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5178,7 +5178,7 @@ class AuthManager {
|
|
|
5178
5178
|
}
|
|
5179
5179
|
}
|
|
5180
5180
|
|
|
5181
|
-
const VERSION = '0.7.
|
|
5181
|
+
const VERSION = '0.7.22';
|
|
5182
5182
|
|
|
5183
5183
|
var Event;
|
|
5184
5184
|
(function (Event) {
|
|
@@ -5359,7 +5359,6 @@ const sessionKeyStorageKey = 'openfort.session_key';
|
|
|
5359
5359
|
const signerTypeStorageKey = 'openfort.signer_type';
|
|
5360
5360
|
const chainIDStorageKey = 'openfort.chain_id';
|
|
5361
5361
|
const jwksStorageKey = 'openfort.jwk';
|
|
5362
|
-
const deviceIDStorageKey = 'openfort.device_id';
|
|
5363
5362
|
const accountTypeStorageKey = 'openfort.account_type';
|
|
5364
5363
|
const shieldAuthTypeStorageKey = 'openfort.shield_auth_type';
|
|
5365
5364
|
const shieldAuthTokenStorageKey = 'openfort.shield_auth_token';
|
|
@@ -5539,17 +5538,12 @@ class InstanceManager {
|
|
|
5539
5538
|
}
|
|
5540
5539
|
setDeviceID(deviceID) {
|
|
5541
5540
|
this.deviceID = deviceID;
|
|
5542
|
-
this.persistentStorage.save(deviceIDStorageKey, deviceID);
|
|
5543
5541
|
}
|
|
5544
5542
|
getDeviceID() {
|
|
5545
|
-
if (!this.deviceID) {
|
|
5546
|
-
this.deviceID = this.persistentStorage.get(deviceIDStorageKey);
|
|
5547
|
-
}
|
|
5548
5543
|
return this.deviceID;
|
|
5549
5544
|
}
|
|
5550
5545
|
removeDeviceID() {
|
|
5551
5546
|
this.deviceID = null;
|
|
5552
|
-
this.persistentStorage.remove(deviceIDStorageKey);
|
|
5553
5547
|
}
|
|
5554
5548
|
setChainID(chainId) {
|
|
5555
5549
|
this.chainId = chainId;
|
package/dist/index.js
CHANGED
|
@@ -5155,7 +5155,7 @@ class AuthManager {
|
|
|
5155
5155
|
}
|
|
5156
5156
|
}
|
|
5157
5157
|
|
|
5158
|
-
const VERSION = '0.7.
|
|
5158
|
+
const VERSION = '0.7.22';
|
|
5159
5159
|
|
|
5160
5160
|
var Event;
|
|
5161
5161
|
(function (Event) {
|
|
@@ -5336,7 +5336,6 @@ const sessionKeyStorageKey = 'openfort.session_key';
|
|
|
5336
5336
|
const signerTypeStorageKey = 'openfort.signer_type';
|
|
5337
5337
|
const chainIDStorageKey = 'openfort.chain_id';
|
|
5338
5338
|
const jwksStorageKey = 'openfort.jwk';
|
|
5339
|
-
const deviceIDStorageKey = 'openfort.device_id';
|
|
5340
5339
|
const accountTypeStorageKey = 'openfort.account_type';
|
|
5341
5340
|
const shieldAuthTypeStorageKey = 'openfort.shield_auth_type';
|
|
5342
5341
|
const shieldAuthTokenStorageKey = 'openfort.shield_auth_token';
|
|
@@ -5516,17 +5515,12 @@ class InstanceManager {
|
|
|
5516
5515
|
}
|
|
5517
5516
|
setDeviceID(deviceID) {
|
|
5518
5517
|
this.deviceID = deviceID;
|
|
5519
|
-
this.persistentStorage.save(deviceIDStorageKey, deviceID);
|
|
5520
5518
|
}
|
|
5521
5519
|
getDeviceID() {
|
|
5522
|
-
if (!this.deviceID) {
|
|
5523
|
-
this.deviceID = this.persistentStorage.get(deviceIDStorageKey);
|
|
5524
|
-
}
|
|
5525
5520
|
return this.deviceID;
|
|
5526
5521
|
}
|
|
5527
5522
|
removeDeviceID() {
|
|
5528
5523
|
this.deviceID = null;
|
|
5529
|
-
this.persistentStorage.remove(deviceIDStorageKey);
|
|
5530
5524
|
}
|
|
5531
5525
|
setChainID(chainId) {
|
|
5532
5526
|
this.chainId = chainId;
|
package/package.json
CHANGED