@vue-solana/vue 4.1.4 → 4.1.6
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/useConnection.d.ts
CHANGED
|
@@ -7,6 +7,14 @@ import * as _solana_kit from '@solana/kit';
|
|
|
7
7
|
* in 5.0.0.
|
|
8
8
|
*/
|
|
9
9
|
declare function useConnection(): Omit<_solana_kit.Client<{
|
|
10
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
11
|
+
abortSignal?: AbortSignal;
|
|
12
|
+
maxInstructionsPerTransaction?: number;
|
|
13
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
14
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
15
|
+
abortSignal?: AbortSignal;
|
|
16
|
+
maxInstructionsPerTransaction?: number;
|
|
17
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
10
18
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
11
19
|
abortSignal?: AbortSignal;
|
|
12
20
|
maxInstructionsPerTransaction?: number;
|
|
@@ -16,14 +24,6 @@ declare function useConnection(): Omit<_solana_kit.Client<{
|
|
|
16
24
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
17
25
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
18
26
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
19
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
20
|
-
abortSignal?: AbortSignal;
|
|
21
|
-
maxInstructionsPerTransaction?: number;
|
|
22
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
23
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
24
|
-
abortSignal?: AbortSignal;
|
|
25
|
-
maxInstructionsPerTransaction?: number;
|
|
26
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
27
27
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
28
28
|
kind: "single";
|
|
29
29
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
package/dist/useRpc.d.ts
CHANGED
|
@@ -15,6 +15,14 @@ declare function useRpc(): {
|
|
|
15
15
|
latestBlockhash: vue.Ref<string | null, string | null>;
|
|
16
16
|
checkConnection: () => Promise<void>;
|
|
17
17
|
client: Omit<_solana_kit.Client<{
|
|
18
|
+
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
19
|
+
abortSignal?: AbortSignal;
|
|
20
|
+
maxInstructionsPerTransaction?: number;
|
|
21
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
22
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
maxInstructionsPerTransaction?: number;
|
|
25
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
18
26
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
19
27
|
abortSignal?: AbortSignal;
|
|
20
28
|
maxInstructionsPerTransaction?: number;
|
|
@@ -24,14 +32,6 @@ declare function useRpc(): {
|
|
|
24
32
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
25
33
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
26
34
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
27
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
28
|
-
abortSignal?: AbortSignal;
|
|
29
|
-
maxInstructionsPerTransaction?: number;
|
|
30
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
31
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
32
|
-
abortSignal?: AbortSignal;
|
|
33
|
-
maxInstructionsPerTransaction?: number;
|
|
34
|
-
}) => Promise<_solana_kit.TransactionPlan>;
|
|
35
35
|
signTransaction: (input: _solana_kit.InstructionPlanInput | (_solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>) | Readonly<{
|
|
36
36
|
kind: "single";
|
|
37
37
|
message: _solana_kit.TransactionMessage & _solana_kit.TransactionMessageWithFeePayer<string>;
|
|
@@ -3,6 +3,14 @@ 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
|
+
maxInstructionsPerTransaction?: number;
|
|
9
|
+
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
10
|
+
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
11
|
+
abortSignal?: AbortSignal;
|
|
12
|
+
maxInstructionsPerTransaction?: number;
|
|
13
|
+
}) => Promise<_solana_kit.TransactionPlan>;
|
|
6
14
|
signTransactions: (input: _solana_kit.InstructionPlanInput | _solana_kit.TransactionPlanInput, config?: {
|
|
7
15
|
abortSignal?: AbortSignal;
|
|
8
16
|
maxInstructionsPerTransaction?: number;
|
|
@@ -12,14 +20,6 @@ declare function useSolanaClient(): {
|
|
|
12
20
|
rpcSubscriptions: _solana_kit.RpcSubscriptions<_solana_kit.SolanaRpcSubscriptionsApi>;
|
|
13
21
|
getMinimumBalance: (space: number, config?: _solana_kit.GetMinimumBalanceConfig) => Promise<_solana_kit.Lamports>;
|
|
14
22
|
transactionPlanner: _solana_kit.TransactionPlanner;
|
|
15
|
-
planTransaction: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
16
|
-
abortSignal?: AbortSignal;
|
|
17
|
-
maxInstructionsPerTransaction?: number;
|
|
18
|
-
}) => Promise<_solana_kit.SingleTransactionPlan["message"]>;
|
|
19
|
-
planTransactions: (input: _solana_kit.InstructionPlanInput, config?: {
|
|
20
|
-
abortSignal?: AbortSignal;
|
|
21
|
-
maxInstructionsPerTransaction?: number;
|
|
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/useSolanaPay.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare function useSolanaPay(): {
|
|
|
6
6
|
requestUrl: vue.ShallowRef<string | null, string | null>;
|
|
7
7
|
parsedRequest: vue.ShallowRef<unknown, unknown>;
|
|
8
8
|
reference: vue.ShallowRef<unknown, unknown>;
|
|
9
|
-
status: vue.ShallowRef<"
|
|
9
|
+
status: vue.ShallowRef<"idle" | "error" | "confirmed" | "finalized" | "pending" | "found" | "expired", "idle" | "error" | "confirmed" | "finalized" | "pending" | "found" | "expired">;
|
|
10
10
|
loading: vue.ShallowRef<boolean, boolean>;
|
|
11
11
|
error: vue.ShallowRef<unknown, unknown>;
|
|
12
12
|
createTransferRequest: (input: Record<string, unknown>) => Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/vue",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"description": "Vue plugin and composables for Solana applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"access": "public"
|
|
195
195
|
},
|
|
196
196
|
"dependencies": {
|
|
197
|
-
"@vue-solana/core": "4.1.
|
|
197
|
+
"@vue-solana/core": "4.1.6"
|
|
198
198
|
},
|
|
199
199
|
"peerDependencies": {
|
|
200
200
|
"vue": "^3.5.0"
|