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

@solana/wallet-adapter-bitpie

Package Overview
Dependencies
Maintainers
11
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/wallet-adapter-bitpie - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

1

lib/cjs/adapter.js

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

this._connecting = true;
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const wallet = window.bitpie;

@@ -58,0 +59,0 @@ let account;

24

lib/esm/adapter.js

@@ -5,13 +5,10 @@ import { BaseSignerWalletAdapter, scopePollingDetectionStrategy, WalletAccountError, WalletNotConnectedError, WalletNotReadyError, WalletPublicKeyError, WalletReadyState, WalletSignTransactionError, } from '@solana/wallet-adapter-base';

export class BitpieWalletAdapter extends BaseSignerWalletAdapter {
name = BitpieWalletName;
url = 'https://bitpiecn.com';
icon = `data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGxpbmVhckdyYWRpZW50IGlkPSJhIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiMxZTNkYTAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMzNzUwZGUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9IjUyLjU0NTc1JSIgeDI9IjUyLjU0NTc1JSIgeGxpbms6aHJlZj0iI2EiIHkxPSIxMDAlIiB5Mj0iMCUiLz48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSI1MCUiIHgyPSI1MCUiIHkxPSIwJSIgeTI9IjEwMCUiPjxzdG9w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ODI2MzY0LjAwMDE4MThjMi4wMDgzMDgxIDAgMy42MzYzNjM2IDEuNjI4MDU1NSAzLjYzNjM2MzYgMy42MzYzNjM3IDAgMi4wMDgzMDgxLTEuNjI4MDU1NSAzLjYzNjM2MzYtMy42MzYzNjM2IDMuNjM2MzYzNmwtMi4xODI2MzY0LS4wMDA5MDkxdjUuODE5bDIuMTgyNjM2NC4wMDAwOTA5YzIuMDA4MzA4MSAwIDMuNjM2MzYzNiAxLjYyODA1NTUgMy42MzYzNjM2IDMuNjM2MzYzNiAwIDIuMDA4MzA4Mi0xLjYyODA1NTUgMy42MzYzNjM3LTMuNjM2MzYzNiAzLjYzNjM2MzdsLTIuMTgyNjM2NC0uMDAwODE4Mi4wMDA4MTgyIDIuMTgyNjM2NGMwIDIuMDA4MzA4MS0xLjYyODA1NTUgMy42MzYzNjM2LTMuNjM2MzYzNyAzLjYzNjM2MzYtMi4wMDgzMDgxIDAtMy42MzYzNjM2LTEuNjI4MDU1NS0zLjYzNjM2MzYtMy42MzYzNjM2bC0uMDAwMDkwOS0yLjE4MjYzNjRoLTUuODE5em0tLjAwMDkwOTEtOS40NTQ2MzY0aDUuODE5di01LjgxOWgtNS44MTl6IiBmaWxsPSJ1cmwoI2QpIiB0cmFuc2Zvcm09Im1hdHJpeCguODY2MDI1NCAtLjUgLjUgLjg2NjAyNTQgLTExLjcxMjgxMyAyMC4yODcxODcpIi8+PC9nPjwvc3ZnPg==`;
_connecting;
_wallet;
_publicKey;
_readyState = typeof window === 'undefined' || typeof document === 'undefined'
? WalletReadyState.Unsupported
: WalletReadyState.NotDetected;
constructor(config = {}) {
super();
this.name = BitpieWalletName;
this.url = 'https://bitpiecn.com';
this.icon = `data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d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cm09Im1hdHJpeCguODY2MDI1NCAtLjUgLjUgLjg2NjAyNTQgLTExLjcxMjgxMyAyMC4yODcxODcpIi8+PC9nPjwvc3ZnPg==`;
this._readyState = typeof window === 'undefined' || typeof document === 'undefined'
? WalletReadyState.Unsupported
: WalletReadyState.NotDetected;
this._connecting = false;

@@ -47,2 +44,3 @@ this._wallet = null;

this._connecting = true;
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const wallet = window.bitpie;

@@ -54,3 +52,3 @@ let account;

catch (error) {
throw new WalletAccountError(error?.message, error);
throw new WalletAccountError(error === null || error === void 0 ? void 0 : error.message, error);
}

@@ -62,3 +60,3 @@ let publicKey;

catch (error) {
throw new WalletPublicKeyError(error?.message, error);
throw new WalletPublicKeyError(error === null || error === void 0 ? void 0 : error.message, error);
}

@@ -93,3 +91,3 @@ this._wallet = wallet;

catch (error) {
throw new WalletSignTransactionError(error?.message, error);
throw new WalletSignTransactionError(error === null || error === void 0 ? void 0 : error.message, error);
}

@@ -111,3 +109,3 @@ }

catch (error) {
throw new WalletSignTransactionError(error?.message, error);
throw new WalletSignTransactionError(error === null || error === void 0 ? void 0 : error.message, error);
}

@@ -114,0 +112,0 @@ }

{
"name": "@solana/wallet-adapter-bitpie",
"version": "0.5.0",
"version": "0.5.1",
"author": "Solana Maintainers <maintainers@solana.foundation>",

@@ -30,6 +30,6 @@ "repository": "https://github.com/solana-labs/wallet-adapter",

"dependencies": {
"@solana/wallet-adapter-base": "^0.9.0",
"@solana/wallet-adapter-base": "^0.9.1",
"@solana/web3.js": "^1.20.0"
},
"gitHead": "d26322bf91216583bcb983dab677f000c2c2d941"
"gitHead": "dddfd864a629873f5de255a4bccb3533a29317fa"
}

@@ -80,2 +80,3 @@ import {

// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const wallet = window!.bitpie!;

@@ -82,0 +83,0 @@

Sorry, the diff of this file is not supported yet

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