Socket
Socket
Sign inDemoInstall

@solana/wallet-adapter-base

Package Overview
Dependencies
Maintainers
14
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.9.9 to 0.9.10

3

lib/cjs/adapter.js

@@ -58,4 +58,3 @@ "use strict";

transaction.feePayer = transaction.feePayer || publicKey;
transaction.recentBlockhash =
transaction.recentBlockhash || (yield connection.getRecentBlockhash('finalized')).blockhash;
transaction.recentBlockhash = transaction.recentBlockhash || (yield connection.getLatestBlockhash()).blockhash;
return transaction;

@@ -62,0 +61,0 @@ });

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

import { Connection, PublicKey, SendOptions, Signer, Transaction, TransactionSignature } from '@solana/web3.js';
import type { Connection, PublicKey, SendOptions, Signer, Transaction, TransactionSignature } from '@solana/web3.js';
import EventEmitter from 'eventemitter3';
import { WalletError } from './errors';
import type { WalletError } from './errors';
export { EventEmitter };

@@ -5,0 +5,0 @@ export interface WalletAdapterEvents {

@@ -1,3 +0,4 @@

import { Connection, Transaction, TransactionSignature } from '@solana/web3.js';
import { BaseWalletAdapter, SendTransactionOptions, WalletAdapter } from './adapter';
import type { Connection, Transaction, TransactionSignature } from '@solana/web3.js';
import type { SendTransactionOptions, WalletAdapter } from './adapter';
import { BaseWalletAdapter } from './adapter';
export interface SignerWalletAdapterProps {

@@ -4,0 +5,0 @@ signTransaction(transaction: Transaction): Promise<Transaction>;

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

import { WalletAdapter } from './adapter';
import { MessageSignerWalletAdapter, SignerWalletAdapter } from './signer';
import type { WalletAdapter } from './adapter';
import type { MessageSignerWalletAdapter, SignerWalletAdapter } from './signer';
export declare type Adapter = WalletAdapter | SignerWalletAdapter | MessageSignerWalletAdapter;

@@ -4,0 +4,0 @@ export declare enum WalletAdapterNetwork {

{
"name": "@solana/wallet-adapter-base",
"version": "0.9.9",
"version": "0.9.10",
"author": "Solana Maintainers <maintainers@solana.foundation>",

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

"peerDependencies": {
"@solana/web3.js": "^1.44.3"
"@solana/web3.js": "^1.50.1"
},

@@ -40,5 +40,5 @@ "dependencies": {

"devDependencies": {
"@solana/web3.js": "^1.44.3"
"@solana/web3.js": "^1.50.1"
},
"gitHead": "389767182619fc76ab939920f75cc7194ff77340"
"gitHead": "29b57115d1fd7bf097f14ca82cbb1c96e65b8372"
}

@@ -1,4 +0,5 @@

import { Connection, PublicKey, SendOptions, Signer, Transaction, TransactionSignature } from '@solana/web3.js';
import type { Connection, PublicKey, SendOptions, Signer, Transaction, TransactionSignature } from '@solana/web3.js';
import EventEmitter from 'eventemitter3';
import { WalletError, WalletNotConnectedError } from './errors';
import type { WalletError } from './errors';
import { WalletNotConnectedError } from './errors';

@@ -96,4 +97,3 @@ export { EventEmitter };

transaction.feePayer = transaction.feePayer || publicKey;
transaction.recentBlockhash =
transaction.recentBlockhash || (await connection.getRecentBlockhash('finalized')).blockhash;
transaction.recentBlockhash = transaction.recentBlockhash || (await connection.getLatestBlockhash()).blockhash;

@@ -100,0 +100,0 @@ return transaction;

@@ -1,4 +0,5 @@

import { Connection, Transaction, TransactionSignature } from '@solana/web3.js';
import { BaseWalletAdapter, SendTransactionOptions, WalletAdapter } from './adapter';
import { WalletError, WalletSendTransactionError, WalletSignTransactionError } from './errors';
import type { Connection, Transaction, TransactionSignature } from '@solana/web3.js';
import type { SendTransactionOptions, WalletAdapter } from './adapter';
import { BaseWalletAdapter } from './adapter';
import { WalletSendTransactionError, WalletSignTransactionError } from './errors';

@@ -5,0 +6,0 @@ export interface SignerWalletAdapterProps {

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

import { WalletAdapter } from './adapter';
import { MessageSignerWalletAdapter, SignerWalletAdapter } from './signer';
import type { WalletAdapter } from './adapter';
import type { MessageSignerWalletAdapter, SignerWalletAdapter } from './signer';

@@ -4,0 +4,0 @@ export type Adapter = WalletAdapter | SignerWalletAdapter | MessageSignerWalletAdapter;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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