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

@coinbase/wallet-sdk

Package Overview
Dependencies
Maintainers
15
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coinbase/wallet-sdk - npm Package Compare versions

Comparing version 4.0.0-beta.0 to 4.0.0-beta.1

1

dist/sign/scw/SCWSigner.js

@@ -19,2 +19,3 @@ "use strict";

this.stateManager = new SCWStateManager_1.SCWStateManager({
appChainIds: this.appChainIds,
updateListener: {

@@ -21,0 +22,0 @@ onAccountsUpdate: (...args) => options.updateListener.onAccountsUpdate(this, ...args),

@@ -12,2 +12,3 @@ import { StateUpdateListener } from '../UpdateListenerInterface';

constructor(options: {
appChainIds: number[];
updateListener: StateUpdateListener;

@@ -14,0 +15,0 @@ });

3

dist/sign/scw/SCWStateManager.js

@@ -16,2 +16,3 @@ "use strict";

constructor(options) {
var _a, _b;
this.storage = new ScopedLocalStorage_1.ScopedLocalStorage('CBWSDK', 'SCWStateManager');

@@ -35,3 +36,3 @@ this.updateListener = options.updateListener;

this._accounts = accounts || [];
this._activeChain = chain || { id: 1 };
this._activeChain = chain || { id: (_b = (_a = options.appChainIds) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : 1 };
}

@@ -38,0 +39,0 @@ updateAccounts(accounts) {

@@ -1,1 +0,1 @@

export declare const LIB_VERSION = "4.0.0-beta.0";
export declare const LIB_VERSION = "4.0.0-beta.1";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LIB_VERSION = void 0;
exports.LIB_VERSION = '4.0.0-beta.0';
exports.LIB_VERSION = '4.0.0-beta.1';
{
"name": "@coinbase/wallet-sdk",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"description": "Coinbase Wallet JavaScript SDK",

@@ -5,0 +5,0 @@ "keywords": [

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