Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@particle-network/auth

Package Overview
Dependencies
Maintainers
4
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@particle-network/auth - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

16

lib/particle-network.js
"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);

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc