@particle-network/auth
Advanced tools
Comparing version 0.7.3 to 0.7.4
"use strict"; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -71,5 +82,4 @@ exports.ParticleNetwork = void 0; | ||
} | ||
var openWalletData = Object.create(this.config); | ||
openWalletData.authUserInfo = this.auth.userInfo(); | ||
var ciphertext = crypto_1.urlCrypto.encryptUrlParam(openWalletData); | ||
var params = __assign(__assign({}, this.config), { authUserInfo: this.auth.userInfo() }); | ||
var ciphertext = crypto_1.urlCrypto.encryptUrlParam(params); | ||
var url = "https://wallet.particle.network/?params=".concat(ciphertext, "&theme=").concat(this.auth.getThemeType()); | ||
@@ -76,0 +86,0 @@ window.open(url, target, features); |
{ | ||
"name": "@particle-network/auth", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"files": [ | ||
@@ -15,3 +15,3 @@ "lib", | ||
"dependencies": { | ||
"@particle-network/common": "^0.1.8", | ||
"@particle-network/common": "^0.1.9", | ||
"@particle-network/crypto": "^0.1.2", | ||
@@ -33,3 +33,3 @@ "crypto-js": "^4.1.1", | ||
}, | ||
"gitHead": "1a821bf9b1cd2b846469925873c7f0ae10550320" | ||
"gitHead": "fd286b7f7772d608a1a705e6d73eb26b382c2876" | ||
} |
Sorry, the diff of this file is not supported yet
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
67737
880