@dynamic-labs/wallet-book
Advanced tools
Comparing version 0.18.0-RC.4 to 0.18.0-RC.5
{ | ||
"name": "@dynamic-labs/wallet-book", | ||
"version": "0.18.0-RC.4", | ||
"version": "0.18.0-RC.5", | ||
"repository": { | ||
@@ -29,3 +29,3 @@ "type": "git", | ||
"zod": "3.21.4", | ||
"@dynamic-labs/logger": "0.18.0-RC.4" | ||
"@dynamic-labs/logger": "0.18.0-RC.5" | ||
}, | ||
@@ -32,0 +32,0 @@ "peerDependencies": { |
@@ -5,5 +5,5 @@ import { normalizeWalletName } from './normalizeWalletName.js'; | ||
const normalizedWalletName = normalizeWalletName(walletName); | ||
const walletData = walletBook.wallets?.[normalizedWalletName]; | ||
const walletData = walletBook?.wallets?.[normalizedWalletName]; | ||
if (!walletData) | ||
throw new Error(`Wallet ${walletName} not found in wallet book (${Object.keys(walletBook.wallets ?? {}).length} wallets found)`); | ||
throw new Error(`Wallet ${walletName} not found in wallet book (${Object.keys(walletBook?.wallets ?? {}).length} wallets found)`); | ||
return walletData; | ||
@@ -10,0 +10,0 @@ }; |
Sorry, the diff of this file is too big to display
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
224645
+ Added@dynamic-labs/logger@0.18.0-RC.5(transitive)
- Removed@dynamic-labs/logger@0.18.0-RC.4(transitive)