@solana/wallet-adapter-coinbase
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -33,2 +33,3 @@ "use strict"; | ||
this.icon = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSI1MTIiIGN5PSI1MTIiIHI9IjUxMiIgZmlsbD0iIzAwNTJGRiIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE1MiA1MTJDMTUyIDcxMC44MjMgMzEzLjE3NyA4NzIgNTEyIDg3MkM3MTAuODIzIDg3MiA4NzIgNzEwLjgyMyA4NzIgNTEyQzg3MiAzMTMuMTc3IDcxMC44MjMgMTUyIDUxMiAxNTJDMzEzLjE3NyAxNTIgMTUyIDMxMy4xNzcgMTUyIDUxMlpNNDIwIDM5NkM0MDYuNzQ1IDM5NiAzOTYgNDA2Ljc0NSAzOTYgNDIwVjYwNEMzOTYgNjE3LjI1NSA0MDYuNzQ1IDYyOCA0MjAgNjI4SDYwNEM2MTcuMjU1IDYyOCA2MjggNjE3LjI1NSA2MjggNjA0VjQyMEM2MjggNDA2Ljc0NSA2MTcuMjU1IDM5NiA2MDQgMzk2SDQyMFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo='; | ||
this.supportedTransactionVersions = null; | ||
this._readyState = typeof window === 'undefined' || typeof document === 'undefined' | ||
@@ -35,0 +36,0 @@ ? wallet_adapter_base_1.WalletReadyState.Unsupported |
@@ -10,2 +10,3 @@ import { BaseMessageSignerWalletAdapter, scopePollingDetectionStrategy, WalletAccountError, WalletConnectionError, WalletDisconnectedError, WalletDisconnectionError, WalletError, WalletNotConnectedError, WalletNotReadyError, WalletPublicKeyError, WalletReadyState, WalletSendTransactionError, WalletSignTransactionError, } from '@solana/wallet-adapter-base'; | ||
this.icon = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSI1MTIiIGN5PSI1MTIiIHI9IjUxMiIgZmlsbD0iIzAwNTJGRiIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE1MiA1MTJDMTUyIDcxMC44MjMgMzEzLjE3NyA4NzIgNTEyIDg3MkM3MTAuODIzIDg3MiA4NzIgNzEwLjgyMyA4NzIgNTEyQzg3MiAzMTMuMTc3IDcxMC44MjMgMTUyIDUxMiAxNTJDMzEzLjE3NyAxNTIgMTUyIDMxMy4xNzcgMTUyIDUxMlpNNDIwIDM5NkM0MDYuNzQ1IDM5NiAzOTYgNDA2Ljc0NSAzOTYgNDIwVjYwNEMzOTYgNjE3LjI1NSA0MDYuNzQ1IDYyOCA0MjAgNjI4SDYwNEM2MTcuMjU1IDYyOCA2MjggNjE3LjI1NSA2MjggNjA0VjQyMEM2MjggNDA2Ljc0NSA2MTcuMjU1IDM5NiA2MDQgMzk2SDQyMFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo='; | ||
this.supportedTransactionVersions = null; | ||
this._readyState = typeof window === 'undefined' || typeof document === 'undefined' | ||
@@ -12,0 +13,0 @@ ? WalletReadyState.Unsupported |
@@ -12,2 +12,3 @@ import type { SendTransactionOptions, WalletName } from '@solana/wallet-adapter-base'; | ||
icon: string; | ||
readonly supportedTransactionVersions: null; | ||
private _connecting; | ||
@@ -24,4 +25,4 @@ private _wallet; | ||
sendTransaction(transaction: Transaction, connection: Connection, options?: SendTransactionOptions): Promise<TransactionSignature>; | ||
signTransaction(transaction: Transaction): Promise<Transaction>; | ||
signAllTransactions(transactions: Transaction[]): Promise<Transaction[]>; | ||
signTransaction<T extends Transaction>(transaction: T): Promise<T>; | ||
signAllTransactions<T extends Transaction>(transactions: T[]): Promise<T[]>; | ||
signMessage(message: Uint8Array): Promise<Uint8Array>; | ||
@@ -28,0 +29,0 @@ private _disconnected; |
{ | ||
"name": "@solana/wallet-adapter-coinbase", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"author": "Solana Maintainers <maintainers@solana.foundation>", | ||
@@ -29,9 +29,9 @@ "repository": "https://github.com/solana-labs/wallet-adapter", | ||
"peerDependencies": { | ||
"@solana/web3.js": "^1.50.1" | ||
"@solana/web3.js": "^1.61.0" | ||
}, | ||
"dependencies": { | ||
"@solana/wallet-adapter-base": "^0.9.16" | ||
"@solana/wallet-adapter-base": "^0.9.17" | ||
}, | ||
"devDependencies": { | ||
"@solana/web3.js": "^1.50.1", | ||
"@solana/web3.js": "^1.61.0", | ||
"shx": "^0.3.4" | ||
@@ -38,0 +38,0 @@ }, |
@@ -53,2 +53,3 @@ import type { EventEmitter, SendTransactionOptions, WalletName } from '@solana/wallet-adapter-base'; | ||
'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSI1MTIiIGN5PSI1MTIiIHI9IjUxMiIgZmlsbD0iIzAwNTJGRiIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE1MiA1MTJDMTUyIDcxMC44MjMgMzEzLjE3NyA4NzIgNTEyIDg3MkM3MTAuODIzIDg3MiA4NzIgNzEwLjgyMyA4NzIgNTEyQzg3MiAzMTMuMTc3IDcxMC44MjMgMTUyIDUxMiAxNTJDMzEzLjE3NyAxNTIgMTUyIDMxMy4xNzcgMTUyIDUxMlpNNDIwIDM5NkM0MDYuNzQ1IDM5NiAzOTYgNDA2Ljc0NSAzOTYgNDIwVjYwNEMzOTYgNjE3LjI1NSA0MDYuNzQ1IDYyOCA0MjAgNjI4SDYwNEM2MTcuMjU1IDYyOCA2MjggNjE3LjI1NSA2MjggNjA0VjQyMEM2MjggNDA2Ljc0NSA2MTcuMjU1IDM5NiA2MDQgMzk2SDQyMFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo='; | ||
readonly supportedTransactionVersions = null; | ||
@@ -180,3 +181,3 @@ private _connecting: boolean; | ||
async signTransaction(transaction: Transaction): Promise<Transaction> { | ||
async signTransaction<T extends Transaction>(transaction: T): Promise<T> { | ||
try { | ||
@@ -187,3 +188,3 @@ const wallet = this._wallet; | ||
try { | ||
return (await wallet.signTransaction(transaction)) || transaction; | ||
return ((await wallet.signTransaction(transaction)) as T) || transaction; | ||
} catch (error: any) { | ||
@@ -198,3 +199,3 @@ throw new WalletSignTransactionError(error?.message, error); | ||
async signAllTransactions(transactions: Transaction[]): Promise<Transaction[]> { | ||
async signAllTransactions<T extends Transaction>(transactions: T[]): Promise<T[]> { | ||
try { | ||
@@ -205,3 +206,3 @@ const wallet = this._wallet; | ||
try { | ||
return (await wallet.signAllTransactions(transactions)) || transactions; | ||
return ((await wallet.signAllTransactions(transactions)) as T[]) || transactions; | ||
} catch (error: any) { | ||
@@ -208,0 +209,0 @@ throw new WalletSignTransactionError(error?.message, error); |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53134
641