@vue-solana/core 2.4.0 → 2.6.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/action.cjs +0 -2
- package/dist/action.mjs +0 -2
- 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 +31 -20
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +5 -5
- 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 +25 -17
- 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 +16 -15
- 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.cjs +0 -1
- package/dist/rpc.d.cts +1 -1
- package/dist/rpc.d.mts +1 -1
- package/dist/rpc.d.ts +1 -1
- package/dist/rpc.mjs +0 -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 +2 -1
package/dist/action.cjs
CHANGED
package/dist/action.mjs
CHANGED
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,6 @@ 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.Cb48vQvC.cjs');
|
|
9
8
|
const kit$1 = require('./kit.cjs');
|
|
10
9
|
const mobileWallet = require('./mobile-wallet.cjs');
|
|
11
10
|
const rpc = require('./rpc.cjs');
|
|
@@ -13,16 +12,17 @@ const tokenAccounts = require('./token-accounts.cjs');
|
|
|
13
12
|
const transaction = require('./transaction.cjs');
|
|
14
13
|
const timeout = require('./timeout.cjs');
|
|
15
14
|
const wallet = require('./wallet.cjs');
|
|
16
|
-
const discovery = require('./shared/core.DjxUirkw.cjs');
|
|
17
|
-
const _ = require('buffer/');
|
|
18
15
|
const kit = require('@solana/kit');
|
|
16
|
+
const _ = require('buffer/');
|
|
17
|
+
const discovery = require('./shared/core.CasnoavM.cjs');
|
|
18
|
+
const adapter = require('./shared/core.eIBHqmLq.cjs');
|
|
19
19
|
require('@solana/kit-plugin-rpc');
|
|
20
|
-
require('tweetnacl');
|
|
21
|
-
require('bs58');
|
|
22
20
|
require('@solana-mobile/wallet-standard-mobile');
|
|
23
21
|
require('@wallet-standard/features');
|
|
24
22
|
require('@solana/wallet-standard-features');
|
|
23
|
+
require('bs58');
|
|
25
24
|
require('@wallet-standard/app');
|
|
25
|
+
require('tweetnacl');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -38,14 +38,6 @@ exports.SolanaError = errors.SolanaError;
|
|
|
38
38
|
exports.createSolanaError = errors.createSolanaError;
|
|
39
39
|
exports.isSolanaError = errors.isSolanaError;
|
|
40
40
|
exports.normalizeSolanaError = errors.normalizeSolanaError;
|
|
41
|
-
exports.adaptSolanaIosWallet = adapter.adaptSolanaIosWallet;
|
|
42
|
-
exports.getDefaultIosWalletAppIdentity = adapter.getDefaultIosWalletAppIdentity;
|
|
43
|
-
exports.getDefaultIosWalletRedirectUrl = adapter.getDefaultIosWalletRedirectUrl;
|
|
44
|
-
exports.getSolanaIosWallets = adapter.getSolanaIosWallets;
|
|
45
|
-
exports.handleSolanaIosWalletCallback = adapter.handleSolanaIosWalletCallback;
|
|
46
|
-
exports.isIosBrowser = adapter.isIosBrowser;
|
|
47
|
-
exports.isSolanaIosBrowserWalletSupported = adapter.isSolanaIosBrowserWalletSupported;
|
|
48
|
-
exports.isSolanaIosWalletInfo = adapter.isSolanaIosWalletInfo;
|
|
49
41
|
exports.createSolanaClient = kit$1.createSolanaClient;
|
|
50
42
|
exports.getDefaultMobileWalletAppIdentity = mobileWallet.getDefaultMobileWalletAppIdentity;
|
|
51
43
|
exports.isSolanaMobileWalletSupported = mobileWallet.isSolanaMobileWalletSupported;
|
|
@@ -67,6 +59,24 @@ exports.assertWalletCanSignTransactions = wallet.assertWalletCanSignTransactions
|
|
|
67
59
|
exports.assertWalletConnected = wallet.assertWalletConnected;
|
|
68
60
|
exports.createNoWalletSelectedError = wallet.createNoWalletSelectedError;
|
|
69
61
|
exports.isWalletConnected = wallet.isWalletConnected;
|
|
62
|
+
exports.AccountRole = kit.AccountRole;
|
|
63
|
+
exports.address = kit.address;
|
|
64
|
+
exports.appendTransactionMessageInstruction = kit.appendTransactionMessageInstruction;
|
|
65
|
+
exports.compileTransaction = kit.compileTransaction;
|
|
66
|
+
exports.createReactiveActionStore = kit.createReactiveActionStore;
|
|
67
|
+
exports.createReactiveStoreWithInitialValueAndSlotTracking = kit.createReactiveStoreWithInitialValueAndSlotTracking;
|
|
68
|
+
exports.createTransactionMessage = kit.createTransactionMessage;
|
|
69
|
+
exports.extendClient = kit.extendClient;
|
|
70
|
+
exports.generateKeyPairSigner = kit.generateKeyPairSigner;
|
|
71
|
+
exports.getAbortablePromise = kit.getAbortablePromise;
|
|
72
|
+
exports.getTransactionEncoder = kit.getTransactionEncoder;
|
|
73
|
+
exports.isAbortError = kit.isAbortError;
|
|
74
|
+
exports.isAddress = kit.isAddress;
|
|
75
|
+
exports.lamports = kit.lamports;
|
|
76
|
+
exports.setTransactionMessageFeePayer = kit.setTransactionMessageFeePayer;
|
|
77
|
+
exports.setTransactionMessageLifetimeUsingBlockhash = kit.setTransactionMessageLifetimeUsingBlockhash;
|
|
78
|
+
exports.summarizeTransactionPlanResult = kit.summarizeTransactionPlanResult;
|
|
79
|
+
exports.Buffer = _.Buffer;
|
|
70
80
|
exports.SOLANA_CHAINS = discovery.SOLANA_CHAINS;
|
|
71
81
|
exports.SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME = discovery.SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME;
|
|
72
82
|
exports.adaptSolanaStandardWallet = discovery.adaptSolanaStandardWallet;
|
|
@@ -74,10 +84,11 @@ exports.getRegisteredSolanaWallets = discovery.getRegisteredSolanaWallets;
|
|
|
74
84
|
exports.getSolanaChain = discovery.getSolanaChain;
|
|
75
85
|
exports.isSolanaStandardWallet = discovery.isSolanaStandardWallet;
|
|
76
86
|
exports.subscribeSolanaWallets = discovery.subscribeSolanaWallets;
|
|
77
|
-
exports.
|
|
78
|
-
exports.
|
|
79
|
-
exports.
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
87
|
+
exports.adaptSolanaIosWallet = adapter.adaptSolanaIosWallet;
|
|
88
|
+
exports.getDefaultIosWalletAppIdentity = adapter.getDefaultIosWalletAppIdentity;
|
|
89
|
+
exports.getDefaultIosWalletRedirectUrl = adapter.getDefaultIosWalletRedirectUrl;
|
|
90
|
+
exports.getSolanaIosWallets = adapter.getSolanaIosWallets;
|
|
91
|
+
exports.handleSolanaIosWalletCallback = adapter.handleSolanaIosWalletCallback;
|
|
92
|
+
exports.isIosBrowser = adapter.isIosBrowser;
|
|
93
|
+
exports.isSolanaIosBrowserWalletSupported = adapter.isSolanaIosBrowserWalletSupported;
|
|
94
|
+
exports.isSolanaIosWalletInfo = adapter.isSolanaIosWalletInfo;
|
package/dist/index.d.cts
CHANGED
|
@@ -4,16 +4,16 @@ export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWe
|
|
|
4
4
|
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
|
-
export {
|
|
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.C0cYheiB.cjs';
|
|
7
|
+
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
8
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.cjs';
|
|
10
9
|
export { createSolanaContext } from './rpc.cjs';
|
|
11
10
|
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.cjs';
|
|
12
11
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.cjs';
|
|
13
12
|
export { withSolanaTimeout, withTimeout } from './timeout.cjs';
|
|
14
13
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.cjs';
|
|
14
|
+
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';
|
|
15
|
+
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.cjs';
|
|
15
16
|
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';
|
|
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
|
@@ -4,16 +4,16 @@ export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWe
|
|
|
4
4
|
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
|
-
export {
|
|
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.C0cYheiB.mjs';
|
|
7
|
+
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
8
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.mjs';
|
|
10
9
|
export { createSolanaContext } from './rpc.mjs';
|
|
11
10
|
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.mjs';
|
|
12
11
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.mjs';
|
|
13
12
|
export { withSolanaTimeout, withTimeout } from './timeout.mjs';
|
|
14
13
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.mjs';
|
|
14
|
+
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';
|
|
15
|
+
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.mjs';
|
|
15
16
|
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';
|
|
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
|
@@ -4,16 +4,16 @@ export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWe
|
|
|
4
4
|
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
|
-
export {
|
|
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.C0cYheiB.js';
|
|
7
|
+
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
8
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.js';
|
|
10
9
|
export { createSolanaContext } from './rpc.js';
|
|
11
10
|
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.js';
|
|
12
11
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.js';
|
|
13
12
|
export { withSolanaTimeout, withTimeout } from './timeout.js';
|
|
14
13
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.js';
|
|
14
|
+
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';
|
|
15
|
+
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.js';
|
|
15
16
|
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';
|
|
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,6 @@ 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.BwW4HVQI.mjs';
|
|
7
6
|
export { createSolanaClient } from './kit.mjs';
|
|
8
7
|
export { getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.mjs';
|
|
9
8
|
export { createSolanaContext } from './rpc.mjs';
|
|
@@ -11,13 +10,14 @@ export { getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './tok
|
|
|
11
10
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.mjs';
|
|
12
11
|
export { withSolanaTimeout, withTimeout } from './timeout.mjs';
|
|
13
12
|
export { SolanaWalletError, assertWalletCanSign, assertWalletCanSignAndSendTransactions, assertWalletCanSignIn, assertWalletCanSignMessage, assertWalletCanSignTransactions, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.mjs';
|
|
14
|
-
export {
|
|
13
|
+
export { AccountRole, address, appendTransactionMessageInstruction, compileTransaction, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, createTransactionMessage, extendClient, generateKeyPairSigner, getAbortablePromise, getTransactionEncoder, isAbortError, isAddress, lamports, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, summarizeTransactionPlanResult } from '@solana/kit';
|
|
15
14
|
export { Buffer } from 'buffer/';
|
|
16
|
-
export {
|
|
15
|
+
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';
|
|
16
|
+
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';
|
|
17
17
|
import '@solana/kit-plugin-rpc';
|
|
18
|
-
import 'tweetnacl';
|
|
19
|
-
import 'bs58';
|
|
20
18
|
import '@solana-mobile/wallet-standard-mobile';
|
|
21
19
|
import '@wallet-standard/features';
|
|
22
20
|
import '@solana/wallet-standard-features';
|
|
21
|
+
import 'bs58';
|
|
23
22
|
import '@wallet-standard/app';
|
|
23
|
+
import 'tweetnacl';
|
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
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
const kit = require('@solana/kit');
|
|
4
4
|
const kitPluginRpc = require('@solana/kit-plugin-rpc');
|
|
5
|
-
const naclModule = require('tweetnacl');
|
|
6
5
|
const clusters = require('./clusters.cjs');
|
|
7
6
|
|
|
8
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
9
|
-
|
|
10
|
-
const naclModule__default = /*#__PURE__*/_interopDefaultCompat(naclModule);
|
|
11
|
-
|
|
12
7
|
function buildSolanaClient(endpoint, wsEndpoint, payer) {
|
|
13
8
|
const client = kit.createClient().use(
|
|
14
9
|
(current) => kit.extendClient(current, payer ? { payer } : {})
|
|
@@ -43,30 +38,43 @@ function resolvePayerFromSecretKey(payerSecretKey) {
|
|
|
43
38
|
if (keyPairBytes.length !== 64) {
|
|
44
39
|
throw invalidError();
|
|
45
40
|
}
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
41
|
+
const address2 = kit.getBase58Decoder().decode(keyPairBytes.slice(32));
|
|
42
|
+
let privateKey;
|
|
43
|
+
const getPrivateKey = () => privateKey ??= kit.createKeyPairFromBytes(keyPairBytes).then(
|
|
44
|
+
(keyPair) => keyPair.privateKey,
|
|
45
|
+
() => {
|
|
46
|
+
throw invalidError();
|
|
47
|
+
}
|
|
48
|
+
);
|
|
52
49
|
return {
|
|
53
50
|
address: address2,
|
|
54
51
|
async signTransactions(transactions, config) {
|
|
55
52
|
config?.abortSignal?.throwIfAborted();
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
)
|
|
61
|
-
|
|
53
|
+
const key = await getPrivateKey();
|
|
54
|
+
return Promise.all(
|
|
55
|
+
transactions.map(async (transaction) => ({
|
|
56
|
+
[address2]: await kit.signBytes(key, transaction.messageBytes)
|
|
57
|
+
}))
|
|
58
|
+
);
|
|
62
59
|
}
|
|
63
60
|
};
|
|
64
61
|
}
|
|
65
62
|
|
|
63
|
+
exports.AccountRole = kit.AccountRole;
|
|
66
64
|
exports.address = kit.address;
|
|
65
|
+
exports.appendTransactionMessageInstruction = kit.appendTransactionMessageInstruction;
|
|
66
|
+
exports.compileTransaction = kit.compileTransaction;
|
|
67
67
|
exports.createReactiveActionStore = kit.createReactiveActionStore;
|
|
68
68
|
exports.createReactiveStoreWithInitialValueAndSlotTracking = kit.createReactiveStoreWithInitialValueAndSlotTracking;
|
|
69
|
+
exports.createTransactionMessage = kit.createTransactionMessage;
|
|
70
|
+
exports.extendClient = kit.extendClient;
|
|
71
|
+
exports.generateKeyPairSigner = kit.generateKeyPairSigner;
|
|
69
72
|
exports.getAbortablePromise = kit.getAbortablePromise;
|
|
73
|
+
exports.getTransactionEncoder = kit.getTransactionEncoder;
|
|
70
74
|
exports.isAbortError = kit.isAbortError;
|
|
75
|
+
exports.isAddress = kit.isAddress;
|
|
71
76
|
exports.lamports = kit.lamports;
|
|
77
|
+
exports.setTransactionMessageFeePayer = kit.setTransactionMessageFeePayer;
|
|
78
|
+
exports.setTransactionMessageLifetimeUsingBlockhash = kit.setTransactionMessageLifetimeUsingBlockhash;
|
|
79
|
+
exports.summarizeTransactionPlanResult = kit.summarizeTransactionPlanResult;
|
|
72
80
|
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,7 +1,6 @@
|
|
|
1
|
-
import { getBase64Encoder, getBase58Decoder, createClient, extendClient } from '@solana/kit';
|
|
2
|
-
export { address, createReactiveActionStore, createReactiveStoreWithInitialValueAndSlotTracking, getAbortablePromise, isAbortError, lamports } from '@solana/kit';
|
|
1
|
+
import { getBase64Encoder, getBase58Decoder, signBytes, createClient, extendClient, createKeyPairFromBytes } 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
|
-
import naclModule__default from 'tweetnacl';
|
|
5
4
|
import { DEFAULT_CLUSTER, getClusterEndpoint, getWebSocketEndpoint, getClusterWebSocketEndpoint } from './clusters.mjs';
|
|
6
5
|
|
|
7
6
|
function buildSolanaClient(endpoint, wsEndpoint, payer) {
|
|
@@ -38,22 +37,24 @@ function resolvePayerFromSecretKey(payerSecretKey) {
|
|
|
38
37
|
if (keyPairBytes.length !== 64) {
|
|
39
38
|
throw invalidError();
|
|
40
39
|
}
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
const address2 = getBase58Decoder().decode(keyPairBytes.slice(32));
|
|
41
|
+
let privateKey;
|
|
42
|
+
const getPrivateKey = () => privateKey ??= createKeyPairFromBytes(keyPairBytes).then(
|
|
43
|
+
(keyPair) => keyPair.privateKey,
|
|
44
|
+
() => {
|
|
45
|
+
throw invalidError();
|
|
46
|
+
}
|
|
47
|
+
);
|
|
47
48
|
return {
|
|
48
49
|
address: address2,
|
|
49
50
|
async signTransactions(transactions, config) {
|
|
50
51
|
config?.abortSignal?.throwIfAborted();
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
)
|
|
56
|
-
|
|
52
|
+
const key = await getPrivateKey();
|
|
53
|
+
return Promise.all(
|
|
54
|
+
transactions.map(async (transaction) => ({
|
|
55
|
+
[address2]: await signBytes(key, transaction.messageBytes)
|
|
56
|
+
}))
|
|
57
|
+
);
|
|
57
58
|
}
|
|
58
59
|
};
|
|
59
60
|
}
|
package/dist/mobile-wallet.d.cts
CHANGED
package/dist/mobile-wallet.d.mts
CHANGED
package/dist/mobile-wallet.d.ts
CHANGED
package/dist/rpc.cjs
CHANGED
|
@@ -4,7 +4,6 @@ const clusters = require('./clusters.cjs');
|
|
|
4
4
|
const kit = require('./kit.cjs');
|
|
5
5
|
require('@solana/kit');
|
|
6
6
|
require('@solana/kit-plugin-rpc');
|
|
7
|
-
require('tweetnacl');
|
|
8
7
|
|
|
9
8
|
function createSolanaContext(config = {}) {
|
|
10
9
|
const cluster = config.cluster ?? clusters.DEFAULT_CLUSTER;
|
package/dist/rpc.d.cts
CHANGED
package/dist/rpc.d.mts
CHANGED
package/dist/rpc.d.ts
CHANGED
package/dist/rpc.mjs
CHANGED
|
@@ -2,7 +2,6 @@ import { DEFAULT_CLUSTER, getClusterEndpoint, getWebSocketEndpoint, getClusterWe
|
|
|
2
2
|
import { createSolanaClient } from './kit.mjs';
|
|
3
3
|
import '@solana/kit';
|
|
4
4
|
import '@solana/kit-plugin-rpc';
|
|
5
|
-
import 'tweetnacl';
|
|
6
5
|
|
|
7
6
|
function createSolanaContext(config = {}) {
|
|
8
7
|
const cluster = config.cluster ?? DEFAULT_CLUSTER;
|
|
@@ -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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Framework-agnostic primitives for Vue Solana libraries.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"directory": "packages/core"
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
|
+
"sideEffects": false,
|
|
24
25
|
"main": "./dist/index.cjs",
|
|
25
26
|
"module": "./dist/index.mjs",
|
|
26
27
|
"types": "./dist/index.d.ts",
|