From aed4d7a89208374864a906f7a5db692d8903c2be Mon Sep 17 00:00:00 2001 From: Jordan Sexton Date: Tue, 13 Sep 2022 18:57:06 -0500 Subject: [PATCH] fixes --- packages/wallets/alpha/src/adapter.ts | 26 +++++-------------- packages/wallets/trust/src/adapter.ts | 7 ++--- packages/wallets/walletconnect/src/adapter.ts | 7 ++--- packages/wallets/xdefi/src/adapter.ts | 7 ++--- 4 files changed, 18 insertions(+), 29 deletions(-) diff --git a/packages/wallets/alpha/src/adapter.ts b/packages/wallets/alpha/src/adapter.ts index b8e5af75b..f1eae61ff 100644 --- a/packages/wallets/alpha/src/adapter.ts +++ b/packages/wallets/alpha/src/adapter.ts @@ -1,7 +1,6 @@ import type { EventEmitter, SendTransactionOptions, WalletName } from '@solana/wallet-adapter-base'; import { BaseMessageSignerWalletAdapter, - isVersionedTransaction, scopePollingDetectionStrategy, WalletAccountError, WalletConnectionError, @@ -16,7 +15,7 @@ import { WalletSignMessageError, WalletSignTransactionError, } from '@solana/wallet-adapter-base'; -import type { Connection, SendOptions, Transaction, TransactionSignature, VersionedTransaction } from '@solana/web3.js'; +import type { Connection, SendOptions, Transaction, TransactionSignature } from '@solana/web3.js'; import { PublicKey } from '@solana/web3.js'; interface AlphaWalletEvents { @@ -158,7 +157,7 @@ export class AlphaWalletAdapter extends BaseMessageSignerWalletAdapter { } async sendTransaction( - transaction: VersionedTransaction | Transaction, + transaction: Transaction, connection: Connection, options: SendTransactionOptions = {} ): Promise { @@ -166,9 +165,6 @@ export class AlphaWalletAdapter extends BaseMessageSignerWalletAdapter { const wallet = this._wallet; if (!wallet) throw new WalletNotConnectedError(); - if (isVersionedTransaction(transaction)) - throw new WalletSendTransactionError(`Sending versioned transactions isn't supported by this wallet`); - try { const { signers, ...sendOptions } = options; @@ -190,16 +186,13 @@ export class AlphaWalletAdapter extends BaseMessageSignerWalletAdapter { } } - async signTransaction(transaction: T): Promise { + async signTransaction(transaction: Transaction): Promise { try { const wallet = this._wallet; if (!wallet) throw new WalletNotConnectedError(); - if (isVersionedTransaction(transaction)) - throw new WalletSendTransactionError(`Signing versioned transactions isn't supported by this wallet`); - try { - return ((await wallet.signTransaction(transaction)) || transaction) as T; + return (await wallet.signTransaction(transaction)) || transaction; } catch (error: any) { throw new WalletSignTransactionError(error?.message, error); } @@ -209,20 +202,13 @@ export class AlphaWalletAdapter extends BaseMessageSignerWalletAdapter { } } - async signAllTransactions(transactions: T[]): Promise { + async signAllTransactions(transactions: Transaction[]): Promise { try { const wallet = this._wallet; if (!wallet) throw new WalletNotConnectedError(); - for (const transaction of transactions) { - if (isVersionedTransaction(transaction)) - throw new WalletSendTransactionError( - `Signing versioned transactions isn't supported by this wallet` - ); - } - try { - return ((await wallet.signAllTransactions(transactions as Transaction[])) as T[]) || transactions; + return (await wallet.signAllTransactions(transactions)) || transactions; } catch (error: any) { throw new WalletSignTransactionError(error?.message, error); } diff --git a/packages/wallets/trust/src/adapter.ts b/packages/wallets/trust/src/adapter.ts index 1194c6c58..0261a20a1 100644 --- a/packages/wallets/trust/src/adapter.ts +++ b/packages/wallets/trust/src/adapter.ts @@ -51,10 +51,11 @@ export interface TrustWalletAdapterConfig {} export const TrustWalletName = 'Trust' as WalletName<'Trust'>; export class TrustWalletAdapter extends BaseMessageSignerWalletAdapter { - name = TrustWalletName; - url = 'https://trustwallet.com'; - icon = + readonly name = TrustWalletName; + readonly url = 'https://trustwallet.com'; + readonly icon = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAyIiBoZWlnaHQ9IjQwMiIgdmlld0JveD0iMCAwIDQwMiA0MDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgo8cmVjdCB3aWR0aD0iNDAyIiBoZWlnaHQ9IjQwMiIgZmlsbD0idXJsKCNwYXR0ZXJuMCkiLz4KPGRlZnM+CjxwYXR0ZXJuI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1R0xVZmxrS052aS9BNzBxaXFyZFgwOEZCUVAweithZ3ppZUFld3pxc3E5amdxamNsU1EzbFlPRzA1TitMVFRsaFFPWStsMnhOMnNjMjFsd3JFZXdWbnVBeFpjNnhwaHZMeTRIRDB4RjRNWm9iWGdTMDRBSzVlT1J6dSt5MzNhcXdHNjNzNENjUUhaaS9UQ3BTSlhnc2NmbzdVaUJCaEVoSFVRd25FRWN4YkZObURmQWJqdHlIQ2piREFZQTRIc3drNTFXanVaOXJaUjFyZlZzSFB1VS9GTkYzMUdLNTkzMHNkdUZrY0FvcGw3aVhmQnlMOFNzRE9FUS82OGZhT0VNWXRRUUJnV3BzWGNqOW43WU1MUWhJbERHdVZHT2UydUdIS2xHWkE0UjBTT1pRYXpnYjNBNnhVTWpVRW5oRzQ0R2Z0cjNlTTl2eG9HSXhMME1rbUQ3Y1dERUJQSkMvU2pjSFpGUFlSUFdqTzNBd09BZTM0QUxIMys0YWJ6dTRjdjU5NEx1QnpxQU5KYkRITVVJZ2x4L25HUHNzT2ZwTUxhdzRPNythM0V1eU45QUFHQjZVQkRoU1IybXgzL3dBdUJoSzRHK29MdDFpK3NCR0c1M1VrNEh5L2toeExnYjZTY1JaYWtCRFV0K2ZsL3dDTzN3VGtLZ3VzcmJySjduaXcvd0NVR1lFdHp0L2hvc2NkMjJveGJOeGpRQWdJTmNna0pKVXpFT0RjcURhOFZXOWh6dDcxRmhFN3FtNHJ6dFc0QnUvMVFZQ1BhS1VBN3dwdmZOWG1xODFYbXE4MVhtcTgxWG1xODFYbXE4MVhtcTgxWG1xODFYbXE4MVhtcTgxWG1xODFYbXE4MVhtcTgxVjQrYWdHUjFYb0FJQURXZi9aIi8+CjwvZGVmcz4KPC9zdmc+Cg=='; + readonly supportedTransactionVersions = null; private _connecting: boolean; private _wallet: TrustWallet | null; diff --git a/packages/wallets/walletconnect/src/adapter.ts b/packages/wallets/walletconnect/src/adapter.ts index c9d51f6d9..fd814f4e6 100644 --- a/packages/wallets/walletconnect/src/adapter.ts +++ b/packages/wallets/walletconnect/src/adapter.ts @@ -27,10 +27,11 @@ export type WalletConnectWalletAdapterConfig = { } & Pick; export class WalletConnectWalletAdapter extends BaseSignerWalletAdapter { - name = WalletConnectWalletName; - url = 'https://walletconnect.org'; - icon = + readonly name = WalletConnectWalletName; + readonly url = 'https://walletconnect.org'; + readonly icon = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4NSIgdmlld0JveD0iMCAwIDMwMCAxODUiIHdpZHRoPSIzMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTYxLjQzODU0MjkgMzYuMjU2MjYxMmM0OC45MTEyMjQxLTQ3Ljg4ODE2NjMgMTI4LjIxMTk4NzEtNDcuODg4MTY2MyAxNzcuMTIzMjA5MSAwbDUuODg2NTQ1IDUuNzYzNDE3NGMyLjQ0NTU2MSAyLjM5NDQwODEgMi40NDU1NjEgNi4yNzY1MTEyIDAgOC42NzA5MjA0bC0yMC4xMzY2OTUgMTkuNzE1NTAzYy0xLjIyMjc4MSAxLjE5NzIwNTEtMy4yMDUzIDEuMTk3MjA1MS00LjQyODA4MSAwbC04LjEwMDU4NC03LjkzMTE0NzljLTM0LjEyMTY5Mi0zMy40MDc5ODE3LTg5LjQ0Mzg4Ni0zMy40MDc5ODE3LTEyMy41NjU1Nzg4IDBsLTguNjc1MDU2MiA4LjQ5MzYwNTFjLTEuMjIyNzgxNiAxLjE5NzIwNDEtMy4yMDUzMDEgMS4xOTcyMDQxLTQuNDI4MDgwNiAwbC0yMC4xMzY2OTQ5LTE5LjcxNTUwMzFjLTIuNDQ1NTYxMi0yLjM5NDQwOTItMi40NDU1NjEyLTYuMjc2NTEyMiAwLTguNjcwOTIwNHptMjE4Ljc2Nzc5NjEgNDAuNzczNzQ0OSAxNy45MjE2OTcgMTcuNTQ2ODk3YzIuNDQ1NTQ5IDIuMzk0Mzk2OSAyLjQ0NTU2MyA2LjI3NjQ3Njk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jYxMTM5LjU5ODYwMSAxLjYwMjY1LjU5ODYwMSAyLjIxNDA0IDBsNTcuMzUzOTc1LTU2LjE1NDMyNDljMi40NDU1NjEtMi4zOTQ0MDkyIDYuNDEwNTk5LTIuMzk0NDA5MiA4Ljg1NjE2IDB6IiBmaWxsPSIjM2I5OWZjIi8+PC9zdmc+'; + readonly supportedTransactionVersions = null; private _publicKey: PublicKey | null; private _connecting: boolean; diff --git a/packages/wallets/xdefi/src/adapter.ts b/packages/wallets/xdefi/src/adapter.ts index a67814c97..32a03c55e 100644 --- a/packages/wallets/xdefi/src/adapter.ts +++ b/packages/wallets/xdefi/src/adapter.ts @@ -49,10 +49,11 @@ export interface XDEFIWalletAdapterConfig {} export const XDEFIWalletName = 'XDEFI' as WalletName<'XDEFI'>; export class XDEFIWalletAdapter extends BaseMessageSignerWalletAdapter { - name = XDEFIWalletName; - url = 'https://xdefi.io'; - icon = + readonly name = XDEFIWalletName; + readonly url = 'https://xdefi.io'; + readonly icon = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjI2MjggMTMuNDAxM0MxMi40MjI4IDE0LjUzMDcgOS45NTk5NyAxNS4xMTI0IDcuNDY1NjkgMTQuOTg4MUM1LjM2ODU1IDE0Ljg4NjUgMy42NDg1NSAxNC4xNDExIDIuNjA4NTUgMTIuOTE1N0MxLjY5NDI2IDExLjgyMDEgMS4zMzk5OCAxMC4zNzQ1IDEuNTc5OTggOC43MTE0M0MxLjY2MTMyIDguMTU4NzQgMS44MjgwMiA3LjYyMTY2IDIuMDc0MjYgNy4xMTg5NkwyLjEwODU1IDcuMDQ4MzdDMi45NzE4IDUuNDA1OTUgNC4yNTI5MyA0LjAxMzk3IDUuODI1ODQgMy4wMDk0MkM3LjM5ODc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