@vue-solana/vue 0.7.0 → 0.8.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.cjs +74 -39
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +74 -40
- package/dist/shared/{vue.CGVdFmYI.mjs → vue.B7w1CC4R.mjs} +10 -6
- package/dist/shared/{vue.CM6qb_s8.mjs → vue.BBNHeOeb.mjs} +16 -29
- package/dist/shared/{vue.CUTLu1Gf.mjs → vue.BTN0h5Il.mjs} +6 -4
- package/dist/shared/{vue.CwhEmATP.cjs → vue.Bii4W61L.cjs} +1 -1
- package/dist/shared/{vue.dmuispJ3.cjs → vue.BleajB0B.cjs} +6 -4
- package/dist/shared/{vue.gLqkzJY4.mjs → vue.C4d2JA8U.mjs} +7 -23
- package/dist/shared/{vue.COyyrsQU.cjs → vue.C5C3l0RQ.cjs} +1 -1
- package/dist/shared/{vue.DQi38JeF.cjs → vue.CE5i8KZZ.cjs} +6 -23
- package/dist/shared/{vue.BPnK_lsh.cjs → vue.CKXhlRu-.cjs} +8 -6
- package/dist/shared/{vue.DlEAL2G8.mjs → vue.CKx4lRew.mjs} +1 -1
- package/dist/shared/{vue.DWiQYhb8.cjs → vue.CMJANJ4a.cjs} +18 -31
- package/dist/shared/{vue.DUufwq8y.cjs → vue.CXNFQf3l.cjs} +10 -8
- package/dist/shared/{vue.DHVYJk8P.cjs → vue.CZohWxBN.cjs} +5 -3
- package/dist/shared/{vue.BqDzSepb.mjs → vue.ChnRkpDR.mjs} +1 -1
- package/dist/shared/{vue.h-uS8MXN.mjs → vue.Cvg6TEXE.mjs} +1 -1
- package/dist/shared/{vue.P9tgeC5S.cjs → vue.D5Kmwcx3.cjs} +1 -1
- package/dist/shared/{vue.D_AM1Nl8.cjs → vue.D6U1RFZ0.cjs} +15 -9
- package/dist/shared/{vue.1M_c5FWA.mjs → vue.DCDTsSjf.mjs} +3 -1
- package/dist/shared/{vue.DGhodYJh.d.mts → vue.DL3z5PxP.d.cts} +2 -1
- package/dist/shared/{vue.DGhodYJh.d.ts → vue.DL3z5PxP.d.mts} +2 -1
- package/dist/shared/{vue.DGhodYJh.d.cts → vue.DL3z5PxP.d.ts} +2 -1
- package/dist/shared/{vue.DQhHHVu6.mjs → vue.DOpWV4b3.mjs} +12 -6
- package/dist/shared/{vue.JC5FdU2O.mjs → vue.DZWyk9E_.mjs} +10 -8
- package/dist/shared/{vue.jOsz34kz.mjs → vue.DaoqgzJC.mjs} +5 -3
- package/dist/shared/{vue.7TzeDJZX.mjs → vue.DgPfVZnU.mjs} +8 -6
- package/dist/shared/{vue.D1knFN3X.cjs → vue.Dp894nYb.cjs} +6 -8
- package/dist/shared/{vue.C4tLiG3R.cjs → vue.eNXmiI3a.cjs} +3 -1
- package/dist/shared/{vue.BwipRa1w.cjs → vue.o-mWY2Yg.cjs} +29 -25
- package/dist/shared/{vue.BeuIPLGM.mjs → vue.vn--SX8d.mjs} +7 -9
- package/dist/useAccountInfo.cjs +5 -4
- package/dist/useAccountInfo.d.cts +2 -1
- package/dist/useAccountInfo.d.mts +2 -1
- package/dist/useAccountInfo.d.ts +2 -1
- package/dist/useAccountInfo.mjs +5 -4
- package/dist/useBalance.cjs +6 -5
- package/dist/useBalance.d.cts +2 -1
- package/dist/useBalance.d.mts +2 -1
- package/dist/useBalance.d.ts +2 -1
- package/dist/useBalance.mjs +6 -5
- package/dist/useConnection.cjs +3 -3
- package/dist/useConnection.mjs +3 -3
- package/dist/useProgramAccounts.cjs +5 -4
- package/dist/useProgramAccounts.d.cts +2 -1
- package/dist/useProgramAccounts.d.mts +2 -1
- package/dist/useProgramAccounts.d.ts +2 -1
- package/dist/useProgramAccounts.mjs +5 -4
- package/dist/useRpc.cjs +2 -2
- package/dist/useRpc.d.cts +3 -2
- package/dist/useRpc.d.mts +3 -2
- package/dist/useRpc.d.ts +3 -2
- package/dist/useRpc.mjs +2 -2
- package/dist/useSignAndSendTransaction.cjs +9 -6
- package/dist/useSignAndSendTransaction.d.cts +2 -1
- package/dist/useSignAndSendTransaction.d.mts +2 -1
- package/dist/useSignAndSendTransaction.d.ts +2 -1
- package/dist/useSignAndSendTransaction.mjs +9 -6
- package/dist/useSignMessage.cjs +4 -3
- package/dist/useSignMessage.d.cts +2 -1
- package/dist/useSignMessage.d.mts +2 -1
- package/dist/useSignMessage.d.ts +2 -1
- package/dist/useSignMessage.mjs +4 -3
- package/dist/useSignatureStatus.cjs +5 -4
- package/dist/useSignatureStatus.d.cts +2 -1
- package/dist/useSignatureStatus.d.mts +2 -1
- package/dist/useSignatureStatus.d.ts +2 -1
- package/dist/useSignatureStatus.mjs +5 -4
- package/dist/useSolana.cjs +1 -1
- package/dist/useSolana.d.cts +2 -1
- package/dist/useSolana.d.mts +2 -1
- package/dist/useSolana.d.ts +2 -1
- package/dist/useSolana.mjs +1 -1
- package/dist/useTransaction.cjs +3 -1
- package/dist/useTransaction.d.cts +2 -1
- package/dist/useTransaction.d.mts +2 -1
- package/dist/useTransaction.d.ts +2 -1
- package/dist/useTransaction.mjs +3 -1
- package/dist/useTransactionConfirmation.cjs +5 -4
- package/dist/useTransactionConfirmation.d.cts +2 -1
- package/dist/useTransactionConfirmation.d.mts +2 -1
- package/dist/useTransactionConfirmation.d.ts +2 -1
- package/dist/useTransactionConfirmation.mjs +5 -4
- package/dist/useWallet.cjs +4 -2
- package/dist/useWallet.mjs +4 -2
- package/dist/useWallets.cjs +2 -2
- package/dist/useWallets.mjs +2 -2
- package/package.json +2 -2
package/dist/useSignMessage.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const useSignMessage = require('./shared/vue.
|
|
3
|
+
const useSignMessage = require('./shared/vue.Dp894nYb.cjs');
|
|
4
|
+
require('@vue-solana/core/errors');
|
|
4
5
|
require('@vue-solana/core/wallet');
|
|
5
6
|
require('vue');
|
|
6
|
-
require('./shared/vue.
|
|
7
|
-
require('./shared/vue.
|
|
7
|
+
require('./shared/vue.o-mWY2Yg.cjs');
|
|
8
|
+
require('./shared/vue.eNXmiI3a.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
2
3
|
import { SolanaSignMessageResult } from '@vue-solana/core/types';
|
|
3
4
|
|
|
4
5
|
type SignMessageStatus = "idle" | "signing" | "signed" | "error";
|
|
@@ -227,7 +228,7 @@ declare function useSignMessage(): {
|
|
|
227
228
|
} | null>;
|
|
228
229
|
status: vue.Ref<SignMessageStatus, SignMessageStatus>;
|
|
229
230
|
loading: vue.Ref<boolean, boolean>;
|
|
230
|
-
error: vue.Ref<
|
|
231
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
231
232
|
execute: (message: Uint8Array) => Promise<SolanaSignMessageResult>;
|
|
232
233
|
};
|
|
233
234
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
2
3
|
import { SolanaSignMessageResult } from '@vue-solana/core/types';
|
|
3
4
|
|
|
4
5
|
type SignMessageStatus = "idle" | "signing" | "signed" | "error";
|
|
@@ -227,7 +228,7 @@ declare function useSignMessage(): {
|
|
|
227
228
|
} | null>;
|
|
228
229
|
status: vue.Ref<SignMessageStatus, SignMessageStatus>;
|
|
229
230
|
loading: vue.Ref<boolean, boolean>;
|
|
230
|
-
error: vue.Ref<
|
|
231
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
231
232
|
execute: (message: Uint8Array) => Promise<SolanaSignMessageResult>;
|
|
232
233
|
};
|
|
233
234
|
|
package/dist/useSignMessage.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
2
3
|
import { SolanaSignMessageResult } from '@vue-solana/core/types';
|
|
3
4
|
|
|
4
5
|
type SignMessageStatus = "idle" | "signing" | "signed" | "error";
|
|
@@ -227,7 +228,7 @@ declare function useSignMessage(): {
|
|
|
227
228
|
} | null>;
|
|
228
229
|
status: vue.Ref<SignMessageStatus, SignMessageStatus>;
|
|
229
230
|
loading: vue.Ref<boolean, boolean>;
|
|
230
|
-
error: vue.Ref<
|
|
231
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
231
232
|
execute: (message: Uint8Array) => Promise<SolanaSignMessageResult>;
|
|
232
233
|
};
|
|
233
234
|
|
package/dist/useSignMessage.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { u as useSignMessage } from './shared/vue.
|
|
1
|
+
export { u as useSignMessage } from './shared/vue.vn--SX8d.mjs';
|
|
2
|
+
import '@vue-solana/core/errors';
|
|
2
3
|
import '@vue-solana/core/wallet';
|
|
3
4
|
import 'vue';
|
|
4
|
-
import './shared/vue.
|
|
5
|
-
import './shared/vue.
|
|
5
|
+
import './shared/vue.B7w1CC4R.mjs';
|
|
6
|
+
import './shared/vue.DCDTsSjf.mjs';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const useSignatureStatus = require('./shared/vue.
|
|
3
|
+
const useSignatureStatus = require('./shared/vue.CXNFQf3l.cjs');
|
|
4
|
+
require('@vue-solana/core/errors');
|
|
4
5
|
require('bs58');
|
|
5
6
|
require('vue');
|
|
6
|
-
require('./shared/vue.
|
|
7
|
-
require('./shared/vue.
|
|
8
|
-
require('./shared/vue.
|
|
7
|
+
require('./shared/vue.Bii4W61L.cjs');
|
|
8
|
+
require('./shared/vue.C5C3l0RQ.cjs');
|
|
9
|
+
require('./shared/vue.eNXmiI3a.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { MaybeRefOrGetter } from 'vue';
|
|
3
3
|
import { Commitment, TransactionSignature } from '@solana/web3-compat';
|
|
4
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
5
|
|
|
5
6
|
interface UseSignatureStatusOptions {
|
|
6
7
|
commitment?: Commitment;
|
|
@@ -11,7 +12,7 @@ interface UseSignatureStatusOptions {
|
|
|
11
12
|
declare function useSignatureStatus(signature: MaybeRefOrGetter<TransactionSignature | null | undefined>, options?: UseSignatureStatusOptions): {
|
|
12
13
|
status: any;
|
|
13
14
|
loading: vue.ShallowRef<boolean, boolean>;
|
|
14
|
-
error: vue.ShallowRef<
|
|
15
|
+
error: vue.ShallowRef<SolanaError | null, SolanaError | null>;
|
|
15
16
|
refresh: () => Promise<any>;
|
|
16
17
|
stopPolling: () => void;
|
|
17
18
|
stopSubscription: () => Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { MaybeRefOrGetter } from 'vue';
|
|
3
3
|
import { Commitment, TransactionSignature } from '@solana/web3-compat';
|
|
4
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
5
|
|
|
5
6
|
interface UseSignatureStatusOptions {
|
|
6
7
|
commitment?: Commitment;
|
|
@@ -11,7 +12,7 @@ interface UseSignatureStatusOptions {
|
|
|
11
12
|
declare function useSignatureStatus(signature: MaybeRefOrGetter<TransactionSignature | null | undefined>, options?: UseSignatureStatusOptions): {
|
|
12
13
|
status: any;
|
|
13
14
|
loading: vue.ShallowRef<boolean, boolean>;
|
|
14
|
-
error: vue.ShallowRef<
|
|
15
|
+
error: vue.ShallowRef<SolanaError | null, SolanaError | null>;
|
|
15
16
|
refresh: () => Promise<any>;
|
|
16
17
|
stopPolling: () => void;
|
|
17
18
|
stopSubscription: () => Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { MaybeRefOrGetter } from 'vue';
|
|
3
3
|
import { Commitment, TransactionSignature } from '@solana/web3-compat';
|
|
4
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
5
|
|
|
5
6
|
interface UseSignatureStatusOptions {
|
|
6
7
|
commitment?: Commitment;
|
|
@@ -11,7 +12,7 @@ interface UseSignatureStatusOptions {
|
|
|
11
12
|
declare function useSignatureStatus(signature: MaybeRefOrGetter<TransactionSignature | null | undefined>, options?: UseSignatureStatusOptions): {
|
|
12
13
|
status: any;
|
|
13
14
|
loading: vue.ShallowRef<boolean, boolean>;
|
|
14
|
-
error: vue.ShallowRef<
|
|
15
|
+
error: vue.ShallowRef<SolanaError | null, SolanaError | null>;
|
|
15
16
|
refresh: () => Promise<any>;
|
|
16
17
|
stopPolling: () => void;
|
|
17
18
|
stopSubscription: () => Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { u as useSignatureStatus } from './shared/vue.
|
|
1
|
+
export { u as useSignatureStatus } from './shared/vue.DZWyk9E_.mjs';
|
|
2
|
+
import '@vue-solana/core/errors';
|
|
2
3
|
import 'bs58';
|
|
3
4
|
import 'vue';
|
|
4
|
-
import './shared/vue.
|
|
5
|
-
import './shared/vue.
|
|
6
|
-
import './shared/vue.
|
|
5
|
+
import './shared/vue.CKx4lRew.mjs';
|
|
6
|
+
import './shared/vue.ChnRkpDR.mjs';
|
|
7
|
+
import './shared/vue.DCDTsSjf.mjs';
|
package/dist/useSolana.cjs
CHANGED
package/dist/useSolana.d.cts
CHANGED
package/dist/useSolana.d.mts
CHANGED
package/dist/useSolana.d.ts
CHANGED
package/dist/useSolana.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { t as tryUseSolana, u as useSolana } from './shared/vue.
|
|
1
|
+
export { t as tryUseSolana, u as useSolana } from './shared/vue.DCDTsSjf.mjs';
|
|
2
2
|
import 'vue';
|
package/dist/useTransaction.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { TransactionSignature } from '@solana/web3-compat';
|
|
3
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
3
4
|
|
|
4
5
|
interface UseTransactionOptions {
|
|
5
6
|
timeoutMs?: number;
|
|
@@ -8,7 +9,7 @@ interface UseTransactionOptions {
|
|
|
8
9
|
declare function useTransaction<TArgs extends unknown[]>(handler: (...args: TArgs) => Promise<TransactionSignature>, options?: UseTransactionOptions): {
|
|
9
10
|
signature: any;
|
|
10
11
|
loading: vue.Ref<boolean, boolean>;
|
|
11
|
-
error: vue.Ref<
|
|
12
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
12
13
|
execute: (...args: TArgs) => Promise<TransactionSignature>;
|
|
13
14
|
};
|
|
14
15
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { TransactionSignature } from '@solana/web3-compat';
|
|
3
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
3
4
|
|
|
4
5
|
interface UseTransactionOptions {
|
|
5
6
|
timeoutMs?: number;
|
|
@@ -8,7 +9,7 @@ interface UseTransactionOptions {
|
|
|
8
9
|
declare function useTransaction<TArgs extends unknown[]>(handler: (...args: TArgs) => Promise<TransactionSignature>, options?: UseTransactionOptions): {
|
|
9
10
|
signature: any;
|
|
10
11
|
loading: vue.Ref<boolean, boolean>;
|
|
11
|
-
error: vue.Ref<
|
|
12
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
12
13
|
execute: (...args: TArgs) => Promise<TransactionSignature>;
|
|
13
14
|
};
|
|
14
15
|
|
package/dist/useTransaction.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { TransactionSignature } from '@solana/web3-compat';
|
|
3
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
3
4
|
|
|
4
5
|
interface UseTransactionOptions {
|
|
5
6
|
timeoutMs?: number;
|
|
@@ -8,7 +9,7 @@ interface UseTransactionOptions {
|
|
|
8
9
|
declare function useTransaction<TArgs extends unknown[]>(handler: (...args: TArgs) => Promise<TransactionSignature>, options?: UseTransactionOptions): {
|
|
9
10
|
signature: any;
|
|
10
11
|
loading: vue.Ref<boolean, boolean>;
|
|
11
|
-
error: vue.Ref<
|
|
12
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
12
13
|
execute: (...args: TArgs) => Promise<TransactionSignature>;
|
|
13
14
|
};
|
|
14
15
|
|
package/dist/useTransaction.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const useTransactionConfirmation = require('./shared/vue.
|
|
3
|
+
const useTransactionConfirmation = require('./shared/vue.CZohWxBN.cjs');
|
|
4
4
|
require('@vue-solana/core/transaction');
|
|
5
|
+
require('@vue-solana/core/errors');
|
|
5
6
|
require('vue');
|
|
6
|
-
require('./shared/vue.
|
|
7
|
-
require('./shared/vue.
|
|
8
|
-
require('./shared/vue.
|
|
7
|
+
require('./shared/vue.Bii4W61L.cjs');
|
|
8
|
+
require('./shared/vue.C5C3l0RQ.cjs');
|
|
9
|
+
require('./shared/vue.eNXmiI3a.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { TransactionConfirmation, ConfirmTransactionOptions } from '@vue-solana/core/types';
|
|
3
3
|
import { TransactionSignature } from '@solana/web3-compat';
|
|
4
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
5
|
|
|
5
6
|
type TransactionConfirmationStatus = "idle" | "confirming" | "processed" | "confirmed" | "finalized" | "error";
|
|
6
7
|
declare function getConfirmedTransactionStatus(confirmation: TransactionConfirmation): Extract<TransactionConfirmationStatus, "processed" | "confirmed" | "finalized">;
|
|
@@ -17,7 +18,7 @@ declare function useTransactionConfirmation(defaultOptions?: ConfirmTransactionO
|
|
|
17
18
|
} | null>;
|
|
18
19
|
status: vue.Ref<TransactionConfirmationStatus, TransactionConfirmationStatus>;
|
|
19
20
|
loading: vue.Ref<boolean, boolean>;
|
|
20
|
-
error: vue.Ref<
|
|
21
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
21
22
|
confirm: (nextSignature: TransactionSignature, options?: ConfirmTransactionOptions) => Promise<TransactionConfirmation>;
|
|
22
23
|
reset: () => void;
|
|
23
24
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { TransactionConfirmation, ConfirmTransactionOptions } from '@vue-solana/core/types';
|
|
3
3
|
import { TransactionSignature } from '@solana/web3-compat';
|
|
4
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
5
|
|
|
5
6
|
type TransactionConfirmationStatus = "idle" | "confirming" | "processed" | "confirmed" | "finalized" | "error";
|
|
6
7
|
declare function getConfirmedTransactionStatus(confirmation: TransactionConfirmation): Extract<TransactionConfirmationStatus, "processed" | "confirmed" | "finalized">;
|
|
@@ -17,7 +18,7 @@ declare function useTransactionConfirmation(defaultOptions?: ConfirmTransactionO
|
|
|
17
18
|
} | null>;
|
|
18
19
|
status: vue.Ref<TransactionConfirmationStatus, TransactionConfirmationStatus>;
|
|
19
20
|
loading: vue.Ref<boolean, boolean>;
|
|
20
|
-
error: vue.Ref<
|
|
21
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
21
22
|
confirm: (nextSignature: TransactionSignature, options?: ConfirmTransactionOptions) => Promise<TransactionConfirmation>;
|
|
22
23
|
reset: () => void;
|
|
23
24
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { TransactionConfirmation, ConfirmTransactionOptions } from '@vue-solana/core/types';
|
|
3
3
|
import { TransactionSignature } from '@solana/web3-compat';
|
|
4
|
+
import { SolanaError } from '@vue-solana/core/errors';
|
|
4
5
|
|
|
5
6
|
type TransactionConfirmationStatus = "idle" | "confirming" | "processed" | "confirmed" | "finalized" | "error";
|
|
6
7
|
declare function getConfirmedTransactionStatus(confirmation: TransactionConfirmation): Extract<TransactionConfirmationStatus, "processed" | "confirmed" | "finalized">;
|
|
@@ -17,7 +18,7 @@ declare function useTransactionConfirmation(defaultOptions?: ConfirmTransactionO
|
|
|
17
18
|
} | null>;
|
|
18
19
|
status: vue.Ref<TransactionConfirmationStatus, TransactionConfirmationStatus>;
|
|
19
20
|
loading: vue.Ref<boolean, boolean>;
|
|
20
|
-
error: vue.Ref<
|
|
21
|
+
error: vue.Ref<SolanaError | null, SolanaError | null>;
|
|
21
22
|
confirm: (nextSignature: TransactionSignature, options?: ConfirmTransactionOptions) => Promise<TransactionConfirmation>;
|
|
22
23
|
reset: () => void;
|
|
23
24
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { g as getConfirmedTransactionStatus, u as useTransactionConfirmation } from './shared/vue.
|
|
1
|
+
export { g as getConfirmedTransactionStatus, u as useTransactionConfirmation } from './shared/vue.DaoqgzJC.mjs';
|
|
2
2
|
import '@vue-solana/core/transaction';
|
|
3
|
+
import '@vue-solana/core/errors';
|
|
3
4
|
import 'vue';
|
|
4
|
-
import './shared/vue.
|
|
5
|
-
import './shared/vue.
|
|
6
|
-
import './shared/vue.
|
|
5
|
+
import './shared/vue.CKx4lRew.mjs';
|
|
6
|
+
import './shared/vue.ChnRkpDR.mjs';
|
|
7
|
+
import './shared/vue.DCDTsSjf.mjs';
|
package/dist/useWallet.cjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const useWallet = require('./shared/vue.
|
|
3
|
+
const useWallet = require('./shared/vue.o-mWY2Yg.cjs');
|
|
4
|
+
require('@vue-solana/core/errors');
|
|
5
|
+
require('@vue-solana/core/wallet');
|
|
4
6
|
require('vue');
|
|
5
|
-
require('./shared/vue.
|
|
7
|
+
require('./shared/vue.eNXmiI3a.cjs');
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
|
package/dist/useWallet.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { u as useWallet } from './shared/vue.
|
|
1
|
+
export { u as useWallet } from './shared/vue.B7w1CC4R.mjs';
|
|
2
|
+
import '@vue-solana/core/errors';
|
|
3
|
+
import '@vue-solana/core/wallet';
|
|
2
4
|
import 'vue';
|
|
3
|
-
import './shared/vue.
|
|
5
|
+
import './shared/vue.DCDTsSjf.mjs';
|
package/dist/useWallets.cjs
CHANGED
package/dist/useWallets.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { u as useWallets } from './shared/vue.
|
|
2
|
-
import './shared/vue.
|
|
1
|
+
export { u as useWallets } from './shared/vue.Cvg6TEXE.mjs';
|
|
2
|
+
import './shared/vue.DCDTsSjf.mjs';
|
|
3
3
|
import 'vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Vue plugin and composables for Solana applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"bs58": "^6.0.0",
|
|
107
|
-
"@vue-solana/core": "0.
|
|
107
|
+
"@vue-solana/core": "0.7.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"@solana/web3-compat": "^0.0.21",
|