@particle-network/auth
Advanced tools
Comparing version 0.4.7 to 0.4.8
@@ -232,3 +232,3 @@ "use strict"; | ||
} | ||
const wallet = userInfo.wallets.find((wallet) => { var _a; return (_a = wallet.chain_name === chainType) !== null && _a !== void 0 ? _a : this.walletChainName(); }); | ||
const wallet = userInfo.wallets.find((wallet) => wallet.chain_name === (chainType || this.walletChainName())); | ||
if (wallet !== undefined && wallet.public_address.length > 0) { | ||
@@ -235,0 +235,0 @@ return wallet; |
{ | ||
"name": "@particle-network/auth", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "lib", |
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
47787