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.0 to 0.7.1

25

lib/auth.js

@@ -149,3 +149,4 @@ "use strict";

};
Auth.prototype.logout = function () {
Auth.prototype.logout = function (hideLoading) {
if (hideLoading === void 0) { hideLoading = false; }
return __awaiter(this, void 0, void 0, function () {

@@ -156,14 +157,16 @@ var iframe, container;

iframe = this.openUrl(this.buildUrl("/logout"));
container = document.getElementById("particle-network-container");
if (container) {
container.style.display = "none";
}
try {
if (iframe && "remove" in iframe) {
iframe.style.display = "none";
if (hideLoading) {
container = document.getElementById("particle-network-container");
if (container) {
container.style.display = "none";
}
try {
if (iframe && "remove" in iframe) {
iframe.style.display = "none";
}
}
catch (e) {
//ignore
}
}
catch (e) {
//ignore
}
return [2 /*return*/, new Promise(function (resolve, reject) {

@@ -170,0 +173,0 @@ _this.setAuthResult({

@@ -24,3 +24,3 @@ /// <reference types="node" />

}): Promise<UserInfo>;
logout(): Promise<void>;
logout(hideLoading?: boolean): Promise<void>;
sign(method: string, message: Base58String | PrefixedHexString): Promise<string>;

@@ -27,0 +27,0 @@ signAllTransactions(messages: Base58String[]): Promise<string[]>;

{
"name": "@particle-network/auth",
"version": "0.7.0",
"version": "0.7.1",
"files": [

@@ -15,4 +15,4 @@ "lib",

"dependencies": {
"@particle-network/common": "^0.1.6",
"@particle-network/crypto": "^0.1.1",
"@particle-network/common": "^0.1.7",
"@particle-network/crypto": "^0.1.2",
"crypto-js": "^4.1.1",

@@ -33,3 +33,3 @@ "uuid": "^8.3.2"

},
"gitHead": "ed67e3124ec04d25a2b243ef20b12aa43eb07caa"
"gitHead": "ad391f0c90eb6b7c4ed5bf83982015c27a542328"
}

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