@vue-solana/core 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clusters.d.cts +1 -1
- package/dist/clusters.d.mts +1 -1
- package/dist/clusters.d.ts +1 -1
- package/dist/index.cjs +15 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/ios-wallet.cjs +1 -1
- package/dist/ios-wallet.d.cts +1 -1
- package/dist/ios-wallet.d.mts +1 -1
- package/dist/ios-wallet.d.ts +1 -1
- package/dist/ios-wallet.mjs +1 -1
- package/dist/kit.cjs +11 -0
- package/dist/kit.d.cts +2 -2
- package/dist/kit.d.mts +2 -2
- package/dist/kit.d.ts +2 -2
- package/dist/kit.mjs +1 -1
- package/dist/mobile-wallet.d.cts +1 -1
- package/dist/mobile-wallet.d.mts +1 -1
- package/dist/mobile-wallet.d.ts +1 -1
- package/dist/rpc.d.cts +1 -1
- package/dist/rpc.d.mts +1 -1
- package/dist/rpc.d.ts +1 -1
- package/dist/shared/{core.C0cYheiB.d.cts → core.C9vxHRXl.d.cts} +7 -2
- package/dist/shared/{core.C0cYheiB.d.mts → core.C9vxHRXl.d.mts} +7 -2
- package/dist/shared/{core.C0cYheiB.d.ts → core.C9vxHRXl.d.ts} +7 -2
- package/dist/shared/{core.BwW4HVQI.mjs → core.CDVW-ApZ.mjs} +3 -3
- package/dist/shared/{core.DjxUirkw.cjs → core.CasnoavM.cjs} +5 -5
- package/dist/shared/{core.DEcQDbtz.mjs → core.TqudP0hB.mjs} +5 -5
- package/dist/shared/{core.Cb48vQvC.cjs → core.eIBHqmLq.cjs} +3 -3
- package/dist/token-accounts.d.cts +1 -1
- package/dist/token-accounts.d.mts +1 -1
- package/dist/token-accounts.d.ts +1 -1
- package/dist/transaction.d.cts +1 -1
- package/dist/transaction.d.mts +1 -1
- package/dist/transaction.d.ts +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/wallet-standard.cjs +1 -1
- package/dist/wallet-standard.d.cts +1 -1
- package/dist/wallet-standard.d.mts +1 -1
- package/dist/wallet-standard.d.ts +1 -1
- package/dist/wallet-standard.mjs +1 -1
- package/dist/wallet.d.cts +1 -1
- package/dist/wallet.d.mts +1 -1
- package/dist/wallet.d.ts +1 -1
- package/package.json +1 -1
package/dist/clusters.d.cts
CHANGED
package/dist/clusters.d.mts
CHANGED
package/dist/clusters.d.ts
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const clusters = require('./clusters.cjs');
|
|
|
5
5
|
const address = require('./address.cjs');
|
|
6
6
|
const bufferPolyfill = require('./buffer-polyfill.cjs');
|
|
7
7
|
const errors = require('./errors.cjs');
|
|
8
|
-
const adapter = require('./shared/core.
|
|
8
|
+
const adapter = require('./shared/core.eIBHqmLq.cjs');
|
|
9
9
|
const kit$1 = require('./kit.cjs');
|
|
10
10
|
const mobileWallet = require('./mobile-wallet.cjs');
|
|
11
11
|
const rpc = require('./rpc.cjs');
|
|
@@ -13,9 +13,9 @@ const tokenAccounts = require('./token-accounts.cjs');
|
|
|
13
13
|
const transaction = require('./transaction.cjs');
|
|
14
14
|
const timeout = require('./timeout.cjs');
|
|
15
15
|
const wallet = require('./wallet.cjs');
|
|
16
|
-
const discovery = require('./shared/core.
|
|
17
|
-
const _ = require('buffer/');
|
|
16
|
+
const discovery = require('./shared/core.CasnoavM.cjs');
|
|
18
17
|
const kit = require('@solana/kit');
|
|
18
|
+
const _ = require('buffer/');
|
|
19
19
|
require('@solana/kit-plugin-rpc');
|
|
20
20
|
require('tweetnacl');
|
|
21
21
|
require('bs58');
|
|
@@ -74,10 +74,21 @@ exports.getRegisteredSolanaWallets = discovery.getRegisteredSolanaWallets;
|
|
|
74
74
|
exports.getSolanaChain = discovery.getSolanaChain;
|
|
75
75
|
exports.isSolanaStandardWallet = discovery.isSolanaStandardWallet;
|
|
76
76
|
exports.subscribeSolanaWallets = discovery.subscribeSolanaWallets;
|
|
77
|
-
exports.
|
|
77
|
+
exports.AccountRole = kit.AccountRole;
|
|
78
78
|
exports.address = kit.address;
|
|
79
|
+
exports.appendTransactionMessageInstruction = kit.appendTransactionMessageInstruction;
|
|
80
|
+
exports.compileTransaction = kit.compileTransaction;
|
|
79
81
|
exports.createReactiveActionStore = kit.createReactiveActionStore;
|
|
80
82
|
exports.createReactiveStoreWithInitialValueAndSlotTracking = kit.createReactiveStoreWithInitialValueAndSlotTracking;
|
|
83
|
+
exports.createTransactionMessage = kit.createTransactionMessage;
|
|
84
|
+
exports.extendClient = kit.extendClient;
|
|
85
|
+
exports.generateKeyPairSigner = kit.generateKeyPairSigner;
|
|
81
86
|
exports.getAbortablePromise = kit.getAbortablePromise;
|
|
87
|
+
exports.getTransactionEncoder = kit.getTransactionEncoder;
|
|
82
88
|
exports.isAbortError = kit.isAbortError;
|
|
89
|
+
exports.isAddress = kit.isAddress;
|
|
83
90
|
exports.lamports = kit.lamports;
|
|
91
|
+
exports.setTransactionMessageFeePayer = kit.setTransactionMessageFeePayer;
|
|
92
|
+
exports.setTransactionMessageLifetimeUsingBlockhash = kit.setTransactionMessageLifetimeUsingBlockhash;
|
|
93
|
+
exports.summarizeTransactionPlanResult = kit.summarizeTransactionPlanResult;
|
|
94
|
+
exports.Buffer = _.Buffer;
|
package/dist/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ export { AddressInput, MaybeAddressInput, parseAddress } from './address.cjs';
|
|
|
5
5
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.cjs';
|
|
6
6
|
export { SolanaError, SolanaErrorCode, SolanaErrorOptions, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.cjs';
|
|
7
7
|
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.cjs';
|
|
8
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus, n as createSolanaClient } from './shared/core.
|
|
8
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus, n as createSolanaClient } from './shared/core.C9vxHRXl.cjs';
|
|
9
9
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.cjs';
|
|
10
10
|
export { createSolanaContext } from './rpc.cjs';
|
|
11
11
|
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.cjs';
|
|
@@ -13,7 +13,7 @@ export { confirmTransactionSignature, signAndSendTransaction } from './transacti
|
|
|
13
13
|
export { withSolanaTimeout, withTimeout } from './timeout.cjs';
|
|
14
14
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.cjs';
|
|
15
15
|
export { AdaptSolanaWalletOptions, SOLANA_CHAINS, SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, adaptSolanaStandardWallet, getRegisteredSolanaWallets, getSolanaChain, isSolanaStandardWallet, subscribeSolanaWallets } from './wallet-standard.cjs';
|
|
16
|
-
export { Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
16
|
+
export { AccountRole, Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, Instruction, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
17
17
|
export { Buffer } from 'buffer/';
|
|
18
18
|
import '@solana/kit-plugin-rpc';
|
|
19
19
|
import '@wallet-standard/base';
|
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ export { AddressInput, MaybeAddressInput, parseAddress } from './address.mjs';
|
|
|
5
5
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.mjs';
|
|
6
6
|
export { SolanaError, SolanaErrorCode, SolanaErrorOptions, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.mjs';
|
|
7
7
|
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.mjs';
|
|
8
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus, n as createSolanaClient } from './shared/core.
|
|
8
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus, n as createSolanaClient } from './shared/core.C9vxHRXl.mjs';
|
|
9
9
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.mjs';
|
|
10
10
|
export { createSolanaContext } from './rpc.mjs';
|
|
11
11
|
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.mjs';
|
|
@@ -13,7 +13,7 @@ export { confirmTransactionSignature, signAndSendTransaction } from './transacti
|
|
|
13
13
|
export { withSolanaTimeout, withTimeout } from './timeout.mjs';
|
|
14
14
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.mjs';
|
|
15
15
|
export { AdaptSolanaWalletOptions, SOLANA_CHAINS, SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, adaptSolanaStandardWallet, getRegisteredSolanaWallets, getSolanaChain, isSolanaStandardWallet, subscribeSolanaWallets } from './wallet-standard.mjs';
|
|
16
|
-
export { Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
16
|
+
export { AccountRole, Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, Instruction, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
17
17
|
export { Buffer } from 'buffer/';
|
|
18
18
|
import '@solana/kit-plugin-rpc';
|
|
19
19
|
import '@wallet-standard/base';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { AddressInput, MaybeAddressInput, parseAddress } from './address.js';
|
|
|
5
5
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.js';
|
|
6
6
|
export { SolanaError, SolanaErrorCode, SolanaErrorOptions, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.js';
|
|
7
7
|
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.js';
|
|
8
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus, n as createSolanaClient } from './shared/core.
|
|
8
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus, n as createSolanaClient } from './shared/core.C9vxHRXl.js';
|
|
9
9
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.js';
|
|
10
10
|
export { createSolanaContext } from './rpc.js';
|
|
11
11
|
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.js';
|
|
@@ -13,7 +13,7 @@ export { confirmTransactionSignature, signAndSendTransaction } from './transacti
|
|
|
13
13
|
export { withSolanaTimeout, withTimeout } from './timeout.js';
|
|
14
14
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.js';
|
|
15
15
|
export { AdaptSolanaWalletOptions, SOLANA_CHAINS, SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, adaptSolanaStandardWallet, getRegisteredSolanaWallets, getSolanaChain, isSolanaStandardWallet, subscribeSolanaWallets } from './wallet-standard.js';
|
|
16
|
-
export { Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
16
|
+
export { AccountRole, Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, Instruction, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
17
17
|
export { Buffer } from 'buffer/';
|
|
18
18
|
import '@solana/kit-plugin-rpc';
|
|
19
19
|
import '@wallet-standard/base';
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWe
|
|
|
3
3
|
export { parseAddress } from './address.mjs';
|
|
4
4
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.mjs';
|
|
5
5
|
export { SolanaError, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.mjs';
|
|
6
|
-
export { a as adaptSolanaIosWallet, g as getDefaultIosWalletAppIdentity, b as getDefaultIosWalletRedirectUrl, c as getSolanaIosWallets, h as handleSolanaIosWalletCallback, i as isIosBrowser, d as isSolanaIosBrowserWalletSupported, e as isSolanaIosWalletInfo } from './shared/core.
|
|
6
|
+
export { a as adaptSolanaIosWallet, g as getDefaultIosWalletAppIdentity, b as getDefaultIosWalletRedirectUrl, c as getSolanaIosWallets, h as handleSolanaIosWalletCallback, i as isIosBrowser, d as isSolanaIosBrowserWalletSupported, e as isSolanaIosWalletInfo } from './shared/core.CDVW-ApZ.mjs';
|
|
7
7
|
export { createSolanaClient } from './kit.mjs';
|
|
8
8
|
export { getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.mjs';
|
|
9
9
|
export { createSolanaContext } from './rpc.mjs';
|
|
@@ -11,9 +11,9 @@ export { getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './tok
|
|
|
11
11
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.mjs';
|
|
12
12
|
export { withSolanaTimeout, withTimeout } from './timeout.mjs';
|
|
13
13
|
export { SolanaWalletError, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.mjs';
|
|
14
|
-
export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.
|
|
14
|
+
export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.TqudP0hB.mjs';
|
|
15
|
+
export { AccountRole, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
15
16
|
export { Buffer } from 'buffer/';
|
|
16
|
-
export { address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
17
17
|
import '@solana/kit-plugin-rpc';
|
|
18
18
|
import 'tweetnacl';
|
|
19
19
|
import 'bs58';
|
package/dist/ios-wallet.cjs
CHANGED
package/dist/ios-wallet.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SolanaChain, c as SolanaCluster, l as SolanaWalletInfo, k as SolanaWallet } from './shared/core.
|
|
1
|
+
import { a as SolanaChain, c as SolanaCluster, l as SolanaWalletInfo, k as SolanaWallet } from './shared/core.C9vxHRXl.cjs';
|
|
2
2
|
import '@solana/kit-plugin-rpc';
|
|
3
3
|
import '@solana/kit';
|
|
4
4
|
|
package/dist/ios-wallet.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SolanaChain, c as SolanaCluster, l as SolanaWalletInfo, k as SolanaWallet } from './shared/core.
|
|
1
|
+
import { a as SolanaChain, c as SolanaCluster, l as SolanaWalletInfo, k as SolanaWallet } from './shared/core.C9vxHRXl.mjs';
|
|
2
2
|
import '@solana/kit-plugin-rpc';
|
|
3
3
|
import '@solana/kit';
|
|
4
4
|
|
package/dist/ios-wallet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SolanaChain, c as SolanaCluster, l as SolanaWalletInfo, k as SolanaWallet } from './shared/core.
|
|
1
|
+
import { a as SolanaChain, c as SolanaCluster, l as SolanaWalletInfo, k as SolanaWallet } from './shared/core.C9vxHRXl.js';
|
|
2
2
|
import '@solana/kit-plugin-rpc';
|
|
3
3
|
import '@solana/kit';
|
|
4
4
|
|
package/dist/ios-wallet.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as adaptSolanaIosWallet, g as getDefaultIosWalletAppIdentity, b as getDefaultIosWalletRedirectUrl, c as getSolanaIosWallets, h as handleSolanaIosWalletCallback, i as isIosBrowser, d as isSolanaIosBrowserWalletSupported, e as isSolanaIosWalletInfo } from './shared/core.
|
|
1
|
+
export { a as adaptSolanaIosWallet, g as getDefaultIosWalletAppIdentity, b as getDefaultIosWalletRedirectUrl, c as getSolanaIosWallets, h as handleSolanaIosWalletCallback, i as isIosBrowser, d as isSolanaIosBrowserWalletSupported, e as isSolanaIosWalletInfo } from './shared/core.CDVW-ApZ.mjs';
|
|
2
2
|
import '@solana/kit';
|
|
3
3
|
import 'bs58';
|
|
4
4
|
import 'tweetnacl';
|
package/dist/kit.cjs
CHANGED
|
@@ -63,10 +63,21 @@ function resolvePayerFromSecretKey(payerSecretKey) {
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
exports.AccountRole = kit.AccountRole;
|
|
66
67
|
exports.address = kit.address;
|
|
68
|
+
exports.appendTransactionMessageInstruction = kit.appendTransactionMessageInstruction;
|
|
69
|
+
exports.compileTransaction = kit.compileTransaction;
|
|
67
70
|
exports.createReactiveActionStore = kit.createReactiveActionStore;
|
|
68
71
|
exports.createReactiveStoreWithInitialValueAndSlotTracking = kit.createReactiveStoreWithInitialValueAndSlotTracking;
|
|
72
|
+
exports.createTransactionMessage = kit.createTransactionMessage;
|
|
73
|
+
exports.extendClient = kit.extendClient;
|
|
74
|
+
exports.generateKeyPairSigner = kit.generateKeyPairSigner;
|
|
69
75
|
exports.getAbortablePromise = kit.getAbortablePromise;
|
|
76
|
+
exports.getTransactionEncoder = kit.getTransactionEncoder;
|
|
70
77
|
exports.isAbortError = kit.isAbortError;
|
|
78
|
+
exports.isAddress = kit.isAddress;
|
|
71
79
|
exports.lamports = kit.lamports;
|
|
80
|
+
exports.setTransactionMessageFeePayer = kit.setTransactionMessageFeePayer;
|
|
81
|
+
exports.setTransactionMessageLifetimeUsingBlockhash = kit.setTransactionMessageLifetimeUsingBlockhash;
|
|
82
|
+
exports.summarizeTransactionPlanResult = kit.summarizeTransactionPlanResult;
|
|
72
83
|
exports.createSolanaClient = createSolanaClient;
|
package/dist/kit.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@solana/kit-plugin-rpc';
|
|
2
|
-
export { Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
3
|
-
export { b as SolanaClient, n as createSolanaClient } from './shared/core.
|
|
2
|
+
export { AccountRole, Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, Instruction, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
3
|
+
export { b as SolanaClient, n as createSolanaClient } from './shared/core.C9vxHRXl.cjs';
|
package/dist/kit.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@solana/kit-plugin-rpc';
|
|
2
|
-
export { Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
3
|
-
export { b as SolanaClient, n as createSolanaClient } from './shared/core.
|
|
2
|
+
export { AccountRole, Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, Instruction, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
3
|
+
export { b as SolanaClient, n as createSolanaClient } from './shared/core.C9vxHRXl.mjs';
|
package/dist/kit.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@solana/kit-plugin-rpc';
|
|
2
|
-
export { Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
3
|
-
export { b as SolanaClient, n as createSolanaClient } from './shared/core.
|
|
2
|
+
export { AccountRole, Address, ClientWithIdentity, ClientWithPayer, ClientWithSubscribeToIdentity, ClientWithSubscribeToPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, Commitment, CreateReactiveStoreWithInitialValueAndSlotTrackingConfig, Instruction, InstructionPlanInput, Lamports, ReactiveActionSource, ReactiveActionState, ReactiveActionStatus, ReactiveActionStore, ReactiveState, ReactiveStreamSource, ReactiveStreamStore, Rpc, Signature, SingleTransactionPlan, SolanaRpcApi, SolanaRpcResponse, SuccessfulSingleTransactionPlanResult, TransactionMessage, TransactionPlan, TransactionPlanInput, TransactionPlanResult, TransactionSigner, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
3
|
+
export { b as SolanaClient, n as createSolanaClient } from './shared/core.C9vxHRXl.js';
|
package/dist/kit.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getBase64Encoder, getBase58Decoder, createClient, extendClient } from '@solana/kit';
|
|
2
|
-
export { address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
2
|
+
export { AccountRole, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
3
3
|
import { solanaRpc, rpcAirdrop } from '@solana/kit-plugin-rpc';
|
|
4
4
|
import naclModule__default from 'tweetnacl';
|
|
5
5
|
import { DEFAULT_CLUSTER, getClusterEndpoint, getWebSocketEndpoint, getClusterWebSocketEndpoint } from './clusters.mjs';
|
package/dist/mobile-wallet.d.cts
CHANGED
package/dist/mobile-wallet.d.mts
CHANGED
package/dist/mobile-wallet.d.ts
CHANGED
package/dist/rpc.d.cts
CHANGED
package/dist/rpc.d.mts
CHANGED
package/dist/rpc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _solana_kit_plugin_rpc from '@solana/kit-plugin-rpc';
|
|
2
2
|
import * as _solana_kit from '@solana/kit';
|
|
3
|
-
import { Commitment, Slot, TransactionSigner, Address, Signature } from '@solana/kit';
|
|
3
|
+
import { Commitment, Slot, TransactionSigner, Address, ReadonlyUint8Array, Signature } from '@solana/kit';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Solana cluster names. `mainnet` is Solana's official mainnet cluster name.
|
|
@@ -36,7 +36,12 @@ interface SolanaContext {
|
|
|
36
36
|
wsEndpoint: string;
|
|
37
37
|
client: SolanaClient;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Raw serialized wire bytes. Widened to Kit's `ReadonlyUint8Array` because
|
|
41
|
+
* that is what `getTransactionEncoder().encode()` returns — typing it as
|
|
42
|
+
* `Uint8Array` rejected the output of the encoder the docs tell you to use.
|
|
43
|
+
*/
|
|
44
|
+
type SolanaTransaction = ReadonlyUint8Array;
|
|
40
45
|
interface SolanaSignMessageResult {
|
|
41
46
|
signedMessage: Uint8Array;
|
|
42
47
|
signature: Uint8Array;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _solana_kit_plugin_rpc from '@solana/kit-plugin-rpc';
|
|
2
2
|
import * as _solana_kit from '@solana/kit';
|
|
3
|
-
import { Commitment, Slot, TransactionSigner, Address, Signature } from '@solana/kit';
|
|
3
|
+
import { Commitment, Slot, TransactionSigner, Address, ReadonlyUint8Array, Signature } from '@solana/kit';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Solana cluster names. `mainnet` is Solana's official mainnet cluster name.
|
|
@@ -36,7 +36,12 @@ interface SolanaContext {
|
|
|
36
36
|
wsEndpoint: string;
|
|
37
37
|
client: SolanaClient;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Raw serialized wire bytes. Widened to Kit's `ReadonlyUint8Array` because
|
|
41
|
+
* that is what `getTransactionEncoder().encode()` returns — typing it as
|
|
42
|
+
* `Uint8Array` rejected the output of the encoder the docs tell you to use.
|
|
43
|
+
*/
|
|
44
|
+
type SolanaTransaction = ReadonlyUint8Array;
|
|
40
45
|
interface SolanaSignMessageResult {
|
|
41
46
|
signedMessage: Uint8Array;
|
|
42
47
|
signature: Uint8Array;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _solana_kit_plugin_rpc from '@solana/kit-plugin-rpc';
|
|
2
2
|
import * as _solana_kit from '@solana/kit';
|
|
3
|
-
import { Commitment, Slot, TransactionSigner, Address, Signature } from '@solana/kit';
|
|
3
|
+
import { Commitment, Slot, TransactionSigner, Address, ReadonlyUint8Array, Signature } from '@solana/kit';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Solana cluster names. `mainnet` is Solana's official mainnet cluster name.
|
|
@@ -36,7 +36,12 @@ interface SolanaContext {
|
|
|
36
36
|
wsEndpoint: string;
|
|
37
37
|
client: SolanaClient;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Raw serialized wire bytes. Widened to Kit's `ReadonlyUint8Array` because
|
|
41
|
+
* that is what `getTransactionEncoder().encode()` returns — typing it as
|
|
42
|
+
* `Uint8Array` rejected the output of the encoder the docs tell you to use.
|
|
43
|
+
*/
|
|
44
|
+
type SolanaTransaction = ReadonlyUint8Array;
|
|
40
45
|
interface SolanaSignMessageResult {
|
|
41
46
|
signedMessage: Uint8Array;
|
|
42
47
|
signature: Uint8Array;
|
|
@@ -395,7 +395,7 @@ function launchConnect(definition, options) {
|
|
|
395
395
|
}
|
|
396
396
|
async function launchSignTransaction(definition, transaction, options) {
|
|
397
397
|
const response = await launchEncryptedWalletRequest(definition, "signTransaction", options, {
|
|
398
|
-
transaction: bs58.encode(transaction)
|
|
398
|
+
transaction: bs58.encode(new Uint8Array(transaction))
|
|
399
399
|
});
|
|
400
400
|
if (!response.transaction) {
|
|
401
401
|
throw new Error("iOS wallet did not return a signed transaction");
|
|
@@ -404,7 +404,7 @@ async function launchSignTransaction(definition, transaction, options) {
|
|
|
404
404
|
}
|
|
405
405
|
async function launchSignAllTransactions(definition, transactions, options) {
|
|
406
406
|
const response = await launchEncryptedWalletRequest(definition, "signAllTransactions", options, {
|
|
407
|
-
transactions: transactions.map((transaction) => bs58.encode(transaction))
|
|
407
|
+
transactions: transactions.map((transaction) => bs58.encode(new Uint8Array(transaction)))
|
|
408
408
|
});
|
|
409
409
|
if (!response.transactions) {
|
|
410
410
|
throw new Error("iOS wallet did not return signed transactions");
|
|
@@ -417,7 +417,7 @@ async function launchSignAndSendTransaction(definition, transaction, sendOptions
|
|
|
417
417
|
"signAndSendTransaction",
|
|
418
418
|
options,
|
|
419
419
|
{
|
|
420
|
-
transaction: bs58.encode(transaction),
|
|
420
|
+
transaction: bs58.encode(new Uint8Array(transaction)),
|
|
421
421
|
sendOptions
|
|
422
422
|
}
|
|
423
423
|
);
|
|
@@ -131,7 +131,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
131
131
|
const activeAccount = getActiveAccount(account);
|
|
132
132
|
const [result] = await wallet.features[walletStandardFeatures.SolanaSignTransaction].signTransaction({
|
|
133
133
|
account: activeAccount,
|
|
134
|
-
transaction,
|
|
134
|
+
transaction: new Uint8Array(transaction),
|
|
135
135
|
chain: options.chain
|
|
136
136
|
});
|
|
137
137
|
if (!result) {
|
|
@@ -144,7 +144,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
144
144
|
const results = await wallet.features[walletStandardFeatures.SolanaSignTransaction].signTransaction(
|
|
145
145
|
...transactions.map((transaction) => ({
|
|
146
146
|
account: activeAccount,
|
|
147
|
-
transaction,
|
|
147
|
+
transaction: new Uint8Array(transaction),
|
|
148
148
|
chain: options.chain
|
|
149
149
|
}))
|
|
150
150
|
);
|
|
@@ -170,7 +170,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
170
170
|
const activeAccount = getActiveAccount(account);
|
|
171
171
|
const [result] = await wallet.features[walletStandardFeatures.SolanaSignAndSendTransaction].signAndSendTransaction({
|
|
172
172
|
account: activeAccount,
|
|
173
|
-
transaction,
|
|
173
|
+
transaction: new Uint8Array(transaction),
|
|
174
174
|
chain: options.chain ?? getSolanaAccountChain(activeAccount),
|
|
175
175
|
options: sendOptions
|
|
176
176
|
});
|
|
@@ -184,7 +184,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
184
184
|
const results = await wallet.features[walletStandardFeatures.SolanaSignAndSendTransaction].signAndSendTransaction(
|
|
185
185
|
...transactions.map((transaction) => ({
|
|
186
186
|
account: activeAccount,
|
|
187
|
-
transaction,
|
|
187
|
+
transaction: new Uint8Array(transaction),
|
|
188
188
|
chain: options.chain ?? getSolanaAccountChain(activeAccount),
|
|
189
189
|
options: sendOptions
|
|
190
190
|
}))
|
|
@@ -208,7 +208,7 @@ async function signAllThroughFeature(wallet, getAccount, transactions, chain) {
|
|
|
208
208
|
const results = await wallet.features[walletStandardFeatures.SolanaSignTransaction].signTransaction(
|
|
209
209
|
...transactions.map((transaction) => ({
|
|
210
210
|
account: activeAccount,
|
|
211
|
-
transaction,
|
|
211
|
+
transaction: new Uint8Array(transaction),
|
|
212
212
|
chain
|
|
213
213
|
}))
|
|
214
214
|
);
|
|
@@ -125,7 +125,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
125
125
|
const activeAccount = getActiveAccount(account);
|
|
126
126
|
const [result] = await wallet.features[SolanaSignTransaction].signTransaction({
|
|
127
127
|
account: activeAccount,
|
|
128
|
-
transaction,
|
|
128
|
+
transaction: new Uint8Array(transaction),
|
|
129
129
|
chain: options.chain
|
|
130
130
|
});
|
|
131
131
|
if (!result) {
|
|
@@ -138,7 +138,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
138
138
|
const results = await wallet.features[SolanaSignTransaction].signTransaction(
|
|
139
139
|
...transactions.map((transaction) => ({
|
|
140
140
|
account: activeAccount,
|
|
141
|
-
transaction,
|
|
141
|
+
transaction: new Uint8Array(transaction),
|
|
142
142
|
chain: options.chain
|
|
143
143
|
}))
|
|
144
144
|
);
|
|
@@ -164,7 +164,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
164
164
|
const activeAccount = getActiveAccount(account);
|
|
165
165
|
const [result] = await wallet.features[SolanaSignAndSendTransaction].signAndSendTransaction({
|
|
166
166
|
account: activeAccount,
|
|
167
|
-
transaction,
|
|
167
|
+
transaction: new Uint8Array(transaction),
|
|
168
168
|
chain: options.chain ?? getSolanaAccountChain(activeAccount),
|
|
169
169
|
options: sendOptions
|
|
170
170
|
});
|
|
@@ -178,7 +178,7 @@ function adaptSolanaStandardWallet(walletInfo, options = {}) {
|
|
|
178
178
|
const results = await wallet.features[SolanaSignAndSendTransaction].signAndSendTransaction(
|
|
179
179
|
...transactions.map((transaction) => ({
|
|
180
180
|
account: activeAccount,
|
|
181
|
-
transaction,
|
|
181
|
+
transaction: new Uint8Array(transaction),
|
|
182
182
|
chain: options.chain ?? getSolanaAccountChain(activeAccount),
|
|
183
183
|
options: sendOptions
|
|
184
184
|
}))
|
|
@@ -202,7 +202,7 @@ async function signAllThroughFeature(wallet, getAccount, transactions, chain) {
|
|
|
202
202
|
const results = await wallet.features[SolanaSignTransaction].signTransaction(
|
|
203
203
|
...transactions.map((transaction) => ({
|
|
204
204
|
account: activeAccount,
|
|
205
|
-
transaction,
|
|
205
|
+
transaction: new Uint8Array(transaction),
|
|
206
206
|
chain
|
|
207
207
|
}))
|
|
208
208
|
);
|
|
@@ -414,7 +414,7 @@ function launchConnect(definition, options) {
|
|
|
414
414
|
}
|
|
415
415
|
async function launchSignTransaction(definition, transaction, options) {
|
|
416
416
|
const response = await launchEncryptedWalletRequest(definition, "signTransaction", options, {
|
|
417
|
-
transaction: bs58__default.encode(transaction)
|
|
417
|
+
transaction: bs58__default.encode(new Uint8Array(transaction))
|
|
418
418
|
});
|
|
419
419
|
if (!response.transaction) {
|
|
420
420
|
throw new Error("iOS wallet did not return a signed transaction");
|
|
@@ -423,7 +423,7 @@ async function launchSignTransaction(definition, transaction, options) {
|
|
|
423
423
|
}
|
|
424
424
|
async function launchSignAllTransactions(definition, transactions, options) {
|
|
425
425
|
const response = await launchEncryptedWalletRequest(definition, "signAllTransactions", options, {
|
|
426
|
-
transactions: transactions.map((transaction) => bs58__default.encode(transaction))
|
|
426
|
+
transactions: transactions.map((transaction) => bs58__default.encode(new Uint8Array(transaction)))
|
|
427
427
|
});
|
|
428
428
|
if (!response.transactions) {
|
|
429
429
|
throw new Error("iOS wallet did not return signed transactions");
|
|
@@ -436,7 +436,7 @@ async function launchSignAndSendTransaction(definition, transaction, sendOptions
|
|
|
436
436
|
"signAndSendTransaction",
|
|
437
437
|
options,
|
|
438
438
|
{
|
|
439
|
-
transaction: bs58__default.encode(transaction),
|
|
439
|
+
transaction: bs58__default.encode(new Uint8Array(transaction)),
|
|
440
440
|
sendOptions
|
|
441
441
|
}
|
|
442
442
|
);
|
package/dist/token-accounts.d.ts
CHANGED
package/dist/transaction.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Signature } from '@solana/kit';
|
|
2
|
-
import { b as SolanaClient, C as ConfirmTransactionOptions, T as TransactionConfirmation, k as SolanaWallet, j as SolanaTransaction, S as SendTransactionOptions } from './shared/core.
|
|
2
|
+
import { b as SolanaClient, C as ConfirmTransactionOptions, T as TransactionConfirmation, k as SolanaWallet, j as SolanaTransaction, S as SendTransactionOptions } from './shared/core.C9vxHRXl.cjs';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/transaction.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Signature } from '@solana/kit';
|
|
2
|
-
import { b as SolanaClient, C as ConfirmTransactionOptions, T as TransactionConfirmation, k as SolanaWallet, j as SolanaTransaction, S as SendTransactionOptions } from './shared/core.
|
|
2
|
+
import { b as SolanaClient, C as ConfirmTransactionOptions, T as TransactionConfirmation, k as SolanaWallet, j as SolanaTransaction, S as SendTransactionOptions } from './shared/core.C9vxHRXl.mjs';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/transaction.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Signature } from '@solana/kit';
|
|
2
|
-
import { b as SolanaClient, C as ConfirmTransactionOptions, T as TransactionConfirmation, k as SolanaWallet, j as SolanaTransaction, S as SendTransactionOptions } from './shared/core.
|
|
2
|
+
import { b as SolanaClient, C as ConfirmTransactionOptions, T as TransactionConfirmation, k as SolanaWallet, j as SolanaTransaction, S as SendTransactionOptions } from './shared/core.C9vxHRXl.js';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/types.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@solana/kit';
|
|
2
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus } from './shared/core.
|
|
2
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus } from './shared/core.C9vxHRXl.cjs';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@solana/kit';
|
|
2
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus } from './shared/core.
|
|
2
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus } from './shared/core.C9vxHRXl.mjs';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@solana/kit';
|
|
2
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus } from './shared/core.
|
|
2
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignInAccount, g as SolanaSignInInput, h as SolanaSignInResult, i as SolanaSignMessageResult, j as SolanaTransaction, k as SolanaWallet, l as SolanaWalletInfo, T as TransactionConfirmation, m as TransactionStatus } from './shared/core.C9vxHRXl.js';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
package/dist/wallet-standard.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WalletAccount, Wallet } from '@wallet-standard/base';
|
|
2
|
-
import { a as SolanaChain, l as SolanaWalletInfo, k as SolanaWallet, c as SolanaCluster } from './shared/core.
|
|
2
|
+
import { a as SolanaChain, l as SolanaWalletInfo, k as SolanaWallet, c as SolanaCluster } from './shared/core.C9vxHRXl.cjs';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
|
4
4
|
import '@solana/kit';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WalletAccount, Wallet } from '@wallet-standard/base';
|
|
2
|
-
import { a as SolanaChain, l as SolanaWalletInfo, k as SolanaWallet, c as SolanaCluster } from './shared/core.
|
|
2
|
+
import { a as SolanaChain, l as SolanaWalletInfo, k as SolanaWallet, c as SolanaCluster } from './shared/core.C9vxHRXl.mjs';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
|
4
4
|
import '@solana/kit';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WalletAccount, Wallet } from '@wallet-standard/base';
|
|
2
|
-
import { a as SolanaChain, l as SolanaWalletInfo, k as SolanaWallet, c as SolanaCluster } from './shared/core.
|
|
2
|
+
import { a as SolanaChain, l as SolanaWalletInfo, k as SolanaWallet, c as SolanaCluster } from './shared/core.C9vxHRXl.js';
|
|
3
3
|
import '@solana/kit-plugin-rpc';
|
|
4
4
|
import '@solana/kit';
|
|
5
5
|
|
package/dist/wallet-standard.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.
|
|
1
|
+
export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.TqudP0hB.mjs';
|
|
2
2
|
import '@wallet-standard/features';
|
|
3
3
|
import '@solana/wallet-standard-features';
|
|
4
4
|
import 'bs58';
|
package/dist/wallet.d.cts
CHANGED
package/dist/wallet.d.mts
CHANGED
package/dist/wallet.d.ts
CHANGED