wax-wallet-manager
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -169,16 +169,16 @@ "use strict"; | ||
case 0: | ||
_a.trys.push([0, 3, , 4]); | ||
if (!(this.users.length === 0)) return [3 /*break*/, 2]; | ||
if (this.users.length) | ||
return [2 /*return*/, this.users]; | ||
_a.label = 1; | ||
case 1: | ||
_a.trys.push([1, 3, , 4]); | ||
return [4 /*yield*/, this.link.login(this.appName)]; | ||
case 1: | ||
case 2: | ||
identity = _a.sent(); | ||
this.users = [new AnchorUser_1.AnchorUser(this.rpc, this.client, identity)]; | ||
_a.label = 2; | ||
case 2: return [3 /*break*/, 4]; | ||
return [2 /*return*/, this.users]; | ||
case 3: | ||
e_1 = _a.sent(); | ||
throw new AnchorError_1.AnchorError(e_1.message, WalletError_1.WalletErrorType.Login, e_1); | ||
case 4: | ||
// swapAccounts(this.users[0], this.walletName()); | ||
return [2 /*return*/, this.users]; | ||
case 4: return [2 /*return*/]; | ||
} | ||
@@ -185,0 +185,0 @@ }); |
{ | ||
"name": "wax-wallet-manager", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Manage multiple Wax Blockchain account login sessions across WCW and supported wallets.", | ||
@@ -20,3 +20,3 @@ "main": "lib/index.js", | ||
"postversion": "git push && git push --tags", | ||
"publishnow": "npm publish --access=public" | ||
"publishnow": "npm run build && npm publish --access=public" | ||
}, | ||
@@ -23,0 +23,0 @@ "repository": { |
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
61606