wax-wallet-manager
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -170,3 +170,3 @@ "use strict"; | ||
case 0: | ||
_a.trys.push([0, 3, , 4]); | ||
_a.trys.push([0, 4, , 5]); | ||
if (!(this.users.length === 0)) return [3 /*break*/, 2]; | ||
@@ -177,8 +177,11 @@ return [4 /*yield*/, this.link.login(this.appName)]; | ||
this.users = [new AnchorUser_1.AnchorUser(this.rpc, this.client, identity)]; | ||
_a.label = 2; | ||
case 2: return [3 /*break*/, 4]; | ||
case 3: | ||
return [3 /*break*/, 3]; | ||
case 2: | ||
(0, UsersManager_1.swapAccounts)(this.users[0], this.walletName()); | ||
return [2 /*return*/, this.users]; | ||
case 3: return [3 /*break*/, 5]; | ||
case 4: | ||
e_1 = _a.sent(); | ||
throw new AnchorError_1.AnchorError(e_1.message, WalletError_1.WalletErrorType.Login, e_1); | ||
case 4: | ||
case 5: | ||
(0, UsersManager_1.swapAccounts)(this.users[0], this.walletName()); | ||
@@ -185,0 +188,0 @@ return [2 /*return*/, this.users]; |
{ | ||
"name": "wax-wallet-manager", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Manage multiple Wax Blockchain account login sessions across WCW and supported wallets.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
58291
1282