wax-wallet-manager
Advanced tools
Comparing version 1.1.9 to 1.2.0
@@ -66,5 +66,5 @@ "use strict"; | ||
} | ||
storage = localStorage.getItem(storage_1.ACCOUNTS_KEY) || undefined; | ||
storedAccounts = storage ? JSON.parse(storage) : []; | ||
try { | ||
storage = localStorage.getItem(storage_1.ACCOUNTS_KEY) || ''; | ||
storedAccounts = JSON.parse(storage) || []; | ||
if (storedAccounts.length > 0) { | ||
@@ -76,4 +76,4 @@ recent = storedAccounts[0] || undefined; | ||
} | ||
catch (_b) { | ||
throw new WaxError_1.WaxError('Cloud Wallet not initiated', WalletError_1.WalletErrorType.Initialization, null); | ||
catch (e) { | ||
throw new WaxError_1.WaxError(e.message, WalletError_1.WalletErrorType.Initialization, null); | ||
} | ||
@@ -80,0 +80,0 @@ return [2 /*return*/]; |
{ | ||
"name": "wax-wallet-manager", | ||
"version": "1.1.9", | ||
"version": "1.2.0", | ||
"description": "Manage multiple Wax Blockchain account login sessions across WCW and supported wallets.", | ||
@@ -52,3 +52,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@greymass/eosio": "^0.6.4", | ||
"@greymass/eosio": "^0.6.9", | ||
"@waxio/waxjs": "^1.3.0", | ||
@@ -55,0 +55,0 @@ "anchor-link": "^3.5.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55232
Updated@greymass/eosio@^0.6.9