@vue-solana/vue 2.2.0 → 2.4.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/README.md +190 -57
- package/dist/index.cjs +7 -4
- package/dist/index.d.cts +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +5 -4
- package/dist/shared/{vue.BY0qpgYr.cjs → vue.4C5kX4fE.cjs} +2 -1
- package/dist/shared/{vue.CATOh_9G.mjs → vue.B-xtuLtD.mjs} +1 -1
- package/dist/shared/{vue.CTqPbvz3.cjs → vue.B4eMoJT2.cjs} +2 -2
- package/dist/shared/{vue.B8LptjZP.mjs → vue.B9uRpSDJ.mjs} +2 -1
- package/dist/shared/{vue.C5FVoEZT.mjs → vue.Co5rj-I6.mjs} +27 -8
- package/dist/shared/vue.DAthhH4D.mjs +118 -0
- package/dist/shared/{vue.BSfiHqwj.mjs → vue.DDQxNX5q.mjs} +2 -2
- package/dist/shared/vue.DKoM8jIV.cjs +121 -0
- package/dist/shared/{vue.B4-LEdSE.cjs → vue.Dn3KLJZH.cjs} +26 -7
- package/dist/shared/{vue.g8fnm_ca.cjs → vue.ldvmk9NM.cjs} +1 -1
- package/dist/useAirdrop.cjs +2 -2
- package/dist/useAirdrop.d.cts +4 -2
- package/dist/useAirdrop.d.mts +4 -2
- package/dist/useAirdrop.d.ts +4 -2
- package/dist/useAirdrop.mjs +2 -2
- package/dist/useClientCapability.cjs +1 -1
- package/dist/useClientCapability.mjs +1 -1
- package/dist/useConnection.d.cts +35 -2
- package/dist/useConnection.d.mts +35 -2
- package/dist/useConnection.d.ts +35 -2
- package/dist/useIdentity.cjs +2 -2
- package/dist/useIdentity.mjs +2 -2
- package/dist/usePayer.cjs +2 -2
- package/dist/usePayer.mjs +2 -2
- package/dist/usePlanTransaction.cjs +2 -2
- package/dist/usePlanTransaction.d.cts +9 -1
- package/dist/usePlanTransaction.d.mts +9 -1
- package/dist/usePlanTransaction.d.ts +9 -1
- package/dist/usePlanTransaction.mjs +2 -2
- package/dist/usePlanTransactions.cjs +2 -2
- package/dist/usePlanTransactions.mjs +2 -2
- package/dist/useRpc.d.cts +35 -2
- package/dist/useRpc.d.mts +35 -2
- package/dist/useRpc.d.ts +35 -2
- package/dist/useSendTransaction.cjs +14 -0
- package/dist/useSendTransaction.d.cts +51 -0
- package/dist/useSendTransaction.d.mts +51 -0
- package/dist/useSendTransaction.d.ts +51 -0
- package/dist/useSendTransaction.mjs +7 -0
- package/dist/useSendTransactions.cjs +13 -0
- package/dist/useSendTransactions.d.cts +4 -0
- package/dist/useSendTransactions.d.mts +4 -0
- package/dist/useSendTransactions.d.ts +4 -0
- package/dist/useSendTransactions.mjs +7 -0
- package/dist/useSolanaClient.d.cts +35 -2
- package/dist/useSolanaClient.d.mts +35 -2
- package/dist/useSolanaClient.d.ts +35 -2
- package/package.json +12 -2
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { normalizeSolanaError } from '@vue-solana/core/errors';
|
|
2
|
+
import { shallowRef, ref, onScopeDispose } from 'vue';
|
|
3
|
+
import { u as useClientCapability } from './vue.B9uRpSDJ.mjs';
|
|
4
|
+
import { u as useSolanaClient } from './vue.Mxc8w6Qk.mjs';
|
|
5
|
+
|
|
6
|
+
const SENDING_PROVIDER_HINT = "Use a client created by `createSolanaClient({ payer })` \u2014 or any client with a `payer` signer. Kit reads `client.payer` when it plans a transaction from an instruction plan.";
|
|
7
|
+
function useSendTransaction() {
|
|
8
|
+
useClientCapability(["sendTransaction", "payer"], {
|
|
9
|
+
hookName: "useSendTransaction",
|
|
10
|
+
providerHint: SENDING_PROVIDER_HINT
|
|
11
|
+
});
|
|
12
|
+
const { client } = useSolanaClient();
|
|
13
|
+
const data = shallowRef(null);
|
|
14
|
+
const status = ref("idle");
|
|
15
|
+
const loading = ref(false);
|
|
16
|
+
const error = ref(null);
|
|
17
|
+
let executionId = 0;
|
|
18
|
+
let abortController;
|
|
19
|
+
onScopeDispose(() => {
|
|
20
|
+
abortController?.abort();
|
|
21
|
+
executionId++;
|
|
22
|
+
});
|
|
23
|
+
async function execute(input, config) {
|
|
24
|
+
abortController?.abort();
|
|
25
|
+
const controller = new AbortController();
|
|
26
|
+
abortController = controller;
|
|
27
|
+
const currentExecutionId = ++executionId;
|
|
28
|
+
const sender = client;
|
|
29
|
+
status.value = "sending";
|
|
30
|
+
loading.value = true;
|
|
31
|
+
error.value = null;
|
|
32
|
+
data.value = null;
|
|
33
|
+
try {
|
|
34
|
+
const abortSignal = config?.abortSignal ? AbortSignal.any([controller.signal, config.abortSignal]) : controller.signal;
|
|
35
|
+
const result = await sender.sendTransaction(input, { abortSignal });
|
|
36
|
+
if (currentExecutionId === executionId) {
|
|
37
|
+
data.value = result;
|
|
38
|
+
status.value = "sent";
|
|
39
|
+
}
|
|
40
|
+
return result;
|
|
41
|
+
} catch (cause) {
|
|
42
|
+
const normalizedError = normalizeSolanaError(cause, "RPC_FAILURE");
|
|
43
|
+
if (currentExecutionId === executionId) {
|
|
44
|
+
error.value = normalizedError;
|
|
45
|
+
status.value = "error";
|
|
46
|
+
}
|
|
47
|
+
throw normalizedError;
|
|
48
|
+
} finally {
|
|
49
|
+
if (currentExecutionId === executionId) {
|
|
50
|
+
loading.value = false;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
data,
|
|
56
|
+
status,
|
|
57
|
+
loading,
|
|
58
|
+
error,
|
|
59
|
+
execute
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function useSendTransactions() {
|
|
63
|
+
useClientCapability(["sendTransactions", "payer"], {
|
|
64
|
+
hookName: "useSendTransactions",
|
|
65
|
+
providerHint: SENDING_PROVIDER_HINT
|
|
66
|
+
});
|
|
67
|
+
const { client } = useSolanaClient();
|
|
68
|
+
const data = shallowRef(null);
|
|
69
|
+
const status = ref("idle");
|
|
70
|
+
const loading = ref(false);
|
|
71
|
+
const error = ref(null);
|
|
72
|
+
let executionId = 0;
|
|
73
|
+
let abortController;
|
|
74
|
+
onScopeDispose(() => {
|
|
75
|
+
abortController?.abort();
|
|
76
|
+
executionId++;
|
|
77
|
+
});
|
|
78
|
+
async function execute(input, config) {
|
|
79
|
+
abortController?.abort();
|
|
80
|
+
const controller = new AbortController();
|
|
81
|
+
abortController = controller;
|
|
82
|
+
const currentExecutionId = ++executionId;
|
|
83
|
+
const sender = client;
|
|
84
|
+
status.value = "sending";
|
|
85
|
+
loading.value = true;
|
|
86
|
+
error.value = null;
|
|
87
|
+
data.value = null;
|
|
88
|
+
try {
|
|
89
|
+
const abortSignal = config?.abortSignal ? AbortSignal.any([controller.signal, config.abortSignal]) : controller.signal;
|
|
90
|
+
const result = await sender.sendTransactions(input, { abortSignal });
|
|
91
|
+
if (currentExecutionId === executionId) {
|
|
92
|
+
data.value = result;
|
|
93
|
+
status.value = "sent";
|
|
94
|
+
}
|
|
95
|
+
return result;
|
|
96
|
+
} catch (cause) {
|
|
97
|
+
const normalizedError = normalizeSolanaError(cause, "RPC_FAILURE");
|
|
98
|
+
if (currentExecutionId === executionId) {
|
|
99
|
+
error.value = normalizedError;
|
|
100
|
+
status.value = "error";
|
|
101
|
+
}
|
|
102
|
+
throw normalizedError;
|
|
103
|
+
} finally {
|
|
104
|
+
if (currentExecutionId === executionId) {
|
|
105
|
+
loading.value = false;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
data,
|
|
111
|
+
status,
|
|
112
|
+
loading,
|
|
113
|
+
error,
|
|
114
|
+
execute
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { useSendTransactions as a, useSendTransaction as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as useAction } from './vue.DYk0Xfr3.mjs';
|
|
2
|
-
import { u as useClientCapability } from './vue.
|
|
2
|
+
import { u as useClientCapability } from './vue.B9uRpSDJ.mjs';
|
|
3
3
|
import { u as useSolanaClient } from './vue.Mxc8w6Qk.mjs';
|
|
4
4
|
|
|
5
5
|
function toReadableAirdropError(error) {
|
|
@@ -19,7 +19,7 @@ function toReadableAirdropError(error) {
|
|
|
19
19
|
function useAirdrop() {
|
|
20
20
|
useClientCapability("airdrop", {
|
|
21
21
|
hookName: "useAirdrop",
|
|
22
|
-
providerHint: "Install it by adding the airdrop capability with `createClient().use(
|
|
22
|
+
providerHint: "Install it by adding the airdrop capability with `createClient().use(solanaRpc({ ... })).use(rpcAirdrop())` from `@solana/kit-plugin-rpc`, on a client that has a `payer` signer to sign the request."
|
|
23
23
|
});
|
|
24
24
|
const { client } = useSolanaClient();
|
|
25
25
|
return useAction((abortSignal, address, amount) => {
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const errors = require('@vue-solana/core/errors');
|
|
4
|
+
const vue = require('vue');
|
|
5
|
+
const useClientCapability = require('./vue.4C5kX4fE.cjs');
|
|
6
|
+
const useSolanaClient = require('./vue.BIxphCAq.cjs');
|
|
7
|
+
|
|
8
|
+
const SENDING_PROVIDER_HINT = "Use a client created by `createSolanaClient({ payer })` \u2014 or any client with a `payer` signer. Kit reads `client.payer` when it plans a transaction from an instruction plan.";
|
|
9
|
+
function useSendTransaction() {
|
|
10
|
+
useClientCapability.useClientCapability(["sendTransaction", "payer"], {
|
|
11
|
+
hookName: "useSendTransaction",
|
|
12
|
+
providerHint: SENDING_PROVIDER_HINT
|
|
13
|
+
});
|
|
14
|
+
const { client } = useSolanaClient.useSolanaClient();
|
|
15
|
+
const data = vue.shallowRef(null);
|
|
16
|
+
const status = vue.ref("idle");
|
|
17
|
+
const loading = vue.ref(false);
|
|
18
|
+
const error = vue.ref(null);
|
|
19
|
+
let executionId = 0;
|
|
20
|
+
let abortController;
|
|
21
|
+
vue.onScopeDispose(() => {
|
|
22
|
+
abortController?.abort();
|
|
23
|
+
executionId++;
|
|
24
|
+
});
|
|
25
|
+
async function execute(input, config) {
|
|
26
|
+
abortController?.abort();
|
|
27
|
+
const controller = new AbortController();
|
|
28
|
+
abortController = controller;
|
|
29
|
+
const currentExecutionId = ++executionId;
|
|
30
|
+
const sender = client;
|
|
31
|
+
status.value = "sending";
|
|
32
|
+
loading.value = true;
|
|
33
|
+
error.value = null;
|
|
34
|
+
data.value = null;
|
|
35
|
+
try {
|
|
36
|
+
const abortSignal = config?.abortSignal ? AbortSignal.any([controller.signal, config.abortSignal]) : controller.signal;
|
|
37
|
+
const result = await sender.sendTransaction(input, { abortSignal });
|
|
38
|
+
if (currentExecutionId === executionId) {
|
|
39
|
+
data.value = result;
|
|
40
|
+
status.value = "sent";
|
|
41
|
+
}
|
|
42
|
+
return result;
|
|
43
|
+
} catch (cause) {
|
|
44
|
+
const normalizedError = errors.normalizeSolanaError(cause, "RPC_FAILURE");
|
|
45
|
+
if (currentExecutionId === executionId) {
|
|
46
|
+
error.value = normalizedError;
|
|
47
|
+
status.value = "error";
|
|
48
|
+
}
|
|
49
|
+
throw normalizedError;
|
|
50
|
+
} finally {
|
|
51
|
+
if (currentExecutionId === executionId) {
|
|
52
|
+
loading.value = false;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
data,
|
|
58
|
+
status,
|
|
59
|
+
loading,
|
|
60
|
+
error,
|
|
61
|
+
execute
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function useSendTransactions() {
|
|
65
|
+
useClientCapability.useClientCapability(["sendTransactions", "payer"], {
|
|
66
|
+
hookName: "useSendTransactions",
|
|
67
|
+
providerHint: SENDING_PROVIDER_HINT
|
|
68
|
+
});
|
|
69
|
+
const { client } = useSolanaClient.useSolanaClient();
|
|
70
|
+
const data = vue.shallowRef(null);
|
|
71
|
+
const status = vue.ref("idle");
|
|
72
|
+
const loading = vue.ref(false);
|
|
73
|
+
const error = vue.ref(null);
|
|
74
|
+
let executionId = 0;
|
|
75
|
+
let abortController;
|
|
76
|
+
vue.onScopeDispose(() => {
|
|
77
|
+
abortController?.abort();
|
|
78
|
+
executionId++;
|
|
79
|
+
});
|
|
80
|
+
async function execute(input, config) {
|
|
81
|
+
abortController?.abort();
|
|
82
|
+
const controller = new AbortController();
|
|
83
|
+
abortController = controller;
|
|
84
|
+
const currentExecutionId = ++executionId;
|
|
85
|
+
const sender = client;
|
|
86
|
+
status.value = "sending";
|
|
87
|
+
loading.value = true;
|
|
88
|
+
error.value = null;
|
|
89
|
+
data.value = null;
|
|
90
|
+
try {
|
|
91
|
+
const abortSignal = config?.abortSignal ? AbortSignal.any([controller.signal, config.abortSignal]) : controller.signal;
|
|
92
|
+
const result = await sender.sendTransactions(input, { abortSignal });
|
|
93
|
+
if (currentExecutionId === executionId) {
|
|
94
|
+
data.value = result;
|
|
95
|
+
status.value = "sent";
|
|
96
|
+
}
|
|
97
|
+
return result;
|
|
98
|
+
} catch (cause) {
|
|
99
|
+
const normalizedError = errors.normalizeSolanaError(cause, "RPC_FAILURE");
|
|
100
|
+
if (currentExecutionId === executionId) {
|
|
101
|
+
error.value = normalizedError;
|
|
102
|
+
status.value = "error";
|
|
103
|
+
}
|
|
104
|
+
throw normalizedError;
|
|
105
|
+
} finally {
|
|
106
|
+
if (currentExecutionId === executionId) {
|
|
107
|
+
loading.value = false;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
data,
|
|
113
|
+
status,
|
|
114
|
+
loading,
|
|
115
|
+
error,
|
|
116
|
+
execute
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
exports.useSendTransaction = useSendTransaction;
|
|
121
|
+
exports.useSendTransactions = useSendTransactions;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
const errors = require('@vue-solana/core/errors');
|
|
4
4
|
const vue = require('vue');
|
|
5
|
-
const useClientCapability = require('./vue.
|
|
5
|
+
const useClientCapability = require('./vue.4C5kX4fE.cjs');
|
|
6
6
|
const useSolanaClient = require('./vue.BIxphCAq.cjs');
|
|
7
7
|
|
|
8
|
+
const PLANNING_PROVIDER_HINT = "Install a planner plugin, e.g. `createClient().use(rpcTransactionPlanner())` from `@solana/kit-plugin-rpc`, and plan with a client that has a `payer` signer \u2014 Kit reads `client.payer` to set the fee payer.";
|
|
8
9
|
function usePlanTransaction() {
|
|
9
|
-
useClientCapability.useClientCapability(["planTransaction"], {
|
|
10
|
+
useClientCapability.useClientCapability(["planTransaction", "payer"], {
|
|
10
11
|
hookName: "usePlanTransaction",
|
|
11
|
-
providerHint:
|
|
12
|
+
providerHint: PLANNING_PROVIDER_HINT
|
|
12
13
|
});
|
|
13
14
|
const { client } = useSolanaClient.useSolanaClient();
|
|
14
15
|
const transactionMessage = vue.shallowRef(null);
|
|
@@ -16,7 +17,15 @@ function usePlanTransaction() {
|
|
|
16
17
|
const loading = vue.ref(false);
|
|
17
18
|
const error = vue.ref(null);
|
|
18
19
|
let executionId = 0;
|
|
20
|
+
let abortController;
|
|
21
|
+
vue.onScopeDispose(() => {
|
|
22
|
+
abortController?.abort();
|
|
23
|
+
executionId++;
|
|
24
|
+
});
|
|
19
25
|
async function execute(input, config) {
|
|
26
|
+
abortController?.abort();
|
|
27
|
+
const controller = new AbortController();
|
|
28
|
+
abortController = controller;
|
|
20
29
|
const currentExecutionId = ++executionId;
|
|
21
30
|
const planner = client;
|
|
22
31
|
status.value = "planning";
|
|
@@ -24,7 +33,8 @@ function usePlanTransaction() {
|
|
|
24
33
|
error.value = null;
|
|
25
34
|
transactionMessage.value = null;
|
|
26
35
|
try {
|
|
27
|
-
const
|
|
36
|
+
const abortSignal = config?.abortSignal ? AbortSignal.any([controller.signal, config.abortSignal]) : controller.signal;
|
|
37
|
+
const message = await planner.planTransaction(input, { abortSignal });
|
|
28
38
|
if (currentExecutionId === executionId) {
|
|
29
39
|
transactionMessage.value = message;
|
|
30
40
|
status.value = "planned";
|
|
@@ -52,9 +62,9 @@ function usePlanTransaction() {
|
|
|
52
62
|
};
|
|
53
63
|
}
|
|
54
64
|
function usePlanTransactions() {
|
|
55
|
-
useClientCapability.useClientCapability(["planTransactions"], {
|
|
65
|
+
useClientCapability.useClientCapability(["planTransactions", "payer"], {
|
|
56
66
|
hookName: "usePlanTransactions",
|
|
57
|
-
providerHint:
|
|
67
|
+
providerHint: PLANNING_PROVIDER_HINT
|
|
58
68
|
});
|
|
59
69
|
const { client } = useSolanaClient.useSolanaClient();
|
|
60
70
|
const transactionPlan = vue.shallowRef(null);
|
|
@@ -62,7 +72,15 @@ function usePlanTransactions() {
|
|
|
62
72
|
const loading = vue.ref(false);
|
|
63
73
|
const error = vue.ref(null);
|
|
64
74
|
let executionId = 0;
|
|
75
|
+
let abortController;
|
|
76
|
+
vue.onScopeDispose(() => {
|
|
77
|
+
abortController?.abort();
|
|
78
|
+
executionId++;
|
|
79
|
+
});
|
|
65
80
|
async function execute(input, config) {
|
|
81
|
+
abortController?.abort();
|
|
82
|
+
const controller = new AbortController();
|
|
83
|
+
abortController = controller;
|
|
66
84
|
const currentExecutionId = ++executionId;
|
|
67
85
|
const planner = client;
|
|
68
86
|
status.value = "planning";
|
|
@@ -70,7 +88,8 @@ function usePlanTransactions() {
|
|
|
70
88
|
error.value = null;
|
|
71
89
|
transactionPlan.value = null;
|
|
72
90
|
try {
|
|
73
|
-
const
|
|
91
|
+
const abortSignal = config?.abortSignal ? AbortSignal.any([controller.signal, config.abortSignal]) : controller.signal;
|
|
92
|
+
const plan = await planner.planTransactions(input, { abortSignal });
|
|
74
93
|
if (currentExecutionId === executionId) {
|
|
75
94
|
transactionPlan.value = plan;
|
|
76
95
|
status.value = "planned";
|
package/dist/useAirdrop.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const useAirdrop = require('./shared/vue.
|
|
3
|
+
const useAirdrop = require('./shared/vue.B4eMoJT2.cjs');
|
|
4
4
|
require('./shared/vue.CoaIWGPT.cjs');
|
|
5
5
|
require('@vue-solana/core/action');
|
|
6
6
|
require('vue');
|
|
7
|
-
require('./shared/vue.
|
|
7
|
+
require('./shared/vue.4C5kX4fE.cjs');
|
|
8
8
|
require('./shared/vue.BIxphCAq.cjs');
|
|
9
9
|
require('./shared/vue.DE3emjSF.cjs');
|
|
10
10
|
require('./shared/vue.DEHxNvUX.cjs');
|
package/dist/useAirdrop.d.cts
CHANGED
|
@@ -9,8 +9,10 @@ import 'vue';
|
|
|
9
9
|
*
|
|
10
10
|
* Requires the client to expose an `airdrop` capability, typically installed
|
|
11
11
|
* with the RPC airdrop plugin, e.g.
|
|
12
|
-
* `createClient().use(
|
|
13
|
-
* `@solana/kit-plugin-rpc`.
|
|
12
|
+
* `createClient().use(solanaRpc({ ... })).use(rpcAirdrop())` from
|
|
13
|
+
* `@solana/kit-plugin-rpc`. `solanaRpc()` is required rather than the
|
|
14
|
+
* read-only `solanaRpcConnection()`: an airdrop signs a request, so the
|
|
15
|
+
* client needs a `payer`. The capability is commonly available on test
|
|
14
16
|
* networks (devnet, testnet) and local validators.
|
|
15
17
|
*
|
|
16
18
|
* Some implementations (e.g. LiteSVM) update balances directly without sending
|
package/dist/useAirdrop.d.mts
CHANGED
|
@@ -9,8 +9,10 @@ import 'vue';
|
|
|
9
9
|
*
|
|
10
10
|
* Requires the client to expose an `airdrop` capability, typically installed
|
|
11
11
|
* with the RPC airdrop plugin, e.g.
|
|
12
|
-
* `createClient().use(
|
|
13
|
-
* `@solana/kit-plugin-rpc`.
|
|
12
|
+
* `createClient().use(solanaRpc({ ... })).use(rpcAirdrop())` from
|
|
13
|
+
* `@solana/kit-plugin-rpc`. `solanaRpc()` is required rather than the
|
|
14
|
+
* read-only `solanaRpcConnection()`: an airdrop signs a request, so the
|
|
15
|
+
* client needs a `payer`. The capability is commonly available on test
|
|
14
16
|
* networks (devnet, testnet) and local validators.
|
|
15
17
|
*
|
|
16
18
|
* Some implementations (e.g. LiteSVM) update balances directly without sending
|
package/dist/useAirdrop.d.ts
CHANGED
|
@@ -9,8 +9,10 @@ import 'vue';
|
|
|
9
9
|
*
|
|
10
10
|
* Requires the client to expose an `airdrop` capability, typically installed
|
|
11
11
|
* with the RPC airdrop plugin, e.g.
|
|
12
|
-
* `createClient().use(
|
|
13
|
-
* `@solana/kit-plugin-rpc`.
|
|
12
|
+
* `createClient().use(solanaRpc({ ... })).use(rpcAirdrop())` from
|
|
13
|
+
* `@solana/kit-plugin-rpc`. `solanaRpc()` is required rather than the
|
|
14
|
+
* read-only `solanaRpcConnection()`: an airdrop signs a request, so the
|
|
15
|
+
* client needs a `payer`. The capability is commonly available on test
|
|
14
16
|
* networks (devnet, testnet) and local validators.
|
|
15
17
|
*
|
|
16
18
|
* Some implementations (e.g. LiteSVM) update balances directly without sending
|
package/dist/useAirdrop.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { u as useAirdrop } from './shared/vue.
|
|
1
|
+
export { u as useAirdrop } from './shared/vue.DDQxNX5q.mjs';
|
|
2
2
|
import './shared/vue.DYk0Xfr3.mjs';
|
|
3
3
|
import '@vue-solana/core/action';
|
|
4
4
|
import 'vue';
|
|
5
|
-
import './shared/vue.
|
|
5
|
+
import './shared/vue.B9uRpSDJ.mjs';
|
|
6
6
|
import './shared/vue.Mxc8w6Qk.mjs';
|
|
7
7
|
import './shared/vue.CQh3AUE8.mjs';
|
|
8
8
|
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { M as MissingClientCapabilityError, u as useClientCapability } from './shared/vue.
|
|
1
|
+
export { M as MissingClientCapabilityError, u as useClientCapability } from './shared/vue.B9uRpSDJ.mjs';
|
|
2
2
|
import './shared/vue.Mxc8w6Qk.mjs';
|
|
3
3
|
import './shared/vue.CQh3AUE8.mjs';
|
|
4
4
|
import 'vue';
|
package/dist/useConnection.d.cts
CHANGED
|
@@ -1,13 +1,46 @@
|
|
|
1
|
+
import * as _solana_kit_plugin_rpc from '@solana/kit-plugin-rpc';
|
|
1
2
|
import * as _solana_kit from '@solana/kit';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated Use `useSolanaClient()` which returns the Kit client instead of
|
|
5
6
|
* the legacy web3-compat Connection.
|
|
6
7
|
*/
|
|
7
|
-
declare function useConnection(): _solana_kit.Client<{
|
|
8
|
+
declare function useConnection(): Omit<_solana_kit.Client<{
|
|
9
|
+
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
10
|
+
abortSignal?: AbortSignal;
|
|
11
|
+
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
12
|
+
payer: _solana_kit.TransactionSigner;
|
|
8
13
|
rpc: _solana_kit.Rpc<_solana_kit.RequestAirdropApi & _solana_kit.GetAccountInfoApi & _solana_kit.GetAgGenesisCertApi & _solana_kit.GetBalanceApi & _solana_kit.GetBlockApi & _solana_kit.GetBlockCommitmentApi & _solana_kit.GetBlockHeightApi & _solana_kit.GetBlockProductionApi & _solana_kit.GetBlocksApi & _solana_kit.GetBlocksWithLimitApi & _solana_kit.GetBlockTimeApi & _solana_kit.GetClusterNodesApi & _solana_kit.GetEpochInfoApi & _solana_kit.GetEpochScheduleApi & _solana_kit.GetFeeForMessageApi & _solana_kit.GetFirstAvailableBlockApi & _solana_kit.GetGenesisHashApi & _solana_kit.GetHealthApi & _solana_kit.GetHighestSnapshotSlotApi & _solana_kit.GetIdentityApi & _solana_kit.GetInflationGovernorApi & _solana_kit.GetInflationRateApi & _solana_kit.GetInflationRewardApi & _solana_kit.GetLargestAccountsApi & _solana_kit.GetLatestBlockhashApi & _solana_kit.GetLeaderScheduleApi & _solana_kit.GetMaxRetransmitSlotApi & _solana_kit.GetMaxShredInsertSlotApi & _solana_kit.GetMinimumBalanceForRentExemptionApi & _solana_kit.GetMultipleAccountsApi & _solana_kit.GetProgramAccountsApi & _solana_kit.GetRecentPerformanceSamplesApi & _solana_kit.GetRecentPrioritizationFeesApi & _solana_kit.GetSignaturesForAddressApi & _solana_kit.GetSignatureStatusesApi & _solana_kit.GetSlotApi & _solana_kit.GetSlotLeaderApi & _solana_kit.GetSlotLeadersApi & _solana_kit.GetStakeMinimumDelegationApi & _solana_kit.GetSupplyApi & _solana_kit.GetTokenAccountBalanceApi & _solana_kit.GetTokenAccountsByDelegateApi & _solana_kit.GetTokenAccountsByOwnerApi & _solana_kit.GetTokenLargestAccountsApi & _solana_kit.GetTokenSupplyApi & _solana_kit.GetTransactionApi & _solana_kit.GetTransactionCountApi & _solana_kit.GetTransactionsForAddressApi & _solana_kit.GetVersionApi & _solana_kit.GetVoteAccountsApi & _solana_kit.IsBlockhashValidApi & _solana_kit.MinimumLedgerSlotApi & _solana_kit.SendTransactionApi & _solana_kit.SimulateTransactionApi>;
|
|
9
14
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
15
|
+
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
16
|
+
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
|
+
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
24
|
+
kind: "single";
|
|
25
|
+
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
26
|
+
planType: "transactionPlan";
|
|
27
|
+
}>, config?: {
|
|
28
|
+
abortSignal?: AbortSignal;
|
|
29
|
+
}) => Promise<_solana_kit.SuccessfulSingleTransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
30
|
+
transactionPlanExecutor: _solana_kit.TransactionPlanExecutor<_solana_kit_plugin_rpc.RpcSendContext>;
|
|
31
|
+
sendTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
32
|
+
kind: "single";
|
|
33
|
+
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
34
|
+
planType: "transactionPlan";
|
|
35
|
+
}>, config?: {
|
|
36
|
+
abortSignal?: AbortSignal;
|
|
37
|
+
}) => Promise<_solana_kit.SuccessfulSingleTransactionPlanResult<_solana_kit_plugin_rpc.RpcSendContext>>;
|
|
38
|
+
sendTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
39
|
+
abortSignal?: AbortSignal;
|
|
40
|
+
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSendContext>>;
|
|
10
41
|
airdrop: (address: _solana_kit.Address, amount: _solana_kit.Lamports, abortSignal?: AbortSignal) => Promise<_solana_kit.Signature | undefined>;
|
|
11
|
-
}
|
|
42
|
+
}>, "payer"> & {
|
|
43
|
+
payer?: _solana_kit.TransactionSigner;
|
|
44
|
+
};
|
|
12
45
|
|
|
13
46
|
export { useConnection };
|
package/dist/useConnection.d.mts
CHANGED
|
@@ -1,13 +1,46 @@
|
|
|
1
|
+
import * as _solana_kit_plugin_rpc from '@solana/kit-plugin-rpc';
|
|
1
2
|
import * as _solana_kit from '@solana/kit';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated Use `useSolanaClient()` which returns the Kit client instead of
|
|
5
6
|
* the legacy web3-compat Connection.
|
|
6
7
|
*/
|
|
7
|
-
declare function useConnection(): _solana_kit.Client<{
|
|
8
|
+
declare function useConnection(): Omit<_solana_kit.Client<{
|
|
9
|
+
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
10
|
+
abortSignal?: AbortSignal;
|
|
11
|
+
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
12
|
+
payer: _solana_kit.TransactionSigner;
|
|
8
13
|
rpc: _solana_kit.Rpc<_solana_kit.RequestAirdropApi & _solana_kit.GetAccountInfoApi & _solana_kit.GetAgGenesisCertApi & _solana_kit.GetBalanceApi & _solana_kit.GetBlockApi & _solana_kit.GetBlockCommitmentApi & _solana_kit.GetBlockHeightApi & _solana_kit.GetBlockProductionApi & _solana_kit.GetBlocksApi & _solana_kit.GetBlocksWithLimitApi & _solana_kit.GetBlockTimeApi & _solana_kit.GetClusterNodesApi & _solana_kit.GetEpochInfoApi & _solana_kit.GetEpochScheduleApi & _solana_kit.GetFeeForMessageApi & _solana_kit.GetFirstAvailableBlockApi & _solana_kit.GetGenesisHashApi & _solana_kit.GetHealthApi & _solana_kit.GetHighestSnapshotSlotApi & _solana_kit.GetIdentityApi & _solana_kit.GetInflationGovernorApi & _solana_kit.GetInflationRateApi & _solana_kit.GetInflationRewardApi & _solana_kit.GetLargestAccountsApi & _solana_kit.GetLatestBlockhashApi & _solana_kit.GetLeaderScheduleApi & _solana_kit.GetMaxRetransmitSlotApi & _solana_kit.GetMaxShredInsertSlotApi & _solana_kit.GetMinimumBalanceForRentExemptionApi & _solana_kit.GetMultipleAccountsApi & _solana_kit.GetProgramAccountsApi & _solana_kit.GetRecentPerformanceSamplesApi & _solana_kit.GetRecentPrioritizationFeesApi & _solana_kit.GetSignaturesForAddressApi & _solana_kit.GetSignatureStatusesApi & _solana_kit.GetSlotApi & _solana_kit.GetSlotLeaderApi & _solana_kit.GetSlotLeadersApi & _solana_kit.GetStakeMinimumDelegationApi & _solana_kit.GetSupplyApi & _solana_kit.GetTokenAccountBalanceApi & _solana_kit.GetTokenAccountsByDelegateApi & _solana_kit.GetTokenAccountsByOwnerApi & _solana_kit.GetTokenLargestAccountsApi & _solana_kit.GetTokenSupplyApi & _solana_kit.GetTransactionApi & _solana_kit.GetTransactionCountApi & _solana_kit.GetTransactionsForAddressApi & _solana_kit.GetVersionApi & _solana_kit.GetVoteAccountsApi & _solana_kit.IsBlockhashValidApi & _solana_kit.MinimumLedgerSlotApi & _solana_kit.SendTransactionApi & _solana_kit.SimulateTransactionApi>;
|
|
9
14
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
15
|
+
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
16
|
+
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
|
+
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
24
|
+
kind: "single";
|
|
25
|
+
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
26
|
+
planType: "transactionPlan";
|
|
27
|
+
}>, config?: {
|
|
28
|
+
abortSignal?: AbortSignal;
|
|
29
|
+
}) => Promise<_solana_kit.SuccessfulSingleTransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
30
|
+
transactionPlanExecutor: _solana_kit.TransactionPlanExecutor<_solana_kit_plugin_rpc.RpcSendContext>;
|
|
31
|
+
sendTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
32
|
+
kind: "single";
|
|
33
|
+
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
34
|
+
planType: "transactionPlan";
|
|
35
|
+
}>, config?: {
|
|
36
|
+
abortSignal?: AbortSignal;
|
|
37
|
+
}) => Promise<_solana_kit.SuccessfulSingleTransactionPlanResult<_solana_kit_plugin_rpc.RpcSendContext>>;
|
|
38
|
+
sendTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
39
|
+
abortSignal?: AbortSignal;
|
|
40
|
+
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSendContext>>;
|
|
10
41
|
airdrop: (address: _solana_kit.Address, amount: _solana_kit.Lamports, abortSignal?: AbortSignal) => Promise<_solana_kit.Signature | undefined>;
|
|
11
|
-
}
|
|
42
|
+
}>, "payer"> & {
|
|
43
|
+
payer?: _solana_kit.TransactionSigner;
|
|
44
|
+
};
|
|
12
45
|
|
|
13
46
|
export { useConnection };
|
package/dist/useConnection.d.ts
CHANGED
|
@@ -1,13 +1,46 @@
|
|
|
1
|
+
import * as _solana_kit_plugin_rpc from '@solana/kit-plugin-rpc';
|
|
1
2
|
import * as _solana_kit from '@solana/kit';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated Use `useSolanaClient()` which returns the Kit client instead of
|
|
5
6
|
* the legacy web3-compat Connection.
|
|
6
7
|
*/
|
|
7
|
-
declare function useConnection(): _solana_kit.Client<{
|
|
8
|
+
declare function useConnection(): Omit<_solana_kit.Client<{
|
|
9
|
+
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
10
|
+
abortSignal?: AbortSignal;
|
|
11
|
+
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
12
|
+
payer: _solana_kit.TransactionSigner;
|
|
8
13
|
rpc: _solana_kit.Rpc<_solana_kit.RequestAirdropApi & _solana_kit.GetAccountInfoApi & _solana_kit.GetAgGenesisCertApi & _solana_kit.GetBalanceApi & _solana_kit.GetBlockApi & _solana_kit.GetBlockCommitmentApi & _solana_kit.GetBlockHeightApi & _solana_kit.GetBlockProductionApi & _solana_kit.GetBlocksApi & _solana_kit.GetBlocksWithLimitApi & _solana_kit.GetBlockTimeApi & _solana_kit.GetClusterNodesApi & _solana_kit.GetEpochInfoApi & _solana_kit.GetEpochScheduleApi & _solana_kit.GetFeeForMessageApi & _solana_kit.GetFirstAvailableBlockApi & _solana_kit.GetGenesisHashApi & _solana_kit.GetHealthApi & _solana_kit.GetHighestSnapshotSlotApi & _solana_kit.GetIdentityApi & _solana_kit.GetInflationGovernorApi & _solana_kit.GetInflationRateApi & _solana_kit.GetInflationRewardApi & _solana_kit.GetLargestAccountsApi & _solana_kit.GetLatestBlockhashApi & _solana_kit.GetLeaderScheduleApi & _solana_kit.GetMaxRetransmitSlotApi & _solana_kit.GetMaxShredInsertSlotApi & _solana_kit.GetMinimumBalanceForRentExemptionApi & _solana_kit.GetMultipleAccountsApi & _solana_kit.GetProgramAccountsApi & _solana_kit.GetRecentPerformanceSamplesApi & _solana_kit.GetRecentPrioritizationFeesApi & _solana_kit.GetSignaturesForAddressApi & _solana_kit.GetSignatureStatusesApi & _solana_kit.GetSlotApi & _solana_kit.GetSlotLeaderApi & _solana_kit.GetSlotLeadersApi & _solana_kit.GetStakeMinimumDelegationApi & _solana_kit.GetSupplyApi & _solana_kit.GetTokenAccountBalanceApi & _solana_kit.GetTokenAccountsByDelegateApi & _solana_kit.GetTokenAccountsByOwnerApi & _solana_kit.GetTokenLargestAccountsApi & _solana_kit.GetTokenSupplyApi & _solana_kit.GetTransactionApi & _solana_kit.GetTransactionCountApi & _solana_kit.GetTransactionsForAddressApi & _solana_kit.GetVersionApi & _solana_kit.GetVoteAccountsApi & _solana_kit.IsBlockhashValidApi & _solana_kit.MinimumLedgerSlotApi & _solana_kit.SendTransactionApi & _solana_kit.SimulateTransactionApi>;
|
|
9
14
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
15
|
+
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
16
|
+
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
|
+
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
24
|
+
kind: "single";
|
|
25
|
+
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
26
|
+
planType: "transactionPlan";
|
|
27
|
+
}>, config?: {
|
|
28
|
+
abortSignal?: AbortSignal;
|
|
29
|
+
}) => Promise<_solana_kit.SuccessfulSingleTransactionPlanResult<_solana_kit_plugin_rpc.RpcSignContext>>;
|
|
30
|
+
transactionPlanExecutor: _solana_kit.TransactionPlanExecutor<_solana_kit_plugin_rpc.RpcSendContext>;
|
|
31
|
+
sendTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
32
|
+
kind: "single";
|
|
33
|
+
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
34
|
+
planType: "transactionPlan";
|
|
35
|
+
}>, config?: {
|
|
36
|
+
abortSignal?: AbortSignal;
|
|
37
|
+
}) => Promise<_solana_kit.SuccessfulSingleTransactionPlanResult<_solana_kit_plugin_rpc.RpcSendContext>>;
|
|
38
|
+
sendTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
39
|
+
abortSignal?: AbortSignal;
|
|
40
|
+
}) => Promise<_solana_kit.TransactionPlanResult<_solana_kit_plugin_rpc.RpcSendContext>>;
|
|
10
41
|
airdrop: (address: _solana_kit.Address, amount: _solana_kit.Lamports, abortSignal?: AbortSignal) => Promise<_solana_kit.Signature | undefined>;
|
|
11
|
-
}
|
|
42
|
+
}>, "payer"> & {
|
|
43
|
+
payer?: _solana_kit.TransactionSigner;
|
|
44
|
+
};
|
|
12
45
|
|
|
13
46
|
export { useConnection };
|
package/dist/useIdentity.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const usePayer = require('./shared/vue.
|
|
3
|
+
const usePayer = require('./shared/vue.ldvmk9NM.cjs');
|
|
4
4
|
require('vue');
|
|
5
|
-
require('./shared/vue.
|
|
5
|
+
require('./shared/vue.4C5kX4fE.cjs');
|
|
6
6
|
require('./shared/vue.BIxphCAq.cjs');
|
|
7
7
|
require('./shared/vue.DE3emjSF.cjs');
|
|
8
8
|
require('./shared/vue.DEHxNvUX.cjs');
|
package/dist/useIdentity.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { u as useIdentity } from './shared/vue.
|
|
1
|
+
export { u as useIdentity } from './shared/vue.B-xtuLtD.mjs';
|
|
2
2
|
import 'vue';
|
|
3
|
-
import './shared/vue.
|
|
3
|
+
import './shared/vue.B9uRpSDJ.mjs';
|
|
4
4
|
import './shared/vue.Mxc8w6Qk.mjs';
|
|
5
5
|
import './shared/vue.CQh3AUE8.mjs';
|
|
6
6
|
import './shared/vue.D_P5SqqD.mjs';
|
package/dist/usePayer.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const usePayer = require('./shared/vue.
|
|
3
|
+
const usePayer = require('./shared/vue.ldvmk9NM.cjs');
|
|
4
4
|
require('vue');
|
|
5
|
-
require('./shared/vue.
|
|
5
|
+
require('./shared/vue.4C5kX4fE.cjs');
|
|
6
6
|
require('./shared/vue.BIxphCAq.cjs');
|
|
7
7
|
require('./shared/vue.DE3emjSF.cjs');
|
|
8
8
|
require('./shared/vue.DEHxNvUX.cjs');
|
package/dist/usePayer.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { u as useIdentity, a as usePayer } from './shared/vue.
|
|
1
|
+
export { u as useIdentity, a as usePayer } from './shared/vue.B-xtuLtD.mjs';
|
|
2
2
|
import 'vue';
|
|
3
|
-
import './shared/vue.
|
|
3
|
+
import './shared/vue.B9uRpSDJ.mjs';
|
|
4
4
|
import './shared/vue.Mxc8w6Qk.mjs';
|
|
5
5
|
import './shared/vue.CQh3AUE8.mjs';
|
|
6
6
|
import './shared/vue.D_P5SqqD.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const usePlanTransaction = require('./shared/vue.
|
|
3
|
+
const usePlanTransaction = require('./shared/vue.Dn3KLJZH.cjs');
|
|
4
4
|
require('@vue-solana/core/errors');
|
|
5
5
|
require('vue');
|
|
6
|
-
require('./shared/vue.
|
|
6
|
+
require('./shared/vue.4C5kX4fE.cjs');
|
|
7
7
|
require('./shared/vue.BIxphCAq.cjs');
|
|
8
8
|
require('./shared/vue.DE3emjSF.cjs');
|
|
9
9
|
require('./shared/vue.DEHxNvUX.cjs');
|