@vue-solana/vue 2.6.1 → 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/README.md +6 -4
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +35 -55
- package/dist/shared/vue.1Qwco2kv.mjs +33 -0
- package/dist/shared/vue.BFSboXMB.mjs +17 -0
- package/dist/shared/vue.BGGixph-.d.mts +5 -0
- package/dist/shared/vue.BGGixph-.d.ts +5 -0
- package/dist/shared/{vue.CbJFnho-.mjs → vue.BNJTXSnQ.mjs} +17 -70
- package/dist/shared/{vue.BINkrA8h.mjs → vue.BwBqla_n.mjs} +16 -26
- package/dist/shared/vue.BxtOHzY_.mjs +27 -0
- package/dist/shared/vue.C1JbUTpJ.mjs +66 -0
- package/dist/shared/vue.C9OOmvkD.mjs +36 -0
- package/dist/shared/vue.CGv0ip3w.mjs +52 -0
- package/dist/shared/vue.CaAgH2Xt.mjs +51 -0
- package/dist/shared/{vue.Dyi1OCI1.mjs → vue.CjSw0Hh1.mjs} +3 -9
- package/dist/shared/vue.CsFY1mfz.mjs +29 -0
- package/dist/shared/vue.CvenSbZZ.mjs +27 -0
- package/dist/shared/{vue.BDNOyiGZ.mjs → vue.D5pqR5Fa.mjs} +9 -12
- package/dist/shared/vue.DNKD6jqM.mjs +22 -0
- package/dist/shared/vue.DlihC5GG.mjs +38 -0
- package/dist/shared/vue.XlfH_nkc.mjs +32 -0
- package/dist/shared/vue.hG_FieA3.mjs +37 -0
- package/dist/shared/vue.o98pAmDg.mjs +40 -0
- package/dist/swr.mjs +22 -79
- package/dist/useAccountInfo.d.mts +4 -4
- package/dist/useAccountInfo.d.ts +4 -4
- package/dist/useAccountInfo.mjs +1 -9
- package/dist/useAction.mjs +0 -2
- package/dist/useAirdrop.mjs +0 -7
- package/dist/useBalance.d.mts +4 -4
- package/dist/useBalance.d.ts +4 -4
- package/dist/useBalance.mjs +1 -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.d.mts +12 -13
- package/dist/usePlanTransaction.d.ts +12 -13
- package/dist/usePlanTransaction.mjs +1 -7
- package/dist/usePlanTransactions.d.mts +2 -1
- package/dist/usePlanTransactions.d.ts +2 -1
- package/dist/usePlanTransactions.mjs +1 -7
- package/dist/useProgramAccounts.d.mts +5 -15
- package/dist/useProgramAccounts.d.ts +5 -15
- package/dist/useProgramAccounts.mjs +1 -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.d.mts +11 -12
- package/dist/useSendTransaction.d.ts +11 -12
- package/dist/useSendTransaction.mjs +1 -7
- package/dist/useSendTransactions.d.mts +2 -1
- package/dist/useSendTransactions.d.ts +2 -1
- package/dist/useSendTransactions.mjs +1 -7
- package/dist/useSignAndSendTransaction.d.mts +1 -1
- package/dist/useSignAndSendTransaction.d.ts +1 -1
- package/dist/useSignAndSendTransaction.mjs +1 -12
- package/dist/useSignAndSendTransactions.d.mts +2 -2
- package/dist/useSignAndSendTransactions.d.ts +2 -2
- package/dist/useSignAndSendTransactions.mjs +1 -8
- package/dist/useSignIn.d.mts +4 -4
- package/dist/useSignIn.d.ts +4 -4
- package/dist/useSignIn.mjs +1 -7
- package/dist/useSignMessage.d.mts +4 -4
- package/dist/useSignMessage.d.ts +4 -4
- package/dist/useSignMessage.mjs +1 -7
- package/dist/useSignTransactions.d.mts +4 -4
- package/dist/useSignTransactions.d.ts +4 -4
- package/dist/useSignTransactions.mjs +1 -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 +1 -3
- package/dist/useTokenAccounts.d.mts +4 -4
- package/dist/useTokenAccounts.d.ts +4 -4
- package/dist/useTokenAccounts.mjs +1 -9
- package/dist/useTokenBalance.d.mts +9 -7
- package/dist/useTokenBalance.d.ts +9 -7
- package/dist/useTokenBalance.mjs +1 -9
- package/dist/useTrackedData.mjs +1 -4
- package/dist/useTransaction.mjs +0 -4
- package/dist/useTransactionConfirmation.d.mts +4 -4
- package/dist/useTransactionConfirmation.d.ts +4 -4
- package/dist/useTransactionConfirmation.mjs +1 -8
- package/dist/useWallet.mjs +0 -5
- package/dist/useWallets.mjs +0 -3
- package/package.json +38 -75
- package/dist/buffer-polyfill.cjs +0 -8
- package/dist/buffer-polyfill.d.cts +0 -2
- package/dist/index.cjs +0 -452
- package/dist/index.d.cts +0 -62
- package/dist/kit.cjs +0 -16
- package/dist/kit.d.cts +0 -1
- package/dist/shared/vue.4C5kX4fE.cjs +0 -36
- package/dist/shared/vue.9TPxZPMf.cjs +0 -59
- package/dist/shared/vue.B4eMoJT2.cjs +0 -36
- package/dist/shared/vue.B6ainw2G.cjs +0 -63
- package/dist/shared/vue.BD6Gm1nl.mjs +0 -74
- package/dist/shared/vue.BGxz4dru.cjs +0 -98
- package/dist/shared/vue.BIxphCAq.cjs +0 -10
- package/dist/shared/vue.BOpgWr43.mjs +0 -70
- package/dist/shared/vue.BQRpjwKl.mjs +0 -80
- package/dist/shared/vue.BVaMoz9y.cjs +0 -9
- package/dist/shared/vue.Bk5xjlUx.cjs +0 -61
- package/dist/shared/vue.Bwd1sGAM.cjs +0 -72
- package/dist/shared/vue.ByxbBC3y.mjs +0 -57
- package/dist/shared/vue.C13umiQi.mjs +0 -85
- package/dist/shared/vue.CIs8QhCw.cjs +0 -132
- package/dist/shared/vue.CMohL_Cz.mjs +0 -58
- package/dist/shared/vue.CWZSMVnB.cjs +0 -84
- package/dist/shared/vue.Co5rj-I6.mjs +0 -118
- package/dist/shared/vue.CoaIWGPT.cjs +0 -38
- package/dist/shared/vue.CrkK_T15.cjs +0 -86
- package/dist/shared/vue.D-qi8PSL.cjs +0 -82
- package/dist/shared/vue.D3Y0PWbF.mjs +0 -71
- package/dist/shared/vue.D5U1yLG3.mjs +0 -83
- package/dist/shared/vue.DAg5wC1G.cjs +0 -76
- package/dist/shared/vue.DAthhH4D.mjs +0 -118
- package/dist/shared/vue.DDbVk0Zh.cjs +0 -180
- package/dist/shared/vue.DE3emjSF.cjs +0 -48
- package/dist/shared/vue.DEHxNvUX.cjs +0 -7
- package/dist/shared/vue.DFaMJLAQ.cjs +0 -60
- package/dist/shared/vue.DKoM8jIV.cjs +0 -121
- package/dist/shared/vue.DKyQ7J67.cjs +0 -15
- package/dist/shared/vue.DL3z5PxP.d.cts +0 -21
- package/dist/shared/vue.DNxOpDXz.cjs +0 -12
- package/dist/shared/vue.Di7yjJ-R.cjs +0 -87
- package/dist/shared/vue.Dn3KLJZH.cjs +0 -121
- package/dist/shared/vue.DxM45azl.cjs +0 -173
- package/dist/shared/vue.E_npPFoV.cjs +0 -67
- package/dist/shared/vue.FiMmnMHr.cjs +0 -20
- package/dist/shared/vue.JUWqu6kD.mjs +0 -61
- package/dist/shared/vue.Sbbm9JSu.cjs +0 -74
- package/dist/shared/vue.ZuUCEEab.cjs +0 -103
- package/dist/shared/vue.l3UCdN7z.cjs +0 -111
- package/dist/shared/vue.ldvmk9NM.cjs +0 -45
- package/dist/swr.cjs +0 -136
- package/dist/swr.d.cts +0 -41
- package/dist/useAccountInfo.cjs +0 -15
- package/dist/useAccountInfo.d.cts +0 -24
- package/dist/useAction.cjs +0 -9
- package/dist/useAction.d.cts +0 -45
- package/dist/useAirdrop.cjs +0 -14
- package/dist/useAirdrop.d.cts +0 -27
- package/dist/useBalance.cjs +0 -14
- package/dist/useBalance.d.cts +0 -15
- package/dist/useClientCapability.cjs +0 -12
- package/dist/useClientCapability.d.cts +0 -39
- package/dist/useConnection.cjs +0 -11
- package/dist/useConnection.d.cts +0 -46
- package/dist/useIdentity.cjs +0 -12
- package/dist/useIdentity.d.cts +0 -3
- package/dist/usePayer.cjs +0 -13
- package/dist/usePayer.d.cts +0 -18
- package/dist/usePlanTransaction.cjs +0 -14
- package/dist/usePlanTransaction.d.cts +0 -45
- package/dist/usePlanTransactions.cjs +0 -13
- package/dist/usePlanTransactions.d.cts +0 -4
- package/dist/useProgramAccounts.cjs +0 -15
- package/dist/useProgramAccounts.d.cts +0 -55
- package/dist/useRequest.cjs +0 -11
- package/dist/useRequest.d.cts +0 -73
- package/dist/useRpc.cjs +0 -10
- package/dist/useRpc.d.cts +0 -55
- package/dist/useSelectedWalletAccount.cjs +0 -13
- package/dist/useSelectedWalletAccount.d.cts +0 -117
- package/dist/useSendTransaction.cjs +0 -14
- package/dist/useSendTransaction.d.cts +0 -51
- package/dist/useSendTransactions.cjs +0 -13
- package/dist/useSendTransactions.d.cts +0 -4
- package/dist/useSignAndSendTransaction.cjs +0 -18
- package/dist/useSignAndSendTransaction.d.cts +0 -40
- package/dist/useSignAndSendTransactions.cjs +0 -15
- package/dist/useSignAndSendTransactions.d.cts +0 -35
- package/dist/useSignIn.cjs +0 -13
- package/dist/useSignIn.d.cts +0 -23
- package/dist/useSignMessage.cjs +0 -13
- package/dist/useSignMessage.d.cts +0 -236
- package/dist/useSignTransactions.cjs +0 -13
- package/dist/useSignTransactions.d.cts +0 -24
- package/dist/useSignatureStatus.cjs +0 -14
- package/dist/useSignatureStatus.d.cts +0 -26
- package/dist/useSolana.cjs +0 -10
- package/dist/useSolana.d.cts +0 -9
- package/dist/useSolanaClient.cjs +0 -10
- package/dist/useSolanaClient.d.cts +0 -45
- package/dist/useSubscription.cjs +0 -9
- package/dist/useSubscription.d.cts +0 -70
- package/dist/useTokenAccounts.cjs +0 -15
- package/dist/useTokenAccounts.d.cts +0 -19
- package/dist/useTokenBalance.cjs +0 -15
- package/dist/useTokenBalance.d.cts +0 -15
- package/dist/useTrackedData.cjs +0 -10
- package/dist/useTrackedData.d.cts +0 -98
- package/dist/useTransaction.cjs +0 -11
- package/dist/useTransaction.d.cts +0 -27
- package/dist/useTransactionConfirmation.cjs +0 -15
- package/dist/useTransactionConfirmation.d.cts +0 -38
- package/dist/useWallet.cjs +0 -12
- package/dist/useWallet.d.cts +0 -31
- package/dist/useWallets.cjs +0 -10
- package/dist/useWallets.d.cts +0 -11
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,11 +1,10 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
3
|
+
import { InstructionPlanInput, TransactionMessage, TransactionPlan } from '@vue-solana/core/kit';
|
|
4
|
+
import { C as ClientActionConfig } from './shared/vue.BGGixph-.mjs';
|
|
4
5
|
|
|
5
6
|
type PlanTransactionStatus = "idle" | "planning" | "planned" | "error";
|
|
6
|
-
|
|
7
|
-
abortSignal?: AbortSignal;
|
|
8
|
-
}
|
|
7
|
+
type PlanTransactionConfig = ClientActionConfig;
|
|
9
8
|
/**
|
|
10
9
|
* Plan a single transaction message from instruction inputs — without
|
|
11
10
|
* signing or sending — using the client's transaction planning capability
|
|
@@ -19,11 +18,11 @@ interface PlanTransactionConfig {
|
|
|
19
18
|
* from a real failure.
|
|
20
19
|
*/
|
|
21
20
|
declare function usePlanTransaction(): {
|
|
22
|
-
|
|
21
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
22
|
+
execute: (input: InstructionPlanInput, config?: ClientActionConfig) => Promise<TransactionMessage>;
|
|
23
|
+
loading: vue.ComputedRef<boolean>;
|
|
23
24
|
status: vue.Ref<PlanTransactionStatus, PlanTransactionStatus>;
|
|
24
|
-
|
|
25
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
26
|
-
execute: (input: InstructionPlanInput, config?: PlanTransactionConfig) => Promise<TransactionMessage>;
|
|
25
|
+
transactionMessage: vue.ShallowRef<TransactionMessage | null>;
|
|
27
26
|
};
|
|
28
27
|
/**
|
|
29
28
|
* Plan a full transaction plan — possibly multiple transaction messages —
|
|
@@ -34,11 +33,11 @@ declare function usePlanTransaction(): {
|
|
|
34
33
|
* includes a client without a `payer` signer.
|
|
35
34
|
*/
|
|
36
35
|
declare function usePlanTransactions(): {
|
|
37
|
-
|
|
36
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
37
|
+
execute: (input: InstructionPlanInput, config?: ClientActionConfig) => Promise<TransactionPlan>;
|
|
38
|
+
loading: vue.ComputedRef<boolean>;
|
|
38
39
|
status: vue.Ref<PlanTransactionStatus, PlanTransactionStatus>;
|
|
39
|
-
|
|
40
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
41
|
-
execute: (input: InstructionPlanInput, config?: PlanTransactionConfig) => Promise<TransactionPlan>;
|
|
40
|
+
transactionPlan: vue.ShallowRef<TransactionPlan | null>;
|
|
42
41
|
};
|
|
43
42
|
|
|
44
43
|
export { usePlanTransaction, usePlanTransactions };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
3
|
+
import { InstructionPlanInput, TransactionMessage, TransactionPlan } from '@vue-solana/core/kit';
|
|
4
|
+
import { C as ClientActionConfig } from './shared/vue.BGGixph-.js';
|
|
4
5
|
|
|
5
6
|
type PlanTransactionStatus = "idle" | "planning" | "planned" | "error";
|
|
6
|
-
|
|
7
|
-
abortSignal?: AbortSignal;
|
|
8
|
-
}
|
|
7
|
+
type PlanTransactionConfig = ClientActionConfig;
|
|
9
8
|
/**
|
|
10
9
|
* Plan a single transaction message from instruction inputs — without
|
|
11
10
|
* signing or sending — using the client's transaction planning capability
|
|
@@ -19,11 +18,11 @@ interface PlanTransactionConfig {
|
|
|
19
18
|
* from a real failure.
|
|
20
19
|
*/
|
|
21
20
|
declare function usePlanTransaction(): {
|
|
22
|
-
|
|
21
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
22
|
+
execute: (input: InstructionPlanInput, config?: ClientActionConfig) => Promise<TransactionMessage>;
|
|
23
|
+
loading: vue.ComputedRef<boolean>;
|
|
23
24
|
status: vue.Ref<PlanTransactionStatus, PlanTransactionStatus>;
|
|
24
|
-
|
|
25
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
26
|
-
execute: (input: InstructionPlanInput, config?: PlanTransactionConfig) => Promise<TransactionMessage>;
|
|
25
|
+
transactionMessage: vue.ShallowRef<TransactionMessage | null>;
|
|
27
26
|
};
|
|
28
27
|
/**
|
|
29
28
|
* Plan a full transaction plan — possibly multiple transaction messages —
|
|
@@ -34,11 +33,11 @@ declare function usePlanTransaction(): {
|
|
|
34
33
|
* includes a client without a `payer` signer.
|
|
35
34
|
*/
|
|
36
35
|
declare function usePlanTransactions(): {
|
|
37
|
-
|
|
36
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
37
|
+
execute: (input: InstructionPlanInput, config?: ClientActionConfig) => Promise<TransactionPlan>;
|
|
38
|
+
loading: vue.ComputedRef<boolean>;
|
|
38
39
|
status: vue.Ref<PlanTransactionStatus, PlanTransactionStatus>;
|
|
39
|
-
|
|
40
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
41
|
-
execute: (input: InstructionPlanInput, config?: PlanTransactionConfig) => Promise<TransactionPlan>;
|
|
40
|
+
transactionPlan: vue.ShallowRef<TransactionPlan | null>;
|
|
42
41
|
};
|
|
43
42
|
|
|
44
43
|
export { usePlanTransaction, usePlanTransactions };
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export { u as usePlanTransaction, a as usePlanTransactions } from './shared/vue.
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
5
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
6
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
7
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
1
|
+
export { u as usePlanTransaction, a as usePlanTransactions } from './shared/vue.CsFY1mfz.mjs';
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export { a as usePlanTransactions } from './shared/vue.
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
5
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
6
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
7
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
1
|
+
export { a as usePlanTransactions } from './shared/vue.CsFY1mfz.mjs';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as _solana_kit from '@solana/kit';
|
|
2
1
|
import * as vue from 'vue';
|
|
3
2
|
import { MaybeRefOrGetter } from 'vue';
|
|
3
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
4
4
|
import { Commitment } from '@vue-solana/core/kit';
|
|
5
|
-
import { SolanaError } from '@vue-solana/core/errors';
|
|
6
5
|
|
|
7
6
|
type ProgramAccountMemcmpEncoding = "base58" | "base64";
|
|
8
7
|
type ProgramAccountMemcmpFilter = {
|
|
@@ -36,19 +35,10 @@ interface ProgramAccount {
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
declare function useProgramAccounts(programId: MaybeRefOrGetter<string | null | undefined>, options?: UseProgramAccountsOptions): {
|
|
39
|
-
|
|
40
|
-
loading: vue.ShallowRef<boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
pubkey: _solana_kit.Address;
|
|
44
|
-
account: {
|
|
45
|
-
executable: boolean;
|
|
46
|
-
lamports: number;
|
|
47
|
-
owner: _solana_kit.Address;
|
|
48
|
-
space: number;
|
|
49
|
-
data: Uint8Array<ArrayBufferLike>;
|
|
50
|
-
};
|
|
51
|
-
}[]>;
|
|
38
|
+
error: vue.ShallowRef<_vue_solana_core_errors.SolanaError | null>;
|
|
39
|
+
loading: vue.ShallowRef<boolean>;
|
|
40
|
+
refresh: () => Promise<ProgramAccount[] | null>;
|
|
41
|
+
accounts: vue.ShallowRef<ProgramAccount[]>;
|
|
52
42
|
};
|
|
53
43
|
|
|
54
44
|
export { useProgramAccounts };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as _solana_kit from '@solana/kit';
|
|
2
1
|
import * as vue from 'vue';
|
|
3
2
|
import { MaybeRefOrGetter } from 'vue';
|
|
3
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
4
4
|
import { Commitment } from '@vue-solana/core/kit';
|
|
5
|
-
import { SolanaError } from '@vue-solana/core/errors';
|
|
6
5
|
|
|
7
6
|
type ProgramAccountMemcmpEncoding = "base58" | "base64";
|
|
8
7
|
type ProgramAccountMemcmpFilter = {
|
|
@@ -36,19 +35,10 @@ interface ProgramAccount {
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
declare function useProgramAccounts(programId: MaybeRefOrGetter<string | null | undefined>, options?: UseProgramAccountsOptions): {
|
|
39
|
-
|
|
40
|
-
loading: vue.ShallowRef<boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
pubkey: _solana_kit.Address;
|
|
44
|
-
account: {
|
|
45
|
-
executable: boolean;
|
|
46
|
-
lamports: number;
|
|
47
|
-
owner: _solana_kit.Address;
|
|
48
|
-
space: number;
|
|
49
|
-
data: Uint8Array<ArrayBufferLike>;
|
|
50
|
-
};
|
|
51
|
-
}[]>;
|
|
38
|
+
error: vue.ShallowRef<_vue_solana_core_errors.SolanaError | null>;
|
|
39
|
+
loading: vue.ShallowRef<boolean>;
|
|
40
|
+
refresh: () => Promise<ProgramAccount[] | null>;
|
|
41
|
+
accounts: vue.ShallowRef<ProgramAccount[]>;
|
|
52
42
|
};
|
|
53
43
|
|
|
54
44
|
export { useProgramAccounts };
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
export { u as useProgramAccounts } from './shared/vue.
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import '@vue-solana/core/address';
|
|
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';
|
|
9
|
-
import './shared/vue.Bfu1dCKe.mjs';
|
|
1
|
+
export { u as useProgramAccounts } from './shared/vue.1Qwco2kv.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,11 +1,10 @@
|
|
|
1
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
1
2
|
import * as vue from 'vue';
|
|
2
3
|
import { InstructionPlanInput, SingleTransactionPlan, TransactionPlanInput, SuccessfulSingleTransactionPlanResult, TransactionPlanResult } from '@vue-solana/core/kit';
|
|
3
|
-
import {
|
|
4
|
+
import { C as ClientActionConfig } from './shared/vue.BGGixph-.mjs';
|
|
4
5
|
|
|
5
6
|
type SendTransactionStatus = "idle" | "sending" | "sent" | "error";
|
|
6
|
-
|
|
7
|
-
abortSignal?: AbortSignal;
|
|
8
|
-
}
|
|
7
|
+
type SendTransactionConfig = ClientActionConfig;
|
|
9
8
|
type SendTransactionInput = InstructionPlanInput | SingleTransactionPlan | SingleTransactionPlan["message"];
|
|
10
9
|
type SendTransactionsInput = InstructionPlanInput | TransactionPlanInput;
|
|
11
10
|
/**
|
|
@@ -25,11 +24,11 @@ type SendTransactionsInput = InstructionPlanInput | TransactionPlanInput;
|
|
|
25
24
|
* from a real failure.
|
|
26
25
|
*/
|
|
27
26
|
declare function useSendTransaction(): {
|
|
28
|
-
data: vue.ShallowRef<SuccessfulSingleTransactionPlanResult | null
|
|
27
|
+
data: vue.ShallowRef<SuccessfulSingleTransactionPlanResult | null>;
|
|
28
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
29
|
+
execute: (input: SendTransactionInput, config?: ClientActionConfig) => Promise<SuccessfulSingleTransactionPlanResult>;
|
|
30
|
+
loading: vue.ComputedRef<boolean>;
|
|
29
31
|
status: vue.Ref<SendTransactionStatus, SendTransactionStatus>;
|
|
30
|
-
loading: vue.Ref<boolean, boolean>;
|
|
31
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
32
|
-
execute: (input: SendTransactionInput, config?: SendTransactionConfig) => Promise<SuccessfulSingleTransactionPlanResult>;
|
|
33
32
|
};
|
|
34
33
|
/**
|
|
35
34
|
* Plan, sign, submit, and confirm one or more transactions — possibly a batch
|
|
@@ -40,11 +39,11 @@ declare function useSendTransaction(): {
|
|
|
40
39
|
* includes a client without a `payer` signer.
|
|
41
40
|
*/
|
|
42
41
|
declare function useSendTransactions(): {
|
|
43
|
-
data: vue.ShallowRef<TransactionPlanResult | null
|
|
42
|
+
data: vue.ShallowRef<TransactionPlanResult | null>;
|
|
43
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
44
|
+
execute: (input: SendTransactionsInput, config?: ClientActionConfig) => Promise<TransactionPlanResult>;
|
|
45
|
+
loading: vue.ComputedRef<boolean>;
|
|
44
46
|
status: vue.Ref<SendTransactionStatus, SendTransactionStatus>;
|
|
45
|
-
loading: vue.Ref<boolean, boolean>;
|
|
46
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
47
|
-
execute: (input: SendTransactionsInput, config?: SendTransactionConfig) => Promise<TransactionPlanResult>;
|
|
48
47
|
};
|
|
49
48
|
|
|
50
49
|
export { useSendTransaction, useSendTransactions };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
1
2
|
import * as vue from 'vue';
|
|
2
3
|
import { InstructionPlanInput, SingleTransactionPlan, TransactionPlanInput, SuccessfulSingleTransactionPlanResult, TransactionPlanResult } from '@vue-solana/core/kit';
|
|
3
|
-
import {
|
|
4
|
+
import { C as ClientActionConfig } from './shared/vue.BGGixph-.js';
|
|
4
5
|
|
|
5
6
|
type SendTransactionStatus = "idle" | "sending" | "sent" | "error";
|
|
6
|
-
|
|
7
|
-
abortSignal?: AbortSignal;
|
|
8
|
-
}
|
|
7
|
+
type SendTransactionConfig = ClientActionConfig;
|
|
9
8
|
type SendTransactionInput = InstructionPlanInput | SingleTransactionPlan | SingleTransactionPlan["message"];
|
|
10
9
|
type SendTransactionsInput = InstructionPlanInput | TransactionPlanInput;
|
|
11
10
|
/**
|
|
@@ -25,11 +24,11 @@ type SendTransactionsInput = InstructionPlanInput | TransactionPlanInput;
|
|
|
25
24
|
* from a real failure.
|
|
26
25
|
*/
|
|
27
26
|
declare function useSendTransaction(): {
|
|
28
|
-
data: vue.ShallowRef<SuccessfulSingleTransactionPlanResult | null
|
|
27
|
+
data: vue.ShallowRef<SuccessfulSingleTransactionPlanResult | null>;
|
|
28
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
29
|
+
execute: (input: SendTransactionInput, config?: ClientActionConfig) => Promise<SuccessfulSingleTransactionPlanResult>;
|
|
30
|
+
loading: vue.ComputedRef<boolean>;
|
|
29
31
|
status: vue.Ref<SendTransactionStatus, SendTransactionStatus>;
|
|
30
|
-
loading: vue.Ref<boolean, boolean>;
|
|
31
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
32
|
-
execute: (input: SendTransactionInput, config?: SendTransactionConfig) => Promise<SuccessfulSingleTransactionPlanResult>;
|
|
33
32
|
};
|
|
34
33
|
/**
|
|
35
34
|
* Plan, sign, submit, and confirm one or more transactions — possibly a batch
|
|
@@ -40,11 +39,11 @@ declare function useSendTransaction(): {
|
|
|
40
39
|
* includes a client without a `payer` signer.
|
|
41
40
|
*/
|
|
42
41
|
declare function useSendTransactions(): {
|
|
43
|
-
data: vue.ShallowRef<TransactionPlanResult | null
|
|
42
|
+
data: vue.ShallowRef<TransactionPlanResult | null>;
|
|
43
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null>;
|
|
44
|
+
execute: (input: SendTransactionsInput, config?: ClientActionConfig) => Promise<TransactionPlanResult>;
|
|
45
|
+
loading: vue.ComputedRef<boolean>;
|
|
44
46
|
status: vue.Ref<SendTransactionStatus, SendTransactionStatus>;
|
|
45
|
-
loading: vue.Ref<boolean, boolean>;
|
|
46
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
47
|
-
execute: (input: SendTransactionsInput, config?: SendTransactionConfig) => Promise<TransactionPlanResult>;
|
|
48
47
|
};
|
|
49
48
|
|
|
50
49
|
export { useSendTransaction, useSendTransactions };
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export { u as useSendTransaction, a as useSendTransactions } from './shared/vue.
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
5
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
6
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
7
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
1
|
+
export { u as useSendTransaction, a as useSendTransactions } from './shared/vue.BxtOHzY_.mjs';
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export { a as useSendTransactions } from './shared/vue.
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import 'vue';
|
|
4
|
-
import './shared/vue.B9uRpSDJ.mjs';
|
|
5
|
-
import './shared/vue.Mxc8w6Qk.mjs';
|
|
6
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
7
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
1
|
+
export { a as useSendTransactions } from './shared/vue.BxtOHzY_.mjs';
|
|
@@ -31,7 +31,7 @@ declare function useSignAndSendTransaction(): {
|
|
|
31
31
|
};
|
|
32
32
|
} | null>;
|
|
33
33
|
status: vue.Ref<SignAndSendTransactionStatus, SignAndSendTransactionStatus>;
|
|
34
|
-
loading: vue.
|
|
34
|
+
loading: vue.ComputedRef<boolean>;
|
|
35
35
|
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
36
36
|
execute: (transaction: SolanaTransaction, options?: SignAndSendTransactionOptions) => Promise<Signature>;
|
|
37
37
|
};
|
|
@@ -31,7 +31,7 @@ declare function useSignAndSendTransaction(): {
|
|
|
31
31
|
};
|
|
32
32
|
} | null>;
|
|
33
33
|
status: vue.Ref<SignAndSendTransactionStatus, SignAndSendTransactionStatus>;
|
|
34
|
-
loading: vue.
|
|
34
|
+
loading: vue.ComputedRef<boolean>;
|
|
35
35
|
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
36
36
|
execute: (transaction: SolanaTransaction, options?: SignAndSendTransactionOptions) => Promise<Signature>;
|
|
37
37
|
};
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
export { u as useSignAndSendTransaction } from './shared/vue.
|
|
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.D3Y0PWbF.mjs';
|
|
1
|
+
export { u as useSignAndSendTransaction } from './shared/vue.CjSw0Hh1.mjs';
|
|
@@ -25,8 +25,8 @@ declare class PartialSignAndSendError extends SolanaError {
|
|
|
25
25
|
*/
|
|
26
26
|
declare function useSignAndSendTransactions(): {
|
|
27
27
|
signatures: vue.ShallowRef<Signature[] | null, Signature[] | null>;
|
|
28
|
-
status: vue.
|
|
29
|
-
loading: vue.
|
|
28
|
+
status: vue.ShallowRef<SignAndSendTransactionsStatus>;
|
|
29
|
+
loading: vue.ComputedRef<boolean>;
|
|
30
30
|
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
31
31
|
execute: (transactions: SolanaTransaction[], options?: SendTransactionOptions) => Promise<Signature[]>;
|
|
32
32
|
};
|
|
@@ -25,8 +25,8 @@ declare class PartialSignAndSendError extends SolanaError {
|
|
|
25
25
|
*/
|
|
26
26
|
declare function useSignAndSendTransactions(): {
|
|
27
27
|
signatures: vue.ShallowRef<Signature[] | null, Signature[] | null>;
|
|
28
|
-
status: vue.
|
|
29
|
-
loading: vue.
|
|
28
|
+
status: vue.ShallowRef<SignAndSendTransactionsStatus>;
|
|
29
|
+
loading: vue.ComputedRef<boolean>;
|
|
30
30
|
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
31
31
|
execute: (transactions: SolanaTransaction[], options?: SendTransactionOptions) => Promise<Signature[]>;
|
|
32
32
|
};
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
export { P as PartialSignAndSendError, u as useSignAndSendTransactions } from './shared/vue.
|
|
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.D218Ow7t.mjs';
|
|
7
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
8
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
1
|
+
export { P as PartialSignAndSendError, u as useSignAndSendTransactions } from './shared/vue.C1JbUTpJ.mjs';
|
package/dist/useSignIn.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
1
2
|
import * as vue from 'vue';
|
|
2
3
|
import { SolanaSignInResult, SolanaSignInInput } from '@vue-solana/core/types';
|
|
3
|
-
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
4
|
|
|
5
5
|
type SignInStatus = "idle" | "signing-in" | "signed-in" | "error";
|
|
6
6
|
/**
|
|
@@ -13,9 +13,9 @@ type SignInStatus = "idle" | "signing-in" | "signed-in" | "error";
|
|
|
13
13
|
*/
|
|
14
14
|
declare function useSignIn(): {
|
|
15
15
|
signInResult: vue.ShallowRef<SolanaSignInResult | null, SolanaSignInResult | null>;
|
|
16
|
-
status: vue.
|
|
17
|
-
loading: vue.
|
|
18
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
16
|
+
status: vue.ShallowRef<SignInStatus>;
|
|
17
|
+
loading: vue.ComputedRef<boolean>;
|
|
18
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null, _vue_solana_core_errors.SolanaError | null>;
|
|
19
19
|
signIn: (input?: SolanaSignInInput) => Promise<SolanaSignInResult>;
|
|
20
20
|
};
|
|
21
21
|
|
package/dist/useSignIn.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _vue_solana_core_errors from '@vue-solana/core/errors';
|
|
1
2
|
import * as vue from 'vue';
|
|
2
3
|
import { SolanaSignInResult, SolanaSignInInput } from '@vue-solana/core/types';
|
|
3
|
-
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
4
|
|
|
5
5
|
type SignInStatus = "idle" | "signing-in" | "signed-in" | "error";
|
|
6
6
|
/**
|
|
@@ -13,9 +13,9 @@ type SignInStatus = "idle" | "signing-in" | "signed-in" | "error";
|
|
|
13
13
|
*/
|
|
14
14
|
declare function useSignIn(): {
|
|
15
15
|
signInResult: vue.ShallowRef<SolanaSignInResult | null, SolanaSignInResult | null>;
|
|
16
|
-
status: vue.
|
|
17
|
-
loading: vue.
|
|
18
|
-
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
16
|
+
status: vue.ShallowRef<SignInStatus>;
|
|
17
|
+
loading: vue.ComputedRef<boolean>;
|
|
18
|
+
error: vue.Ref<_vue_solana_core_errors.SolanaError | null, _vue_solana_core_errors.SolanaError | null>;
|
|
19
19
|
signIn: (input?: SolanaSignInInput) => Promise<SolanaSignInResult>;
|
|
20
20
|
};
|
|
21
21
|
|
package/dist/useSignIn.mjs
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export { u as useSignIn } from './shared/vue.
|
|
2
|
-
import '@vue-solana/core/errors';
|
|
3
|
-
import '@vue-solana/core/wallet';
|
|
4
|
-
import 'vue';
|
|
5
|
-
import './shared/vue.D218Ow7t.mjs';
|
|
6
|
-
import './shared/vue.CQh3AUE8.mjs';
|
|
7
|
-
import './shared/vue.D_P5SqqD.mjs';
|
|
1
|
+
export { u as useSignIn } from './shared/vue.C9OOmvkD.mjs';
|