Socket
Socket
Sign inDemoInstall

@coinbase/wallet-sdk

Package Overview
Dependencies
Maintainers
13
Versions
77
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 3.9.1 to 3.9.2

3

dist/relay/mobile/MobileRelay.js

@@ -61,5 +61,2 @@ "use strict";

super.handleWeb3ResponseMessage(message);
if (this._enableMobileWalletLink && this.ui instanceof MobileRelayUI_1.MobileRelayUI) {
this.ui.closeOpenedWindow();
}
}

@@ -66,0 +63,0 @@ connectAndSignIn(params) {

@@ -7,7 +7,5 @@ import { ErrorHandler } from '../../core/error';

private darkMode;
private openedWindow;
constructor(options: Readonly<RelayUIOptions>);
attach(): void;
setConnected(_connected: boolean): void;
closeOpenedWindow(): void;
private redirectToCoinbaseWallet;

@@ -14,0 +12,0 @@ openCoinbaseWalletDeeplink(walletLinkUrl?: string): void;

17

dist/relay/mobile/MobileRelayUI.js

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

this.darkMode = false;
this.openedWindow = null;
this.redirectDialog = new RedirectDialog_1.RedirectDialog();

@@ -23,7 +22,2 @@ this.darkMode = options.darkMode;

setConnected(_connected) { } // no-op
closeOpenedWindow() {
var _a;
(_a = this.openedWindow) === null || _a === void 0 ? void 0 : _a.close();
this.openedWindow = null;
}
redirectToCoinbaseWallet(walletLinkUrl) {

@@ -35,6 +29,7 @@ const url = new URL('https://go.cb-w.com/walletlink');

}
this.openedWindow = window.open(url.href, 'cbw-opener');
if (this.openedWindow) {
setTimeout(() => this.closeOpenedWindow(), 5000);
}
const anchorTag = document.createElement('a');
anchorTag.target = 'cbw-opener';
anchorTag.href = url.href;
anchorTag.rel = 'noreferrer noopener';
anchorTag.click();
}

@@ -57,3 +52,2 @@ openCoinbaseWalletDeeplink(walletLinkUrl) {

return () => {
this.closeOpenedWindow();
this.redirectDialog.clear();

@@ -63,3 +57,2 @@ };

hideRequestEthereumAccounts() {
this.closeOpenedWindow();
this.redirectDialog.clear();

@@ -66,0 +59,0 @@ }

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

export declare const LIB_VERSION = "3.9.1";
export declare const LIB_VERSION = "3.9.2";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LIB_VERSION = void 0;
exports.LIB_VERSION = '3.9.1';
exports.LIB_VERSION = '3.9.2';
{
"name": "@coinbase/wallet-sdk",
"version": "3.9.1",
"version": "3.9.2",
"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