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

@dynamic-labs/wallet-book

Package Overview
Dependencies
Maintainers
2
Versions
537
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/wallet-book - npm Package Compare versions

Comparing version 0.18.0-RC.4 to 0.18.0-RC.5

4

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

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