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

@dynamic-labs/wallet-connector-core

Package Overview
Dependencies
Maintainers
1
Versions
627
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/wallet-connector-core - npm Package Compare versions

Comparing version 3.0.0-alpha.42 to 3.0.0-alpha.43

12

package.json
{
"name": "@dynamic-labs/wallet-connector-core",
"version": "3.0.0-alpha.42",
"version": "3.0.0-alpha.43",
"repository": {

@@ -32,9 +32,9 @@ "type": "git",

"peerDependencies": {
"@dynamic-labs/logger": "3.0.0-alpha.42",
"@dynamic-labs/rpc-providers": "3.0.0-alpha.42",
"@dynamic-labs/types": "3.0.0-alpha.42",
"@dynamic-labs/utils": "3.0.0-alpha.42",
"@dynamic-labs/wallet-book": "3.0.0-alpha.42",
"@dynamic-labs/logger": "3.0.0-alpha.43",
"@dynamic-labs/rpc-providers": "3.0.0-alpha.43",
"@dynamic-labs/types": "3.0.0-alpha.43",
"@dynamic-labs/utils": "3.0.0-alpha.43",
"@dynamic-labs/wallet-book": "3.0.0-alpha.43",
"eventemitter3": "5.0.1"
}
}

@@ -5,2 +5,3 @@ 'use client'

import { logger } from '../../../utils/logger.js';
import { normalizeAddress } from '../../../utils/isSameAddress/utils/normalizeAddress/normalizeAddress.js';
import '@dynamic-labs/utils';

@@ -101,3 +102,5 @@ import '@dynamic-labs/wallet-book';

const connectedAccounts = yield __classPrivateFieldGet(this, _Wallet_connector, "f").getConnectedAccounts();
return connectedAccounts.includes(this.address);
return connectedAccounts
.map((address) => normalizeAddress(address, this.chain))
.includes(normalizeAddress(this.address, this.chain));
}

@@ -104,0 +107,0 @@ catch (error) {

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