@vue-solana/vue 3.0.0 → 3.0.1
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/index.mjs +2 -11
- package/dist/swr.mjs +0 -3
- package/dist/useAccountInfo.mjs +0 -9
- package/dist/useAction.mjs +0 -2
- package/dist/useAirdrop.mjs +0 -7
- package/dist/useBalance.mjs +0 -8
- package/dist/useClientCapability.mjs +0 -4
- package/dist/useConnection.d.mts +6 -6
- package/dist/useConnection.d.ts +6 -6
- package/dist/useConnection.mjs +0 -4
- package/dist/useIdentity.mjs +0 -5
- package/dist/usePayer.mjs +0 -5
- package/dist/usePlanTransaction.mjs +0 -7
- package/dist/usePlanTransactions.mjs +0 -7
- package/dist/useProgramAccounts.mjs +0 -9
- package/dist/useRequest.mjs +0 -4
- package/dist/useRpc.d.mts +6 -6
- package/dist/useRpc.d.ts +6 -6
- package/dist/useRpc.mjs +0 -3
- package/dist/useSelectedWalletAccount.mjs +0 -2
- package/dist/useSendTransaction.mjs +0 -7
- package/dist/useSendTransactions.mjs +0 -7
- package/dist/useSignAndSendTransaction.mjs +0 -12
- package/dist/useSignAndSendTransactions.mjs +0 -8
- package/dist/useSignIn.mjs +0 -7
- package/dist/useSignMessage.mjs +0 -7
- package/dist/useSignTransactions.mjs +0 -7
- package/dist/useSignatureStatus.mjs +0 -7
- package/dist/useSolana.mjs +0 -2
- package/dist/useSolanaClient.d.mts +6 -6
- package/dist/useSolanaClient.d.ts +6 -6
- package/dist/useSolanaClient.mjs +0 -3
- package/dist/useSubscription.mjs +0 -2
- package/dist/useTokenAccounts.mjs +0 -9
- package/dist/useTokenBalance.mjs +0 -9
- package/dist/useTrackedData.mjs +0 -3
- package/dist/useTransaction.mjs +0 -4
- package/dist/useTransactionConfirmation.mjs +0 -8
- package/dist/useWallet.mjs +0 -5
- package/dist/useWallets.mjs +0 -3
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -30,6 +30,7 @@ export { u as useWallets } from './shared/vue.C_4qJDiF.mjs';
|
|
|
30
30
|
import { s as solanaInjectionKey } from './shared/vue.D_P5SqqD.mjs';
|
|
31
31
|
import { createSolanaError, normalizeSolanaError } from '@vue-solana/core/errors';
|
|
32
32
|
export { SolanaError, isSolanaError } from '@vue-solana/core/errors';
|
|
33
|
+
import { isSolanaMobileWalletSupported } from '@vue-solana/core/mobile-wallet-support';
|
|
33
34
|
import { createSolanaContext } from '@vue-solana/core/rpc';
|
|
34
35
|
import { withTimeout } from '@vue-solana/core/timeout';
|
|
35
36
|
import { getRegisteredSolanaWallets, getSolanaChain, adaptSolanaStandardWallet, subscribeSolanaWallets } from '@vue-solana/core/wallet-standard';
|
|
@@ -37,16 +38,6 @@ import { shallowRef, ref, triggerRef } from 'vue';
|
|
|
37
38
|
import { handleSolanaIosWalletCallback, getSolanaIosWallets, isSolanaIosWalletInfo, adaptSolanaIosWallet } from '@vue-solana/core/ios-wallet';
|
|
38
39
|
export * from '@vue-solana/core/types';
|
|
39
40
|
export * from '@vue-solana/core/kit';
|
|
40
|
-
import './shared/vue.BwBqla_n.mjs';
|
|
41
|
-
import '@vue-solana/core/address';
|
|
42
|
-
import './shared/vue.Bfu1dCKe.mjs';
|
|
43
|
-
import '@vue-solana/core/action';
|
|
44
|
-
import './shared/vue.CGv0ip3w.mjs';
|
|
45
|
-
import '@vue-solana/core/wallet';
|
|
46
|
-
import './shared/vue.DlihC5GG.mjs';
|
|
47
|
-
import '@vue-solana/core/transaction';
|
|
48
|
-
import 'bs58';
|
|
49
|
-
import '@vue-solana/core/token-accounts';
|
|
50
41
|
|
|
51
42
|
const SELECTED_WALLET_STORAGE_KEY = "vue-solana:selected-wallet";
|
|
52
43
|
function readSelectedWallet() {
|
|
@@ -287,7 +278,7 @@ function createSolanaPlugin(options = {}) {
|
|
|
287
278
|
wallet.value = walletRegistry.getAdaptedWallet(restoredWallet);
|
|
288
279
|
}
|
|
289
280
|
}
|
|
290
|
-
if (options.mobileWallet !== false) {
|
|
281
|
+
if (options.mobileWallet !== false && isSolanaMobileWalletSupported()) {
|
|
291
282
|
registerMobileWallets();
|
|
292
283
|
}
|
|
293
284
|
if (restoredWallet) {
|
package/dist/swr.mjs
CHANGED
|
@@ -2,9 +2,6 @@ import { watch, computed } from 'vue';
|
|
|
2
2
|
import { u as useRequest } from './shared/vue.B8VvC8d2.mjs';
|
|
3
3
|
import { u as useSubscription } from './shared/vue.D5pqR5Fa.mjs';
|
|
4
4
|
import { u as useTrackedData } from './shared/vue.BNJTXSnQ.mjs';
|
|
5
|
-
import '@vue-solana/core/action';
|
|
6
|
-
import '@vue-solana/core/kit';
|
|
7
|
-
import '@vue-solana/core/errors';
|
|
8
5
|
|
|
9
6
|
const PREFIX_REQUEST = "request:";
|
|
10
7
|
const PREFIX_SUBSCRIPTION = "subscription:";
|
package/dist/useAccountInfo.mjs
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
1
|
export { u as useAccountInfo } from './shared/vue.CvenSbZZ.mjs';
|
|
2
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
3
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
4
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
5
|
-
import 'vue';
|
|
6
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
7
|
-
import './shared/vue.BwBqla_n.mjs';
|
|
8
|
-
import '@vue-solana/core/address';
|
|
9
|
-
import '@vue-solana/core/errors';
|
|
10
|
-
import './shared/vue.Bfu1dCKe.mjs';
|
package/dist/useAction.mjs
CHANGED
package/dist/useAirdrop.mjs
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { u as useAirdrop } from './shared/vue.DDQxNX5q.mjs';
|
|
2
|
-
import './shared/vue.DYk0Xfr3.mjs';
|
|
3
|
-
import '@vue-solana/core/action';
|
|
4
|
-
import 'vue';
|
|
5
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
6
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
package/dist/useBalance.mjs
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
1
|
export { u as useBalance } from './shared/vue.BFSboXMB.mjs';
|
|
2
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
3
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
4
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
5
|
-
import 'vue';
|
|
6
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
7
|
-
import './shared/vue.BwBqla_n.mjs';
|
|
8
|
-
import '@vue-solana/core/address';
|
|
9
|
-
import '@vue-solana/core/errors';
|
package/dist/useConnection.d.mts
CHANGED
|
@@ -6,6 +6,12 @@ import * as _solana_kit from '@solana/kit';
|
|
|
6
6
|
* the legacy web3-compat Connection.
|
|
7
7
|
*/
|
|
8
8
|
declare function useConnection(): Omit<_solana_kit.Client<{
|
|
9
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
10
|
+
abortSignal?: AbortSignal;
|
|
11
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
12
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
13
|
+
abortSignal?: AbortSignal;
|
|
14
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
9
15
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
10
16
|
abortSignal?: AbortSignal;
|
|
11
17
|
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
@@ -14,12 +20,6 @@ declare function useConnection(): Omit<_solana_kit.Client<{
|
|
|
14
20
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
15
21
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
16
22
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
17
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
18
|
-
abortSignal?: AbortSignal;
|
|
19
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
20
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
21
|
-
abortSignal?: AbortSignal;
|
|
22
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
23
23
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
24
24
|
kind: "single";
|
|
25
25
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
package/dist/useConnection.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ import * as _solana_kit from '@solana/kit';
|
|
|
6
6
|
* the legacy web3-compat Connection.
|
|
7
7
|
*/
|
|
8
8
|
declare function useConnection(): Omit<_solana_kit.Client<{
|
|
9
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
10
|
+
abortSignal?: AbortSignal;
|
|
11
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
12
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
13
|
+
abortSignal?: AbortSignal;
|
|
14
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
9
15
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
10
16
|
abortSignal?: AbortSignal;
|
|
11
17
|
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
@@ -14,12 +20,6 @@ declare function useConnection(): Omit<_solana_kit.Client<{
|
|
|
14
20
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
15
21
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
16
22
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
17
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
18
|
-
abortSignal?: AbortSignal;
|
|
19
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
20
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
21
|
-
abortSignal?: AbortSignal;
|
|
22
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
23
23
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
24
24
|
kind: "single";
|
|
25
25
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
package/dist/useConnection.mjs
CHANGED
package/dist/useIdentity.mjs
CHANGED
package/dist/usePayer.mjs
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { u as usePlanTransaction, a as usePlanTransactions } from './shared/vue.CsFY1mfz.mjs';
|
|
2
|
-
import './shared/vue.CGv0ip3w.mjs';
|
|
3
|
-
import '@vue-solana/core/errors';
|
|
4
|
-
import 'vue';
|
|
5
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
6
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { a as usePlanTransactions } from './shared/vue.CsFY1mfz.mjs';
|
|
2
|
-
import './shared/vue.CGv0ip3w.mjs';
|
|
3
|
-
import '@vue-solana/core/errors';
|
|
4
|
-
import 'vue';
|
|
5
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
6
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,10 +1 @@
|
|
|
1
1
|
export { u as useProgramAccounts } from './shared/vue.1Qwco2kv.mjs';
|
|
2
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
3
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
4
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
5
|
-
import 'vue';
|
|
6
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
7
|
-
import './shared/vue.BwBqla_n.mjs';
|
|
8
|
-
import '@vue-solana/core/address';
|
|
9
|
-
import '@vue-solana/core/errors';
|
|
10
|
-
import './shared/vue.Bfu1dCKe.mjs';
|
package/dist/useRequest.mjs
CHANGED
package/dist/useRpc.d.mts
CHANGED
|
@@ -14,6 +14,12 @@ declare function useRpc(): {
|
|
|
14
14
|
latestBlockhash: vue.Ref<string | null, string | null>;
|
|
15
15
|
checkConnection: () => Promise<void>;
|
|
16
16
|
client: Omit<_solana_kit.Client<{
|
|
17
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
20
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
21
|
+
abortSignal?: AbortSignal;
|
|
22
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
17
23
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
18
24
|
abortSignal?: AbortSignal;
|
|
19
25
|
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
@@ -22,12 +28,6 @@ declare function useRpc(): {
|
|
|
22
28
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
23
29
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
24
30
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
25
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
26
|
-
abortSignal?: AbortSignal;
|
|
27
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
28
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
29
|
-
abortSignal?: AbortSignal;
|
|
30
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
31
31
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
32
32
|
kind: "single";
|
|
33
33
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
package/dist/useRpc.d.ts
CHANGED
|
@@ -14,6 +14,12 @@ declare function useRpc(): {
|
|
|
14
14
|
latestBlockhash: vue.Ref<string | null, string | null>;
|
|
15
15
|
checkConnection: () => Promise<void>;
|
|
16
16
|
client: Omit<_solana_kit.Client<{
|
|
17
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
20
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
21
|
+
abortSignal?: AbortSignal;
|
|
22
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
17
23
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
18
24
|
abortSignal?: AbortSignal;
|
|
19
25
|
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
@@ -22,12 +28,6 @@ declare function useRpc(): {
|
|
|
22
28
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
23
29
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
24
30
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
25
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
26
|
-
abortSignal?: AbortSignal;
|
|
27
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
28
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
29
|
-
abortSignal?: AbortSignal;
|
|
30
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
31
31
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
32
32
|
kind: "single";
|
|
33
33
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
package/dist/useRpc.mjs
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
1
|
export { S as SelectedWalletAccountProvider, c as createSelectedWalletAccountContext, p as provideSelectedWalletAccount, s as selectedWalletAccountInjectionKey, u as useSelectedWalletAccount } from './shared/vue.BngCaeXJ.mjs';
|
|
2
|
-
import 'vue';
|
|
3
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { u as useSendTransaction, a as useSendTransactions } from './shared/vue.BxtOHzY_.mjs';
|
|
2
|
-
import './shared/vue.CGv0ip3w.mjs';
|
|
3
|
-
import '@vue-solana/core/errors';
|
|
4
|
-
import 'vue';
|
|
5
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
6
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { a as useSendTransactions } from './shared/vue.BxtOHzY_.mjs';
|
|
2
|
-
import './shared/vue.CGv0ip3w.mjs';
|
|
3
|
-
import '@vue-solana/core/errors';
|
|
4
|
-
import 'vue';
|
|
5
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
6
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,13 +1 @@
|
|
|
1
1
|
export { u as useSignAndSendTransaction } from './shared/vue.CjSw0Hh1.mjs';
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import '@vue-solana/core/timeout';
|
|
4
|
-
import '@vue-solana/core/transaction';
|
|
5
|
-
import '@vue-solana/core/wallet';
|
|
6
|
-
import 'vue';
|
|
7
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
8
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
9
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
10
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
11
|
-
import './shared/vue.D218Ow7t.mjs';
|
|
12
|
-
import './shared/vue.CaAgH2Xt.mjs';
|
|
13
|
-
import './shared/vue.DlihC5GG.mjs';
|
|
@@ -1,9 +1 @@
|
|
|
1
1
|
export { P as PartialSignAndSendError, u as useSignAndSendTransactions } from './shared/vue.C1JbUTpJ.mjs';
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import '@vue-solana/core/timeout';
|
|
4
|
-
import '@vue-solana/core/wallet';
|
|
5
|
-
import 'vue';
|
|
6
|
-
import './shared/vue.DlihC5GG.mjs';
|
|
7
|
-
import './shared/vue.D218Ow7t.mjs';
|
|
8
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
9
|
-
import './shared/vue.D_P5SqqD.mjs';
|
package/dist/useSignIn.mjs
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { u as useSignIn } from './shared/vue.C9OOmvkD.mjs';
|
|
2
|
-
import '@vue-solana/core/wallet';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.DlihC5GG.mjs';
|
|
5
|
-
import '@vue-solana/core/errors';
|
|
6
|
-
import './shared/vue.D218Ow7t.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
package/dist/useSignMessage.mjs
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { u as useSignMessage } from './shared/vue.o98pAmDg.mjs';
|
|
2
|
-
import '@vue-solana/core/wallet';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.DlihC5GG.mjs';
|
|
5
|
-
import '@vue-solana/core/errors';
|
|
6
|
-
import './shared/vue.D218Ow7t.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { u as useSignTransactions } from './shared/vue.hG_FieA3.mjs';
|
|
2
|
-
import '@vue-solana/core/wallet';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.DlihC5GG.mjs';
|
|
5
|
-
import '@vue-solana/core/errors';
|
|
6
|
-
import './shared/vue.D218Ow7t.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { u as useSignatureStatus } from './shared/vue.CXB4NEMA.mjs';
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import 'bs58';
|
|
4
|
-
import 'vue';
|
|
5
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
6
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
package/dist/useSolana.mjs
CHANGED
|
@@ -3,6 +3,12 @@ import * as _solana_kit from '@solana/kit';
|
|
|
3
3
|
|
|
4
4
|
declare function useSolanaClient(): {
|
|
5
5
|
client: Omit<_solana_kit.Client<{
|
|
6
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
7
|
+
abortSignal?: AbortSignal;
|
|
8
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
9
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
10
|
+
abortSignal?: AbortSignal;
|
|
11
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
6
12
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
7
13
|
abortSignal?: AbortSignal;
|
|
8
14
|
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
@@ -11,12 +17,6 @@ declare function useSolanaClient(): {
|
|
|
11
17
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
12
18
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
13
19
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
14
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
15
|
-
abortSignal?: AbortSignal;
|
|
16
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
17
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
18
|
-
abortSignal?: AbortSignal;
|
|
19
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
20
20
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
21
21
|
kind: "single";
|
|
22
22
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
@@ -3,6 +3,12 @@ import * as _solana_kit from '@solana/kit';
|
|
|
3
3
|
|
|
4
4
|
declare function useSolanaClient(): {
|
|
5
5
|
client: Omit<_solana_kit.Client<{
|
|
6
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
7
|
+
abortSignal?: AbortSignal;
|
|
8
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
9
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
10
|
+
abortSignal?: AbortSignal;
|
|
11
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
6
12
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
7
13
|
abortSignal?: AbortSignal;
|
|
8
14
|
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
@@ -11,12 +17,6 @@ declare function useSolanaClient(): {
|
|
|
11
17
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
12
18
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
13
19
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
14
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
15
|
-
abortSignal?: AbortSignal;
|
|
16
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
17
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
18
|
-
abortSignal?: AbortSignal;
|
|
19
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
20
20
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
21
21
|
kind: "single";
|
|
22
22
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
package/dist/useSolanaClient.mjs
CHANGED
package/dist/useSubscription.mjs
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
1
|
export { u as useTokenAccounts } from './shared/vue.DNKD6jqM.mjs';
|
|
2
|
-
import '@vue-solana/core/token-accounts';
|
|
3
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
4
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
5
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
6
|
-
import 'vue';
|
|
7
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
8
|
-
import './shared/vue.BwBqla_n.mjs';
|
|
9
|
-
import '@vue-solana/core/address';
|
|
10
|
-
import '@vue-solana/core/errors';
|
package/dist/useTokenBalance.mjs
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
1
|
export { u as useTokenBalance } from './shared/vue.XlfH_nkc.mjs';
|
|
2
|
-
import '@vue-solana/core/token-accounts';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
5
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
6
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
7
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
8
|
-
import './shared/vue.BwBqla_n.mjs';
|
|
9
|
-
import '@vue-solana/core/address';
|
|
10
|
-
import '@vue-solana/core/errors';
|
package/dist/useTrackedData.mjs
CHANGED
package/dist/useTransaction.mjs
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
1
|
export { g as getConfirmedTransactionStatus, u as useTransactionConfirmation } from './shared/vue.CaAgH2Xt.mjs';
|
|
2
|
-
import '@vue-solana/core/transaction';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.DlihC5GG.mjs';
|
|
5
|
-
import '@vue-solana/core/errors';
|
|
6
|
-
import './shared/vue.CpkwC8Th.mjs';
|
|
7
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
8
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
9
|
-
import './shared/vue.D_P5SqqD.mjs';
|
package/dist/useWallet.mjs
CHANGED
package/dist/useWallets.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/vue",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Vue plugin and composables for Solana applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
},
|
|
179
179
|
"dependencies": {
|
|
180
180
|
"bs58": "^6.0.0",
|
|
181
|
-
"@vue-solana/core": "3.0.
|
|
181
|
+
"@vue-solana/core": "3.0.1"
|
|
182
182
|
},
|
|
183
183
|
"peerDependencies": {
|
|
184
184
|
"vue": "^3.5.0"
|