@getpara/react-core 2.21.0 → 2.22.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/dist/chains/cosmos/index.d.ts +4 -0
- package/dist/chains/cosmos/index.js +19 -0
- package/dist/chains/cosmos/mutations.d.ts +175 -0
- package/dist/chains/cosmos/mutations.js +63 -0
- package/dist/chains/cosmos/types.d.ts +9 -0
- package/dist/chains/cosmos/types.js +0 -0
- package/dist/chains/cosmos/useParaCosmjsAminoSigner.d.ts +54 -0
- package/dist/chains/cosmos/useParaCosmjsAminoSigner.js +115 -0
- package/dist/chains/cosmos/useParaCosmjsProtoSigner.d.ts +56 -0
- package/dist/chains/cosmos/useParaCosmjsProtoSigner.js +115 -0
- package/dist/chains/evm/ethers/index.d.ts +3 -0
- package/dist/chains/evm/ethers/index.js +7 -0
- package/dist/chains/evm/ethers/mutations.d.ts +608 -0
- package/dist/chains/evm/ethers/mutations.js +112 -0
- package/dist/chains/evm/ethers/types.d.ts +8 -0
- package/dist/chains/evm/ethers/types.js +0 -0
- package/dist/chains/evm/ethers/useParaEthersSigner.d.ts +55 -0
- package/dist/chains/evm/ethers/useParaEthersSigner.js +115 -0
- package/dist/chains/evm/viem/index.d.ts +4 -0
- package/dist/chains/evm/viem/index.js +11 -0
- package/dist/chains/evm/viem/mutations.d.ts +546 -0
- package/dist/chains/evm/viem/mutations.js +146 -0
- package/dist/chains/evm/viem/types.d.ts +10 -0
- package/dist/chains/evm/viem/types.js +0 -0
- package/dist/chains/evm/viem/useParaViemAccount.d.ts +44 -0
- package/dist/chains/evm/viem/useParaViemAccount.js +108 -0
- package/dist/chains/evm/viem/useParaViemClient.d.ts +57 -0
- package/dist/chains/evm/viem/useParaViemClient.js +115 -0
- package/dist/chains/index.d.ts +6 -0
- package/dist/chains/index.js +5 -0
- package/dist/chains/resolveWallet.d.ts +20 -0
- package/dist/chains/resolveWallet.js +42 -0
- package/dist/chains/solana/index.d.ts +3 -0
- package/dist/chains/solana/index.js +7 -0
- package/dist/chains/solana/mutations.d.ts +129 -0
- package/dist/chains/solana/mutations.js +59 -0
- package/dist/chains/solana/types.d.ts +7 -0
- package/dist/chains/solana/types.js +0 -0
- package/dist/chains/solana/useParaSolanaSigner.d.ts +59 -0
- package/dist/chains/solana/useParaSolanaSigner.js +108 -0
- package/dist/chains/stellar/index.d.ts +3 -0
- package/dist/chains/stellar/index.js +7 -0
- package/dist/chains/stellar/mutations.d.ts +351 -0
- package/dist/chains/stellar/mutations.js +77 -0
- package/dist/chains/stellar/types.d.ts +3 -0
- package/dist/chains/stellar/types.js +0 -0
- package/dist/chains/stellar/useParaStellarSigner.d.ts +54 -0
- package/dist/chains/stellar/useParaStellarSigner.js +108 -0
- package/dist/chains/types.d.ts +21 -0
- package/dist/chains/types.js +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -1
- package/dist/provider/ParaProviderCore.d.ts +39 -47
- package/dist/provider/ParaProviderCore.js +11 -6
- package/dist/provider/actions/index.d.ts +5 -0
- package/dist/provider/hooks/aa/createSmartAccountHook.js +3 -2
- package/dist/provider/hooks/aa/thirdweb.d.ts +6 -2
- package/dist/provider/hooks/mutations/useAuthenticateWithEmailOrPhone.d.ts +64 -5
- package/dist/provider/hooks/mutations/useAuthenticateWithOAuth.d.ts +64 -5
- package/dist/provider/hooks/mutations/useClaimPregenWallets.d.ts +66 -5
- package/dist/provider/hooks/mutations/useCreateGuestWallets.d.ts +64 -5
- package/dist/provider/hooks/mutations/useCreatePregenWallet.d.ts +66 -5
- package/dist/provider/hooks/mutations/useCreatePregenWalletPerType.d.ts +66 -5
- package/dist/provider/hooks/mutations/useCreateWallet.d.ts +64 -5
- package/dist/provider/hooks/mutations/useCreateWalletPerType.d.ts +64 -5
- package/dist/provider/hooks/mutations/useEnable2fa.d.ts +64 -5
- package/dist/provider/hooks/mutations/useExportPrivateKey.d.ts +112 -5
- package/dist/provider/hooks/mutations/useHasPregenWallet.d.ts +66 -5
- package/dist/provider/hooks/mutations/useIssueJwt.d.ts +64 -5
- package/dist/provider/hooks/mutations/useKeepSessionAlive.d.ts +64 -5
- package/dist/provider/hooks/mutations/useLoginExternalWallet.d.ts +64 -5
- package/dist/provider/hooks/mutations/useLogout.d.ts +64 -5
- package/dist/provider/hooks/mutations/useResendVerificationCode.d.ts +64 -5
- package/dist/provider/hooks/mutations/useSetup2fa.d.ts +64 -5
- package/dist/provider/hooks/mutations/useSignMessage.d.ts +64 -5
- package/dist/provider/hooks/mutations/useSignTransaction.d.ts +64 -5
- package/dist/provider/hooks/mutations/useSignUpOrLogIn.d.ts +64 -5
- package/dist/provider/hooks/mutations/useUpdatePregenWalletIdentifier.d.ts +66 -5
- package/dist/provider/hooks/mutations/useVerify2fa.d.ts +64 -5
- package/dist/provider/hooks/mutations/useVerifyExternalWallet.d.ts +64 -5
- package/dist/provider/hooks/mutations/useVerifyNewAccount.d.ts +64 -5
- package/dist/provider/hooks/mutations/useWaitForLogin.d.ts +64 -5
- package/dist/provider/hooks/mutations/useWaitForSignup.d.ts +64 -5
- package/dist/provider/hooks/mutations/useWaitForWalletCreation.d.ts +64 -5
- package/dist/provider/hooks/queries/createAccountHook.js +3 -3
- package/dist/provider/hooks/queries/useAccount.d.ts +9 -63
- package/dist/provider/hooks/queries/useAccount.js +3 -61
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/stores/index.d.ts +1 -1
- package/dist/provider/stores/index.js +0 -1
- package/dist/provider/utils/renameMutations.d.ts +1 -1
- package/dist/provider/utils/renameMutations.js +1 -14
- package/package.json +68 -3
|
@@ -15,20 +15,79 @@ export declare const SIGN_TRANSACTION_KEY = "SIGN_TRANSACTION";
|
|
|
15
15
|
* await signTransactionAsync({ ...params });
|
|
16
16
|
*/
|
|
17
17
|
export declare const useSignTransaction: () => {
|
|
18
|
+
data: undefined;
|
|
19
|
+
variables: undefined;
|
|
20
|
+
error: null;
|
|
21
|
+
isError: false;
|
|
22
|
+
isIdle: true;
|
|
23
|
+
isPending: false;
|
|
24
|
+
isSuccess: false;
|
|
25
|
+
status: "idle";
|
|
26
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
27
|
+
reset: () => void;
|
|
28
|
+
context: unknown;
|
|
29
|
+
failureCount: number;
|
|
30
|
+
failureReason: Error;
|
|
31
|
+
isPaused: boolean;
|
|
32
|
+
submittedAt: number;
|
|
33
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
34
|
+
signTransaction: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
35
|
+
signTransactionAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
36
|
+
} | {
|
|
37
|
+
data: undefined;
|
|
38
|
+
variables: SignTransactionParams;
|
|
39
|
+
error: null;
|
|
40
|
+
isError: false;
|
|
41
|
+
isIdle: false;
|
|
42
|
+
isPending: true;
|
|
43
|
+
isSuccess: false;
|
|
44
|
+
status: "pending";
|
|
45
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
46
|
+
reset: () => void;
|
|
47
|
+
context: unknown;
|
|
48
|
+
failureCount: number;
|
|
49
|
+
failureReason: Error;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
submittedAt: number;
|
|
52
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
53
|
+
signTransaction: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
54
|
+
signTransactionAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
55
|
+
} | {
|
|
56
|
+
data: undefined;
|
|
18
57
|
error: Error;
|
|
19
|
-
|
|
58
|
+
variables: SignTransactionParams;
|
|
59
|
+
isError: true;
|
|
60
|
+
isIdle: false;
|
|
61
|
+
isPending: false;
|
|
62
|
+
isSuccess: false;
|
|
63
|
+
status: "error";
|
|
64
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
65
|
+
reset: () => void;
|
|
66
|
+
context: unknown;
|
|
67
|
+
failureCount: number;
|
|
68
|
+
failureReason: Error;
|
|
69
|
+
isPaused: boolean;
|
|
70
|
+
submittedAt: number;
|
|
71
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
72
|
+
signTransaction: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
73
|
+
signTransactionAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
74
|
+
} | {
|
|
20
75
|
data: FullSignatureRes;
|
|
76
|
+
error: null;
|
|
21
77
|
variables: SignTransactionParams;
|
|
22
|
-
isError:
|
|
23
|
-
isIdle:
|
|
24
|
-
isPending:
|
|
25
|
-
|
|
78
|
+
isError: false;
|
|
79
|
+
isIdle: false;
|
|
80
|
+
isPending: false;
|
|
81
|
+
isSuccess: true;
|
|
82
|
+
status: "success";
|
|
83
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
26
84
|
reset: () => void;
|
|
27
85
|
context: unknown;
|
|
28
86
|
failureCount: number;
|
|
29
87
|
failureReason: Error;
|
|
30
88
|
isPaused: boolean;
|
|
31
89
|
submittedAt: number;
|
|
90
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
32
91
|
signTransaction: import("@tanstack/react-query").UseMutateFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
33
92
|
signTransactionAsync: import("@tanstack/react-query").UseMutateAsyncFunction<FullSignatureRes, Error, SignTransactionParams, unknown>;
|
|
34
93
|
};
|
|
@@ -15,20 +15,79 @@ export declare const SIGN_UP_LOG_IN_KEY = "SIGN_UP_LOG_IN";
|
|
|
15
15
|
* await signUpOrLogInAsync({ ...params });
|
|
16
16
|
*/
|
|
17
17
|
export declare const useSignUpOrLogIn: () => {
|
|
18
|
+
data: undefined;
|
|
19
|
+
variables: undefined;
|
|
20
|
+
error: null;
|
|
21
|
+
isError: false;
|
|
22
|
+
isIdle: true;
|
|
23
|
+
isPending: false;
|
|
24
|
+
isSuccess: false;
|
|
25
|
+
status: "idle";
|
|
26
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
27
|
+
reset: () => void;
|
|
28
|
+
context: unknown;
|
|
29
|
+
failureCount: number;
|
|
30
|
+
failureReason: Error;
|
|
31
|
+
isPaused: boolean;
|
|
32
|
+
submittedAt: number;
|
|
33
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
34
|
+
signUpOrLogIn: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
35
|
+
signUpOrLogInAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
36
|
+
} | {
|
|
37
|
+
data: undefined;
|
|
38
|
+
variables: SignUpOrLogInParams;
|
|
39
|
+
error: null;
|
|
40
|
+
isError: false;
|
|
41
|
+
isIdle: false;
|
|
42
|
+
isPending: true;
|
|
43
|
+
isSuccess: false;
|
|
44
|
+
status: "pending";
|
|
45
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
46
|
+
reset: () => void;
|
|
47
|
+
context: unknown;
|
|
48
|
+
failureCount: number;
|
|
49
|
+
failureReason: Error;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
submittedAt: number;
|
|
52
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
53
|
+
signUpOrLogIn: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
54
|
+
signUpOrLogInAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
55
|
+
} | {
|
|
56
|
+
data: undefined;
|
|
18
57
|
error: Error;
|
|
19
|
-
|
|
58
|
+
variables: SignUpOrLogInParams;
|
|
59
|
+
isError: true;
|
|
60
|
+
isIdle: false;
|
|
61
|
+
isPending: false;
|
|
62
|
+
isSuccess: false;
|
|
63
|
+
status: "error";
|
|
64
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
65
|
+
reset: () => void;
|
|
66
|
+
context: unknown;
|
|
67
|
+
failureCount: number;
|
|
68
|
+
failureReason: Error;
|
|
69
|
+
isPaused: boolean;
|
|
70
|
+
submittedAt: number;
|
|
71
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
72
|
+
signUpOrLogIn: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
73
|
+
signUpOrLogInAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
74
|
+
} | {
|
|
20
75
|
data: SignUpOrLogInResponse;
|
|
76
|
+
error: null;
|
|
21
77
|
variables: SignUpOrLogInParams;
|
|
22
|
-
isError:
|
|
23
|
-
isIdle:
|
|
24
|
-
isPending:
|
|
25
|
-
|
|
78
|
+
isError: false;
|
|
79
|
+
isIdle: false;
|
|
80
|
+
isPending: false;
|
|
81
|
+
isSuccess: true;
|
|
82
|
+
status: "success";
|
|
83
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
26
84
|
reset: () => void;
|
|
27
85
|
context: unknown;
|
|
28
86
|
failureCount: number;
|
|
29
87
|
failureReason: Error;
|
|
30
88
|
isPaused: boolean;
|
|
31
89
|
submittedAt: number;
|
|
90
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
32
91
|
signUpOrLogIn: import("@tanstack/react-query").UseMutateFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
33
92
|
signUpOrLogInAsync: import("@tanstack/react-query").UseMutateAsyncFunction<SignUpOrLogInResponse, Error, SignUpOrLogInParams, unknown>;
|
|
34
93
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { UpdatePregenWalletIdentifierParams } from '@getpara/core-sdk';
|
|
2
2
|
export declare const UPDATE_PREGEN_WALLET_IDENTIFIER_KEY = "UPDATE_PREGEN_WALLET_IDENTIFIER";
|
|
3
3
|
/**
|
|
4
|
+
* @deprecated Use the REST API (`PATCH /v1/wallets/:id`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen
|
|
5
|
+
*
|
|
4
6
|
* React hook for the `updatePregenWalletIdentifier` mutation.
|
|
5
7
|
*
|
|
6
8
|
* Returns a mutation result object with all standard fields from `useMutation`, except:
|
|
@@ -15,20 +17,79 @@ export declare const UPDATE_PREGEN_WALLET_IDENTIFIER_KEY = "UPDATE_PREGEN_WALLET
|
|
|
15
17
|
* await updatePregenWalletIdentifierAsync({ ...params });
|
|
16
18
|
*/
|
|
17
19
|
export declare const useUpdatePregenWalletIdentifier: () => {
|
|
20
|
+
data: undefined;
|
|
21
|
+
variables: undefined;
|
|
22
|
+
error: null;
|
|
23
|
+
isError: false;
|
|
24
|
+
isIdle: true;
|
|
25
|
+
isPending: false;
|
|
26
|
+
isSuccess: false;
|
|
27
|
+
status: "idle";
|
|
28
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
29
|
+
reset: () => void;
|
|
30
|
+
context: unknown;
|
|
31
|
+
failureCount: number;
|
|
32
|
+
failureReason: Error;
|
|
33
|
+
isPaused: boolean;
|
|
34
|
+
submittedAt: number;
|
|
35
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
36
|
+
updatePregenWalletIdentifier: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
37
|
+
updatePregenWalletIdentifierAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
38
|
+
} | {
|
|
39
|
+
data: undefined;
|
|
40
|
+
variables: UpdatePregenWalletIdentifierParams;
|
|
41
|
+
error: null;
|
|
42
|
+
isError: false;
|
|
43
|
+
isIdle: false;
|
|
44
|
+
isPending: true;
|
|
45
|
+
isSuccess: false;
|
|
46
|
+
status: "pending";
|
|
47
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
48
|
+
reset: () => void;
|
|
49
|
+
context: unknown;
|
|
50
|
+
failureCount: number;
|
|
51
|
+
failureReason: Error;
|
|
52
|
+
isPaused: boolean;
|
|
53
|
+
submittedAt: number;
|
|
54
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
55
|
+
updatePregenWalletIdentifier: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
56
|
+
updatePregenWalletIdentifierAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
57
|
+
} | {
|
|
58
|
+
data: undefined;
|
|
18
59
|
error: Error;
|
|
19
|
-
|
|
60
|
+
variables: UpdatePregenWalletIdentifierParams;
|
|
61
|
+
isError: true;
|
|
62
|
+
isIdle: false;
|
|
63
|
+
isPending: false;
|
|
64
|
+
isSuccess: false;
|
|
65
|
+
status: "error";
|
|
66
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
67
|
+
reset: () => void;
|
|
68
|
+
context: unknown;
|
|
69
|
+
failureCount: number;
|
|
70
|
+
failureReason: Error;
|
|
71
|
+
isPaused: boolean;
|
|
72
|
+
submittedAt: number;
|
|
73
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
74
|
+
updatePregenWalletIdentifier: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
75
|
+
updatePregenWalletIdentifierAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
76
|
+
} | {
|
|
20
77
|
data: void;
|
|
78
|
+
error: null;
|
|
21
79
|
variables: UpdatePregenWalletIdentifierParams;
|
|
22
|
-
isError:
|
|
23
|
-
isIdle:
|
|
24
|
-
isPending:
|
|
25
|
-
|
|
80
|
+
isError: false;
|
|
81
|
+
isIdle: false;
|
|
82
|
+
isPending: false;
|
|
83
|
+
isSuccess: true;
|
|
84
|
+
status: "success";
|
|
85
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
26
86
|
reset: () => void;
|
|
27
87
|
context: unknown;
|
|
28
88
|
failureCount: number;
|
|
29
89
|
failureReason: Error;
|
|
30
90
|
isPaused: boolean;
|
|
31
91
|
submittedAt: number;
|
|
92
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
32
93
|
updatePregenWalletIdentifier: import("@tanstack/react-query").UseMutateFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
33
94
|
updatePregenWalletIdentifierAsync: import("@tanstack/react-query").UseMutateAsyncFunction<void, Error, UpdatePregenWalletIdentifierParams, unknown>;
|
|
34
95
|
};
|
|
@@ -15,20 +15,79 @@ export declare const VERIFY_2FA_KEY = "VERIFY_2FA";
|
|
|
15
15
|
* await verify2faAsync({ ...params });
|
|
16
16
|
*/
|
|
17
17
|
export declare const useVerify2fa: () => {
|
|
18
|
+
data: undefined;
|
|
19
|
+
variables: undefined;
|
|
20
|
+
error: null;
|
|
21
|
+
isError: false;
|
|
22
|
+
isIdle: true;
|
|
23
|
+
isPending: false;
|
|
24
|
+
isSuccess: false;
|
|
25
|
+
status: "idle";
|
|
26
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
27
|
+
reset: () => void;
|
|
28
|
+
context: unknown;
|
|
29
|
+
failureCount: number;
|
|
30
|
+
failureReason: Error;
|
|
31
|
+
isPaused: boolean;
|
|
32
|
+
submittedAt: number;
|
|
33
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
34
|
+
verify2fa: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
35
|
+
verify2faAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
36
|
+
} | {
|
|
37
|
+
data: undefined;
|
|
38
|
+
variables: Verify2faParams;
|
|
39
|
+
error: null;
|
|
40
|
+
isError: false;
|
|
41
|
+
isIdle: false;
|
|
42
|
+
isPending: true;
|
|
43
|
+
isSuccess: false;
|
|
44
|
+
status: "pending";
|
|
45
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
46
|
+
reset: () => void;
|
|
47
|
+
context: unknown;
|
|
48
|
+
failureCount: number;
|
|
49
|
+
failureReason: Error;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
submittedAt: number;
|
|
52
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
53
|
+
verify2fa: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
54
|
+
verify2faAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
55
|
+
} | {
|
|
56
|
+
data: undefined;
|
|
18
57
|
error: Error;
|
|
19
|
-
|
|
58
|
+
variables: Verify2faParams;
|
|
59
|
+
isError: true;
|
|
60
|
+
isIdle: false;
|
|
61
|
+
isPending: false;
|
|
62
|
+
isSuccess: false;
|
|
63
|
+
status: "error";
|
|
64
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
65
|
+
reset: () => void;
|
|
66
|
+
context: unknown;
|
|
67
|
+
failureCount: number;
|
|
68
|
+
failureReason: Error;
|
|
69
|
+
isPaused: boolean;
|
|
70
|
+
submittedAt: number;
|
|
71
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
72
|
+
verify2fa: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
73
|
+
verify2faAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
74
|
+
} | {
|
|
20
75
|
data: Verify2faResponse;
|
|
76
|
+
error: null;
|
|
21
77
|
variables: Verify2faParams;
|
|
22
|
-
isError:
|
|
23
|
-
isIdle:
|
|
24
|
-
isPending:
|
|
25
|
-
|
|
78
|
+
isError: false;
|
|
79
|
+
isIdle: false;
|
|
80
|
+
isPending: false;
|
|
81
|
+
isSuccess: true;
|
|
82
|
+
status: "success";
|
|
83
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
26
84
|
reset: () => void;
|
|
27
85
|
context: unknown;
|
|
28
86
|
failureCount: number;
|
|
29
87
|
failureReason: Error;
|
|
30
88
|
isPaused: boolean;
|
|
31
89
|
submittedAt: number;
|
|
90
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
32
91
|
verify2fa: import("@tanstack/react-query").UseMutateFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
33
92
|
verify2faAsync: import("@tanstack/react-query").UseMutateAsyncFunction<Verify2faResponse, Error, Verify2faParams, unknown>;
|
|
34
93
|
};
|
|
@@ -15,20 +15,79 @@ export declare const VERIFY_EXTERNAL_WALLET_KEY = "VERIFY_EXTERNAL_WALLET";
|
|
|
15
15
|
* await verifyExternalWalletAsync({ ...params });
|
|
16
16
|
*/
|
|
17
17
|
export declare const useVerifyExternalWallet: () => {
|
|
18
|
+
data: undefined;
|
|
19
|
+
variables: undefined;
|
|
20
|
+
error: null;
|
|
21
|
+
isError: false;
|
|
22
|
+
isIdle: true;
|
|
23
|
+
isPending: false;
|
|
24
|
+
isSuccess: false;
|
|
25
|
+
status: "idle";
|
|
26
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
27
|
+
reset: () => void;
|
|
28
|
+
context: unknown;
|
|
29
|
+
failureCount: number;
|
|
30
|
+
failureReason: Error;
|
|
31
|
+
isPaused: boolean;
|
|
32
|
+
submittedAt: number;
|
|
33
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
34
|
+
verifyExternalWallet: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
35
|
+
verifyExternalWalletAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
36
|
+
} | {
|
|
37
|
+
data: undefined;
|
|
38
|
+
variables: VerifyExternalWalletParams;
|
|
39
|
+
error: null;
|
|
40
|
+
isError: false;
|
|
41
|
+
isIdle: false;
|
|
42
|
+
isPending: true;
|
|
43
|
+
isSuccess: false;
|
|
44
|
+
status: "pending";
|
|
45
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
46
|
+
reset: () => void;
|
|
47
|
+
context: unknown;
|
|
48
|
+
failureCount: number;
|
|
49
|
+
failureReason: Error;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
submittedAt: number;
|
|
52
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
53
|
+
verifyExternalWallet: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
54
|
+
verifyExternalWalletAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
55
|
+
} | {
|
|
56
|
+
data: undefined;
|
|
18
57
|
error: Error;
|
|
19
|
-
|
|
58
|
+
variables: VerifyExternalWalletParams;
|
|
59
|
+
isError: true;
|
|
60
|
+
isIdle: false;
|
|
61
|
+
isPending: false;
|
|
62
|
+
isSuccess: false;
|
|
63
|
+
status: "error";
|
|
64
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
65
|
+
reset: () => void;
|
|
66
|
+
context: unknown;
|
|
67
|
+
failureCount: number;
|
|
68
|
+
failureReason: Error;
|
|
69
|
+
isPaused: boolean;
|
|
70
|
+
submittedAt: number;
|
|
71
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
72
|
+
verifyExternalWallet: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
73
|
+
verifyExternalWalletAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
74
|
+
} | {
|
|
20
75
|
data: VerifyExternalWalletResponse;
|
|
76
|
+
error: null;
|
|
21
77
|
variables: VerifyExternalWalletParams;
|
|
22
|
-
isError:
|
|
23
|
-
isIdle:
|
|
24
|
-
isPending:
|
|
25
|
-
|
|
78
|
+
isError: false;
|
|
79
|
+
isIdle: false;
|
|
80
|
+
isPending: false;
|
|
81
|
+
isSuccess: true;
|
|
82
|
+
status: "success";
|
|
83
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
26
84
|
reset: () => void;
|
|
27
85
|
context: unknown;
|
|
28
86
|
failureCount: number;
|
|
29
87
|
failureReason: Error;
|
|
30
88
|
isPaused: boolean;
|
|
31
89
|
submittedAt: number;
|
|
90
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
32
91
|
verifyExternalWallet: import("@tanstack/react-query").UseMutateFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
33
92
|
verifyExternalWalletAsync: import("@tanstack/react-query").UseMutateAsyncFunction<VerifyExternalWalletResponse, Error, VerifyExternalWalletParams, unknown>;
|
|
34
93
|
};
|
|
@@ -15,20 +15,79 @@ export declare const VERIFY_NEW_ACCOUNT_KEY = "VERIFY_NEW_ACCOUNT";
|
|
|
15
15
|
* await verifyNewAccountAsync({ ...params });
|
|
16
16
|
*/
|
|
17
17
|
export declare const useVerifyNewAccount: () => {
|
|
18
|
+
data: undefined;
|
|
19
|
+
variables: undefined;
|
|
20
|
+
error: null;
|
|
21
|
+
isError: false;
|
|
22
|
+
isIdle: true;
|
|
23
|
+
isPending: false;
|
|
24
|
+
isSuccess: false;
|
|
25
|
+
status: "idle";
|
|
26
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
27
|
+
reset: () => void;
|
|
28
|
+
context: unknown;
|
|
29
|
+
failureCount: number;
|
|
30
|
+
failureReason: Error;
|
|
31
|
+
isPaused: boolean;
|
|
32
|
+
submittedAt: number;
|
|
33
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
34
|
+
verifyNewAccount: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
35
|
+
verifyNewAccountAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
36
|
+
} | {
|
|
37
|
+
data: undefined;
|
|
38
|
+
variables: VerifyNewAccountParams;
|
|
39
|
+
error: null;
|
|
40
|
+
isError: false;
|
|
41
|
+
isIdle: false;
|
|
42
|
+
isPending: true;
|
|
43
|
+
isSuccess: false;
|
|
44
|
+
status: "pending";
|
|
45
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
46
|
+
reset: () => void;
|
|
47
|
+
context: unknown;
|
|
48
|
+
failureCount: number;
|
|
49
|
+
failureReason: Error;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
submittedAt: number;
|
|
52
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
53
|
+
verifyNewAccount: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
54
|
+
verifyNewAccountAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
55
|
+
} | {
|
|
56
|
+
data: undefined;
|
|
18
57
|
error: Error;
|
|
19
|
-
|
|
58
|
+
variables: VerifyNewAccountParams;
|
|
59
|
+
isError: true;
|
|
60
|
+
isIdle: false;
|
|
61
|
+
isPending: false;
|
|
62
|
+
isSuccess: false;
|
|
63
|
+
status: "error";
|
|
64
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
65
|
+
reset: () => void;
|
|
66
|
+
context: unknown;
|
|
67
|
+
failureCount: number;
|
|
68
|
+
failureReason: Error;
|
|
69
|
+
isPaused: boolean;
|
|
70
|
+
submittedAt: number;
|
|
71
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
72
|
+
verifyNewAccount: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
73
|
+
verifyNewAccountAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
74
|
+
} | {
|
|
20
75
|
data: import("@getpara/core-sdk").AuthStateSignup;
|
|
76
|
+
error: null;
|
|
21
77
|
variables: VerifyNewAccountParams;
|
|
22
|
-
isError:
|
|
23
|
-
isIdle:
|
|
24
|
-
isPending:
|
|
25
|
-
|
|
78
|
+
isError: false;
|
|
79
|
+
isIdle: false;
|
|
80
|
+
isPending: false;
|
|
81
|
+
isSuccess: true;
|
|
82
|
+
status: "success";
|
|
83
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
26
84
|
reset: () => void;
|
|
27
85
|
context: unknown;
|
|
28
86
|
failureCount: number;
|
|
29
87
|
failureReason: Error;
|
|
30
88
|
isPaused: boolean;
|
|
31
89
|
submittedAt: number;
|
|
90
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
32
91
|
verifyNewAccount: import("@tanstack/react-query").UseMutateFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
33
92
|
verifyNewAccountAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@getpara/core-sdk").AuthStateSignup, Error, VerifyNewAccountParams, unknown>;
|
|
34
93
|
};
|
|
@@ -15,20 +15,79 @@ export declare const WAIT_FOR_LOG_IN_KEY = "WAIT_FOR_LOG_IN";
|
|
|
15
15
|
* await waitForLoginAsync({ ...params });
|
|
16
16
|
*/
|
|
17
17
|
export declare const useWaitForLogin: () => {
|
|
18
|
+
data: undefined;
|
|
19
|
+
variables: undefined;
|
|
20
|
+
error: null;
|
|
21
|
+
isError: false;
|
|
22
|
+
isIdle: true;
|
|
23
|
+
isPending: false;
|
|
24
|
+
isSuccess: false;
|
|
25
|
+
status: "idle";
|
|
26
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
27
|
+
reset: () => void;
|
|
28
|
+
context: unknown;
|
|
29
|
+
failureCount: number;
|
|
30
|
+
failureReason: Error;
|
|
31
|
+
isPaused: boolean;
|
|
32
|
+
submittedAt: number;
|
|
33
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
34
|
+
waitForLogin: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
35
|
+
waitForLoginAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
36
|
+
} | {
|
|
37
|
+
data: undefined;
|
|
38
|
+
variables: void | WaitForLoginParams;
|
|
39
|
+
error: null;
|
|
40
|
+
isError: false;
|
|
41
|
+
isIdle: false;
|
|
42
|
+
isPending: true;
|
|
43
|
+
isSuccess: false;
|
|
44
|
+
status: "pending";
|
|
45
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
46
|
+
reset: () => void;
|
|
47
|
+
context: unknown;
|
|
48
|
+
failureCount: number;
|
|
49
|
+
failureReason: Error;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
submittedAt: number;
|
|
52
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
53
|
+
waitForLogin: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
54
|
+
waitForLoginAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
55
|
+
} | {
|
|
56
|
+
data: undefined;
|
|
18
57
|
error: Error;
|
|
19
|
-
|
|
58
|
+
variables: void | WaitForLoginParams;
|
|
59
|
+
isError: true;
|
|
60
|
+
isIdle: false;
|
|
61
|
+
isPending: false;
|
|
62
|
+
isSuccess: false;
|
|
63
|
+
status: "error";
|
|
64
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
65
|
+
reset: () => void;
|
|
66
|
+
context: unknown;
|
|
67
|
+
failureCount: number;
|
|
68
|
+
failureReason: Error;
|
|
69
|
+
isPaused: boolean;
|
|
70
|
+
submittedAt: number;
|
|
71
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
72
|
+
waitForLogin: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
73
|
+
waitForLoginAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
74
|
+
} | {
|
|
20
75
|
data: WaitForLoginResponse;
|
|
76
|
+
error: null;
|
|
21
77
|
variables: void | WaitForLoginParams;
|
|
22
|
-
isError:
|
|
23
|
-
isIdle:
|
|
24
|
-
isPending:
|
|
25
|
-
|
|
78
|
+
isError: false;
|
|
79
|
+
isIdle: false;
|
|
80
|
+
isPending: false;
|
|
81
|
+
isSuccess: true;
|
|
82
|
+
status: "success";
|
|
83
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
26
84
|
reset: () => void;
|
|
27
85
|
context: unknown;
|
|
28
86
|
failureCount: number;
|
|
29
87
|
failureReason: Error;
|
|
30
88
|
isPaused: boolean;
|
|
31
89
|
submittedAt: number;
|
|
90
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
32
91
|
waitForLogin: import("@tanstack/react-query").UseMutateFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
33
92
|
waitForLoginAsync: import("@tanstack/react-query").UseMutateAsyncFunction<WaitForLoginResponse, Error, void | WaitForLoginParams, unknown>;
|
|
34
93
|
};
|