@getpara/react-core 3.5.1 → 3.6.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/mutations.js +1 -1
- package/dist/chains/cosmos/useParaCosmjsAminoSigner.js +1 -1
- package/dist/chains/cosmos/useParaCosmjsProtoSigner.js +1 -1
- package/dist/chains/evm/ethers/mutations.js +4 -4
- package/dist/chains/evm/ethers/useParaEthersSigner.js +1 -1
- package/dist/chains/evm/viem/mutations.js +6 -6
- package/dist/chains/evm/viem/useParaViemAccount.js +1 -1
- package/dist/chains/evm/viem/useParaViemClient.js +1 -1
- package/dist/chains/solana/mutations.js +1 -1
- package/dist/chains/solana/useParaSolanaSigner.js +1 -1
- package/dist/chains/stellar/mutations.js +2 -2
- package/dist/chains/stellar/useParaStellarSigner.js +1 -1
- package/dist/provider/actions/getEmbeddedAccount.js +1 -1
- package/dist/provider/actions/getWallet.js +1 -1
- package/dist/provider/actions/utils.js +2 -2
- package/dist/provider/hooks/aa/alchemy.js +1 -1
- package/dist/provider/hooks/aa/biconomy.js +1 -1
- package/dist/provider/hooks/aa/cdp.js +1 -1
- package/dist/provider/hooks/aa/createSmartAccountHook.js +1 -1
- package/dist/provider/hooks/aa/gelato.js +1 -1
- package/dist/provider/hooks/aa/pimlico.js +1 -1
- package/dist/provider/hooks/aa/porto.js +1 -1
- package/dist/provider/hooks/aa/rhinestone.js +1 -1
- package/dist/provider/hooks/aa/safe.js +1 -1
- package/dist/provider/hooks/aa/thirdweb.js +1 -1
- package/dist/provider/hooks/aa/zerodev.js +1 -1
- package/dist/provider/hooks/mutations/useAuthenticateWithEmailOrPhone.js +1 -1
- package/dist/provider/hooks/mutations/useAuthenticateWithOAuth.js +1 -1
- package/dist/provider/hooks/mutations/useClaimPregenWallets.js +1 -1
- package/dist/provider/hooks/mutations/useCreateGuestWallets.js +1 -1
- package/dist/provider/hooks/mutations/useCreatePregenWallet.js +1 -1
- package/dist/provider/hooks/mutations/useCreatePregenWalletPerType.js +1 -1
- package/dist/provider/hooks/mutations/useCreateWallet.js +1 -1
- package/dist/provider/hooks/mutations/useCreateWalletPerType.js +1 -1
- package/dist/provider/hooks/mutations/useEnable2fa.js +1 -1
- package/dist/provider/hooks/mutations/useEnrollMfa.js +1 -1
- package/dist/provider/hooks/mutations/useExportPrivateKey.js +1 -1
- package/dist/provider/hooks/mutations/useHasPregenWallet.js +1 -1
- package/dist/provider/hooks/mutations/useIssueJwt.js +1 -1
- package/dist/provider/hooks/mutations/useKeepSessionAlive.js +1 -1
- package/dist/provider/hooks/mutations/useLoginExternalWallet.js +1 -1
- package/dist/provider/hooks/mutations/useLogout.js +1 -1
- package/dist/provider/hooks/mutations/useRequestFaucet.js +1 -1
- package/dist/provider/hooks/mutations/useResendVerificationCode.js +1 -1
- package/dist/provider/hooks/mutations/useSetup2fa.js +1 -1
- package/dist/provider/hooks/mutations/useSignMessage.js +1 -1
- package/dist/provider/hooks/mutations/useSignTransaction.js +1 -1
- package/dist/provider/hooks/mutations/useSignUpOrLogIn.js +1 -1
- package/dist/provider/hooks/mutations/useUpdatePregenWalletIdentifier.js +1 -1
- package/dist/provider/hooks/mutations/useVerify2fa.js +1 -1
- package/dist/provider/hooks/mutations/useVerifyExternalWallet.js +1 -1
- package/dist/provider/hooks/mutations/useVerifyFarcaster.js +1 -1
- package/dist/provider/hooks/mutations/useVerifyMfa.js +1 -1
- package/dist/provider/hooks/mutations/useVerifyNewAccount.js +1 -1
- package/dist/provider/hooks/mutations/useVerifyOAuth.js +1 -1
- package/dist/provider/hooks/mutations/useVerifyTelegram.js +1 -1
- package/dist/provider/hooks/mutations/useWaitForLogin.js +1 -1
- package/dist/provider/hooks/mutations/useWaitForSignup.js +1 -1
- package/dist/provider/hooks/mutations/useWaitForWalletCreation.js +1 -1
- package/dist/provider/hooks/queries/createAccountHook.js +1 -1
- package/dist/provider/hooks/queries/useIsFullyLoggedIn.js +1 -1
- package/dist/provider/hooks/queries/useWallet.js +1 -1
- package/package.json +9 -9
|
@@ -44,7 +44,7 @@ const useParaCosmjsSignAndBroadcast = (signer, client) => {
|
|
|
44
44
|
const mutation = renameMutations(
|
|
45
45
|
useMutation({
|
|
46
46
|
mutationKey: [COSMJS_SIGN_AND_BROADCAST_KEY],
|
|
47
|
-
mutationFn: (params) => __async(
|
|
47
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
48
48
|
var _a;
|
|
49
49
|
if (!signer || !client) throw new Error("Cosmos signer or client not ready.");
|
|
50
50
|
const accounts = yield signer.getAccounts();
|
|
@@ -74,7 +74,7 @@ function createParaCosmjsAminoSignerHook(useEnhancer) {
|
|
|
74
74
|
hasExternalSigner ? "external-available" : "embedded-only"
|
|
75
75
|
],
|
|
76
76
|
enabled: !enhancement.isLoading && !!para && (isEmbeddedActive || hasExternalSigner),
|
|
77
|
-
queryFn: () => __async(
|
|
77
|
+
queryFn: () => __async(null, null, function* () {
|
|
78
78
|
if (isEmbeddedActive) {
|
|
79
79
|
const resolved = resolveWalletForChain(para, { address, walletId }, "COSMOS", wallet != null ? wallet : void 0);
|
|
80
80
|
if ((resolved == null ? void 0 : resolved.isExternal) && hasExternalSigner) {
|
|
@@ -74,7 +74,7 @@ function createParaCosmjsProtoSignerHook(useEnhancer) {
|
|
|
74
74
|
hasExternalSigner ? "external-available" : "embedded-only"
|
|
75
75
|
],
|
|
76
76
|
enabled: !enhancement.isLoading && !!para && (isEmbeddedActive || hasExternalSigner),
|
|
77
|
-
queryFn: () => __async(
|
|
77
|
+
queryFn: () => __async(null, null, function* () {
|
|
78
78
|
if (isEmbeddedActive) {
|
|
79
79
|
const resolved = resolveWalletForChain(para, { address, walletId }, "COSMOS", wallet != null ? wallet : void 0);
|
|
80
80
|
if ((resolved == null ? void 0 : resolved.isExternal) && hasExternalSigner) {
|
|
@@ -47,7 +47,7 @@ const useParaEthersSendTransaction = (signer) => {
|
|
|
47
47
|
const mutation = renameMutations(
|
|
48
48
|
useMutation({
|
|
49
49
|
mutationKey: [ETHERS_SEND_TRANSACTION_KEY, null],
|
|
50
|
-
mutationFn: (params) => __async(
|
|
50
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
51
51
|
if (!signer) throw new Error("Ethers signer not ready. Ensure useParaEthersSigner has resolved.");
|
|
52
52
|
const tx = yield signer.sendTransaction(params);
|
|
53
53
|
return tx.wait();
|
|
@@ -61,7 +61,7 @@ const useParaEthersSignMessage = (signer) => {
|
|
|
61
61
|
const mutation = renameMutations(
|
|
62
62
|
useMutation({
|
|
63
63
|
mutationKey: [ETHERS_SIGN_MESSAGE_KEY, null],
|
|
64
|
-
mutationFn: (message) => __async(
|
|
64
|
+
mutationFn: (message) => __async(null, null, function* () {
|
|
65
65
|
if (!signer) throw new Error("Ethers signer not ready. Ensure useParaEthersSigner has resolved.");
|
|
66
66
|
return signer.signMessage(message);
|
|
67
67
|
})
|
|
@@ -74,7 +74,7 @@ const useParaEthersSignTypedData = (signer) => {
|
|
|
74
74
|
const mutation = renameMutations(
|
|
75
75
|
useMutation({
|
|
76
76
|
mutationKey: [ETHERS_SIGN_TYPED_DATA_KEY, null],
|
|
77
|
-
mutationFn: (params) => __async(
|
|
77
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
78
78
|
if (!signer) throw new Error("Ethers signer not ready. Ensure useParaEthersSigner has resolved.");
|
|
79
79
|
return signer.signTypedData(params.domain, params.types, params.value);
|
|
80
80
|
})
|
|
@@ -87,7 +87,7 @@ const useParaEthersWriteContract = (signer) => {
|
|
|
87
87
|
const mutation = renameMutations(
|
|
88
88
|
useMutation({
|
|
89
89
|
mutationKey: [ETHERS_WRITE_CONTRACT_KEY, null],
|
|
90
|
-
mutationFn: (params) => __async(
|
|
90
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
91
91
|
var _a;
|
|
92
92
|
if (!signer) throw new Error("Ethers signer not ready. Ensure useParaEthersSigner has resolved.");
|
|
93
93
|
const { Contract } = yield import("ethers");
|
|
@@ -74,7 +74,7 @@ function createParaEthersSignerHook(useEnhancer) {
|
|
|
74
74
|
hasExternalSigner ? "external-available" : "embedded-only"
|
|
75
75
|
],
|
|
76
76
|
enabled: !enhancement.isLoading && !!para && (isEmbeddedActive || hasExternalSigner),
|
|
77
|
-
queryFn: () => __async(
|
|
77
|
+
queryFn: () => __async(null, null, function* () {
|
|
78
78
|
var _a2;
|
|
79
79
|
if (isEmbeddedActive) {
|
|
80
80
|
const resolved = resolveWalletForChain(para, { address, walletId }, "EVM", wallet != null ? wallet : void 0);
|
|
@@ -51,7 +51,7 @@ const useParaViemSendTransaction = (viemClient) => {
|
|
|
51
51
|
const mutation = renameMutations(
|
|
52
52
|
useMutation({
|
|
53
53
|
mutationKey: [VIEM_SEND_TRANSACTION_KEY, (_b = (_a = viemClient == null ? void 0 : viemClient.account) == null ? void 0 : _a.address) != null ? _b : null],
|
|
54
|
-
mutationFn: (params) => __async(
|
|
54
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
55
55
|
if (!viemClient) throw new Error("Viem client not ready. Ensure useParaViemClient has resolved.");
|
|
56
56
|
return viemClient.sendTransaction(fwd(params));
|
|
57
57
|
})
|
|
@@ -65,7 +65,7 @@ const useParaViemSignTransaction = (viemClient) => {
|
|
|
65
65
|
const mutation = renameMutations(
|
|
66
66
|
useMutation({
|
|
67
67
|
mutationKey: [VIEM_SIGN_TRANSACTION_KEY, (_b = (_a = viemClient == null ? void 0 : viemClient.account) == null ? void 0 : _a.address) != null ? _b : null],
|
|
68
|
-
mutationFn: (params) => __async(
|
|
68
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
69
69
|
if (!viemClient) throw new Error("Viem client not ready. Ensure useParaViemClient has resolved.");
|
|
70
70
|
return viemClient.signTransaction(fwd(params));
|
|
71
71
|
})
|
|
@@ -79,7 +79,7 @@ const useParaViemSignMessage = (viemClient) => {
|
|
|
79
79
|
const mutation = renameMutations(
|
|
80
80
|
useMutation({
|
|
81
81
|
mutationKey: [VIEM_SIGN_MESSAGE_KEY, (_b = (_a = viemClient == null ? void 0 : viemClient.account) == null ? void 0 : _a.address) != null ? _b : null],
|
|
82
|
-
mutationFn: (params) => __async(
|
|
82
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
83
83
|
if (!viemClient) throw new Error("Viem client not ready. Ensure useParaViemClient has resolved.");
|
|
84
84
|
return viemClient.signMessage(fwd(params));
|
|
85
85
|
})
|
|
@@ -93,7 +93,7 @@ const useParaViemSignTypedData = (viemClient) => {
|
|
|
93
93
|
const mutation = renameMutations(
|
|
94
94
|
useMutation({
|
|
95
95
|
mutationKey: [VIEM_SIGN_TYPED_DATA_KEY, (_b = (_a = viemClient == null ? void 0 : viemClient.account) == null ? void 0 : _a.address) != null ? _b : null],
|
|
96
|
-
mutationFn: (params) => __async(
|
|
96
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
97
97
|
if (!viemClient) throw new Error("Viem client not ready. Ensure useParaViemClient has resolved.");
|
|
98
98
|
return viemClient.signTypedData(fwd(params));
|
|
99
99
|
})
|
|
@@ -107,7 +107,7 @@ const useParaViemWriteContract = (viemClient) => {
|
|
|
107
107
|
const mutation = renameMutations(
|
|
108
108
|
useMutation({
|
|
109
109
|
mutationKey: [VIEM_WRITE_CONTRACT_KEY, (_b = (_a = viemClient == null ? void 0 : viemClient.account) == null ? void 0 : _a.address) != null ? _b : null],
|
|
110
|
-
mutationFn: (params) => __async(
|
|
110
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
111
111
|
if (!viemClient) throw new Error("Viem client not ready. Ensure useParaViemClient has resolved.");
|
|
112
112
|
return viemClient.writeContract(fwd(params));
|
|
113
113
|
})
|
|
@@ -121,7 +121,7 @@ const useParaViemDeployContract = (viemClient) => {
|
|
|
121
121
|
const mutation = renameMutations(
|
|
122
122
|
useMutation({
|
|
123
123
|
mutationKey: [VIEM_DEPLOY_CONTRACT_KEY, (_b = (_a = viemClient == null ? void 0 : viemClient.account) == null ? void 0 : _a.address) != null ? _b : null],
|
|
124
|
-
mutationFn: (params) => __async(
|
|
124
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
125
125
|
if (!viemClient) throw new Error("Viem client not ready. Ensure useParaViemClient has resolved.");
|
|
126
126
|
return viemClient.deployContract(fwd(params));
|
|
127
127
|
})
|
|
@@ -69,7 +69,7 @@ function createParaViemAccountHook(useEnhancer) {
|
|
|
69
69
|
hasExternalWalletClient ? "external" : "embedded"
|
|
70
70
|
],
|
|
71
71
|
enabled: !enhancement.isLoading && !!para && (isEmbeddedActive || hasExternalWalletClient),
|
|
72
|
-
queryFn: () => __async(
|
|
72
|
+
queryFn: () => __async(null, null, function* () {
|
|
73
73
|
var _a2, _b2;
|
|
74
74
|
if (isEmbeddedActive) {
|
|
75
75
|
const resolved = resolveWalletForChain(para, { address, walletId }, "EVM", wallet != null ? wallet : void 0);
|
|
@@ -76,7 +76,7 @@ function createParaViemClientHook(useEnhancer) {
|
|
|
76
76
|
hasExternalWalletClient ? "external" : "embedded"
|
|
77
77
|
],
|
|
78
78
|
enabled: !enhancement.isLoading && !!para && (!!account || hasExternalWalletClient),
|
|
79
|
-
queryFn: () => __async(
|
|
79
|
+
queryFn: () => __async(null, null, function* () {
|
|
80
80
|
var _a2;
|
|
81
81
|
const resolved = isEmbeddedActive ? resolveWalletForChain(para, { address, walletId }, "EVM", wallet != null ? wallet : void 0) : null;
|
|
82
82
|
if ((resolved == null ? void 0 : resolved.isExternal) && resolved.address) {
|
|
@@ -44,7 +44,7 @@ const useParaSolanaSignAndSend = (signer) => {
|
|
|
44
44
|
const mutation = renameMutations(
|
|
45
45
|
useMutation({
|
|
46
46
|
mutationKey: [SOLANA_SIGN_AND_SEND_KEY],
|
|
47
|
-
mutationFn: (params) => __async(
|
|
47
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
48
48
|
if (!signer) throw new Error("Solana signer not ready. Ensure useParaSolanaSigner has resolved.");
|
|
49
49
|
return signer.signAndSendTransactions(params.transactions);
|
|
50
50
|
})
|
|
@@ -69,7 +69,7 @@ function createParaSolanaSignerHook(useEnhancer) {
|
|
|
69
69
|
hasExternalSigner ? "external-available" : "embedded-only"
|
|
70
70
|
],
|
|
71
71
|
enabled: !enhancement.isLoading && !!para && (isEmbeddedActive || hasExternalSigner),
|
|
72
|
-
queryFn: () => __async(
|
|
72
|
+
queryFn: () => __async(null, null, function* () {
|
|
73
73
|
if (isEmbeddedActive) {
|
|
74
74
|
const resolved = resolveWalletForChain(para, { address, walletId }, "SOLANA", wallet != null ? wallet : void 0);
|
|
75
75
|
if ((resolved == null ? void 0 : resolved.isExternal) && hasExternalSigner) {
|
|
@@ -46,7 +46,7 @@ const useParaStellarSignTransaction = (signer) => {
|
|
|
46
46
|
const mutation = renameMutations(
|
|
47
47
|
useMutation({
|
|
48
48
|
mutationKey: [STELLAR_SIGN_TRANSACTION_KEY, (_a = signer == null ? void 0 : signer.address) != null ? _a : null],
|
|
49
|
-
mutationFn: (transaction) => __async(
|
|
49
|
+
mutationFn: (transaction) => __async(null, null, function* () {
|
|
50
50
|
if (!signer) throw new Error("Stellar signer not ready. Ensure useParaStellarSigner has resolved.");
|
|
51
51
|
return signer.signTransaction(transaction);
|
|
52
52
|
})
|
|
@@ -60,7 +60,7 @@ const useParaStellarSignAuthEntry = (signer) => {
|
|
|
60
60
|
const mutation = renameMutations(
|
|
61
61
|
useMutation({
|
|
62
62
|
mutationKey: [STELLAR_SIGN_AUTH_ENTRY_KEY, (_a = signer == null ? void 0 : signer.address) != null ? _a : null],
|
|
63
|
-
mutationFn: (authEntry) => __async(
|
|
63
|
+
mutationFn: (authEntry) => __async(null, null, function* () {
|
|
64
64
|
if (!signer) throw new Error("Stellar signer not ready. Ensure useParaStellarSigner has resolved.");
|
|
65
65
|
return signer.signAuthEntry(authEntry);
|
|
66
66
|
})
|
|
@@ -68,7 +68,7 @@ function createParaStellarSignerHook(useEnhancer) {
|
|
|
68
68
|
networkPassphrase
|
|
69
69
|
],
|
|
70
70
|
enabled: !enhancement.isLoading && isEmbeddedActive && !!para,
|
|
71
|
-
queryFn: () => __async(
|
|
71
|
+
queryFn: () => __async(null, null, function* () {
|
|
72
72
|
if (!isEmbeddedActive || !para) return null;
|
|
73
73
|
const resolved = resolveWalletForChain(para, { address, walletId }, "STELLAR", wallet != null ? wallet : void 0);
|
|
74
74
|
const mod = yield importStellar();
|
|
@@ -18,7 +18,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18
18
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
const getEmbeddedAccount = (para, isFullyLoggedIn) => __async(
|
|
21
|
+
const getEmbeddedAccount = (para, isFullyLoggedIn) => __async(null, null, function* () {
|
|
22
22
|
switch (true) {
|
|
23
23
|
case !para:
|
|
24
24
|
case !(para == null ? void 0 : para.isReady):
|
|
@@ -18,7 +18,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18
18
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
const getWallet = (para, selectedWallet, isConnected) => __async(
|
|
21
|
+
const getWallet = (para, selectedWallet, isConnected) => __async(null, null, function* () {
|
|
22
22
|
var _a;
|
|
23
23
|
if (!para) {
|
|
24
24
|
return null;
|
|
@@ -19,13 +19,13 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
function generateCoreAction(method) {
|
|
22
|
-
return (_para, ...args) => __async(
|
|
22
|
+
return ((_para, ...args) => __async(null, null, function* () {
|
|
23
23
|
if (!_para) {
|
|
24
24
|
throw new Error("no para instance");
|
|
25
25
|
}
|
|
26
26
|
const para = _para;
|
|
27
27
|
return typeof para[method] === "function" ? yield para[method](...args) : para[method];
|
|
28
|
-
});
|
|
28
|
+
}));
|
|
29
29
|
}
|
|
30
30
|
export {
|
|
31
31
|
generateCoreAction
|
|
@@ -27,7 +27,7 @@ const createAlchemySmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [p.apiKey, (_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl, p.gasPolicyId, p.mode];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-alchemy");
|
|
@@ -27,7 +27,7 @@ const createBiconomySmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [(_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl, p.meeUrl, p.apiKey, p.mode];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-biconomy");
|
|
@@ -27,7 +27,7 @@ const createCDPSmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [(_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl, p.rpcToken];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-cdp");
|
|
@@ -79,7 +79,7 @@ function createSmartAccountHook(config, useEnhancer) {
|
|
|
79
79
|
// Allow query if Para session is active OR an external signer is available.
|
|
80
80
|
// Block while waiting for the external signer to load.
|
|
81
81
|
enabled: !isAwaitingExternalSigner && (isConnected || hasSigner) && !!para && enabled,
|
|
82
|
-
queryFn: () => __async(
|
|
82
|
+
queryFn: () => __async(null, null, function* () {
|
|
83
83
|
var _a2;
|
|
84
84
|
if (!isConnected && !hasSigner) return null;
|
|
85
85
|
if (!para) return null;
|
|
@@ -27,7 +27,7 @@ const createGelatoSmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [p.apiKey, (_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-gelato");
|
|
@@ -27,7 +27,7 @@ const createPimlicoSmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [p.apiKey, (_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl, p.mode];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-pimlico");
|
|
@@ -27,7 +27,7 @@ const createPortoSmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [(_a = params.chain) == null ? void 0 : _a.id, params.merchantUrl];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-porto");
|
|
@@ -27,7 +27,7 @@ const createRhinestoneSmartAccountHook = (useEnhancer) => createSmartAccountHook
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [(_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl, p.rhinestoneApiKey, p.pimlicoApiKey];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-rhinestone");
|
|
@@ -27,7 +27,7 @@ const createSafeSmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a, _b;
|
|
28
28
|
return [p.pimlicoApiKey, (_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl, p.safeVersion, (_b = p.saltNonce) == null ? void 0 : _b.toString()];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-safe");
|
|
@@ -27,7 +27,7 @@ const createThirdwebSmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [p.clientId, (_a = p.chain) == null ? void 0 : _a.id, p.mode, p.sponsorGas, p.factoryAddress, p.accountAddress];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-thirdweb");
|
|
@@ -27,7 +27,7 @@ const createZeroDevSmartAccountHook = (useEnhancer) => createSmartAccountHook(
|
|
|
27
27
|
var _a;
|
|
28
28
|
return [p.projectId, (_a = p.chain) == null ? void 0 : _a.id, p.rpcUrl, p.bundlerUrl, p.paymasterUrl, p.mode];
|
|
29
29
|
},
|
|
30
|
-
createClient: (params) => __async(
|
|
30
|
+
createClient: (params) => __async(null, null, function* () {
|
|
31
31
|
let mod;
|
|
32
32
|
try {
|
|
33
33
|
mod = yield import("@getpara/aa-zerodev");
|
|
@@ -27,7 +27,7 @@ const useAuthenticateWithEmailOrPhone = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [AUTHENTICATE_EMAIL_OR_PHONE_KEY],
|
|
30
|
-
mutationFn: (params) => __async(
|
|
30
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
31
31
|
return authenticateWithEmailOrPhone(para, params);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useAuthenticateWithOAuth = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [AUTHENTICATE_OAUTH_KEY],
|
|
30
|
-
mutationFn: (params) => __async(
|
|
30
|
+
mutationFn: (params) => __async(null, null, function* () {
|
|
31
31
|
return authenticateWithOAuth(para, params);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useClaimPregenWallets = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [CLAIM_PREGEN_WALLETS_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return claimPregenWallets(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useCreateGuestWallets = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [CREATE_GUEST_WALLETS_KEY],
|
|
30
|
-
mutationFn: () => __async(
|
|
30
|
+
mutationFn: () => __async(null, null, function* () {
|
|
31
31
|
return createGuestWallets(para);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useCreatePregenWallet = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [CREATE_PREGEN_WALLET_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return createPregenWallet(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useCreatePregenWalletPerType = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [CREATE_PREGEN_WALLET_PER_TYPE_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return createPregenWalletPerType(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useCreateWallet = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [CREATE_WALLET_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return createWallet(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useCreateWalletPerType = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [CREATE_WALLET_PER_TYPE_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return createWalletPerType(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useEnable2fa = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [ENABLE_2FA_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return enable2fa(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useEnrollMfa = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [ENROLL_MFA_KEY],
|
|
30
|
-
mutationFn: () => __async(
|
|
30
|
+
mutationFn: () => __async(null, null, function* () {
|
|
31
31
|
return enrollMfa(para);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -45,7 +45,7 @@ const useExportPrivateKey = () => {
|
|
|
45
45
|
const { data: activeWallet } = useWallet();
|
|
46
46
|
const mutation = useMutation({
|
|
47
47
|
mutationKey: [EXPORT_PRIVATE_KEY_KEY],
|
|
48
|
-
mutationFn: (args) => __async(
|
|
48
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
49
49
|
const result = yield exportPrivateKey(para, __spreadValues({
|
|
50
50
|
walletId: activeWallet == null ? void 0 : activeWallet.id
|
|
51
51
|
}, args));
|
|
@@ -27,7 +27,7 @@ const useHasPregenWallet = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [HAS_PREGEN_WALLET_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return hasPregenWallet(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useIssueJwt = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [ISSUE_JWT_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return issueJwt(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useKeepSessionAlive = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [KEEP_SESSION_ALIVE_KEY],
|
|
30
|
-
mutationFn: () => __async(
|
|
30
|
+
mutationFn: () => __async(null, null, function* () {
|
|
31
31
|
return keepSessionAlive(para);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useLoginExternalWallet = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [LOGIN_EXTERNAL_WALLET_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return loginExternalWallet(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useLogout = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [LOGOUT_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return logout(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -48,7 +48,7 @@ const useRequestFaucet = () => {
|
|
|
48
48
|
const { data: activeWallet } = useWallet();
|
|
49
49
|
const mutation = useMutation({
|
|
50
50
|
mutationKey: [REQUEST_FAUCET_KEY],
|
|
51
|
-
mutationFn: (args) => __async(
|
|
51
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
52
52
|
var _a;
|
|
53
53
|
const walletId = (_a = args == null ? void 0 : args.walletId) != null ? _a : activeWallet == null ? void 0 : activeWallet.id;
|
|
54
54
|
if (!walletId) {
|
|
@@ -27,7 +27,7 @@ const useResendVerificationCode = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [RESEND_VERIFICATION_CODE_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return resendVerificationCode(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useSetup2fa = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [SETUP_2FA_KEY],
|
|
30
|
-
mutationFn: () => __async(
|
|
30
|
+
mutationFn: () => __async(null, null, function* () {
|
|
31
31
|
return setup2fa(para);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useSignMessage = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [SIGN_MESSAGE_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return signMessage(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useSignTransaction = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [SIGN_TRANSACTION_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return signTransaction(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useSignUpOrLogIn = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [SIGN_UP_LOG_IN_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return signUpOrLogIn(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useUpdatePregenWalletIdentifier = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [UPDATE_PREGEN_WALLET_IDENTIFIER_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return updatePregenWalletIdentifier(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useVerify2fa = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [VERIFY_2FA_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return verify2fa(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useVerifyExternalWallet = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [VERIFY_EXTERNAL_WALLET_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return verifyExternalWallet(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useVerifyFarcaster = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [VERIFY_FARCASTER_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
const result = yield verifyFarcaster(para, args);
|
|
32
32
|
return result;
|
|
33
33
|
})
|
|
@@ -27,7 +27,7 @@ const useVerifyMfa = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [VERIFY_MFA_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return verifyMfa(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useVerifyNewAccount = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [VERIFY_NEW_ACCOUNT_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
return verifyNewAccount(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useVerifyOAuth = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [VERIFY_OAUTH_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
const result = yield verifyOAuth(para, args);
|
|
32
32
|
return result;
|
|
33
33
|
})
|
|
@@ -27,7 +27,7 @@ const useVerifyTelegram = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [VERIFY_TELEGRAM_KEY],
|
|
30
|
-
mutationFn: (args) => __async(
|
|
30
|
+
mutationFn: (args) => __async(null, null, function* () {
|
|
31
31
|
const result = yield verifyTelegram(para, args);
|
|
32
32
|
return result;
|
|
33
33
|
})
|
|
@@ -27,7 +27,7 @@ const useWaitForLogin = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [WAIT_FOR_LOG_IN_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return waitForLogin(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useWaitForSignup = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [WAIT_FOR_SIGN_UP_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return waitForSignup(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -27,7 +27,7 @@ const useWaitForWalletCreation = () => {
|
|
|
27
27
|
const para = useClient();
|
|
28
28
|
const mutation = useMutation({
|
|
29
29
|
mutationKey: [WAIT_FOR_WALLET_CREATION_KEY],
|
|
30
|
-
mutationFn: (..._0) => __async(
|
|
30
|
+
mutationFn: (..._0) => __async(null, [..._0], function* (args = {}) {
|
|
31
31
|
return waitForWalletCreation(para, args);
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -85,7 +85,7 @@ function createAccountHook(useExternalWallets) {
|
|
|
85
85
|
const { data, isLoading } = useQuery({
|
|
86
86
|
enabled: isSuccess && !!client && !isFullyLoggedInLoading,
|
|
87
87
|
queryKey,
|
|
88
|
-
queryFn: () => __async(
|
|
88
|
+
queryFn: () => __async(null, null, function* () {
|
|
89
89
|
const paraAccount = yield getEmbeddedAccount(client, isFullyLoggedIn);
|
|
90
90
|
let connectionType = "none";
|
|
91
91
|
const hasExternalConnection = Object.values(external.connections).some(Boolean);
|
|
@@ -37,7 +37,7 @@ const useIsFullyLoggedIn = () => {
|
|
|
37
37
|
return useQuery({
|
|
38
38
|
enabled: isReady && !!client,
|
|
39
39
|
queryKey: [IS_FULLY_LOGGED_IN_BASE_KEY, phaseKey, (_a = client == null ? void 0 : client.userId) != null ? _a : null],
|
|
40
|
-
queryFn: () => __async(
|
|
40
|
+
queryFn: () => __async(null, null, function* () {
|
|
41
41
|
var _a2;
|
|
42
42
|
return (_a2 = yield client == null ? void 0 : client.isFullyLoggedIn()) != null ? _a2 : false;
|
|
43
43
|
})
|
|
@@ -32,7 +32,7 @@ const useWallet = () => {
|
|
|
32
32
|
return useQuery({
|
|
33
33
|
enabled: !!client && !!selectedWallet && isSuccess,
|
|
34
34
|
queryKey: [WALLET_BASE_KEY, isFullyLoggedIn != null ? isFullyLoggedIn : null, (_a = selectedWallet.id) != null ? _a : null, (_b = selectedWallet.type) != null ? _b : null],
|
|
35
|
-
queryFn: () => __async(
|
|
35
|
+
queryFn: () => __async(null, null, function* () {
|
|
36
36
|
return yield getWallet(client, selectedWallet, isFullyLoggedIn);
|
|
37
37
|
})
|
|
38
38
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/react-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Platform-agnostic ParaProvider, hooks, and store for Para SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -82,23 +82,23 @@
|
|
|
82
82
|
"test": "vitest run"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@getpara/core-sdk": "3.
|
|
85
|
+
"@getpara/core-sdk": "3.6.0",
|
|
86
86
|
"zustand": "^5.0.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@cosmjs/amino": "^0.32.0",
|
|
90
90
|
"@cosmjs/proto-signing": "^0.32.0",
|
|
91
|
-
"@getpara/cosmjs-v0-integration": "3.
|
|
92
|
-
"@getpara/ethers-v6-integration": "3.
|
|
93
|
-
"@getpara/solana-signers-v2-integration": "3.
|
|
94
|
-
"@getpara/stellar-sdk-v14-integration": "3.
|
|
95
|
-
"@getpara/viem-v2-integration": "3.
|
|
91
|
+
"@getpara/cosmjs-v0-integration": "3.6.0",
|
|
92
|
+
"@getpara/ethers-v6-integration": "3.6.0",
|
|
93
|
+
"@getpara/solana-signers-v2-integration": "3.6.0",
|
|
94
|
+
"@getpara/stellar-sdk-v14-integration": "3.6.0",
|
|
95
|
+
"@getpara/viem-v2-integration": "3.6.0",
|
|
96
96
|
"@solana/signers": "^2.0.0",
|
|
97
97
|
"@tanstack/react-query": "^5.74.0",
|
|
98
98
|
"@testing-library/dom": "^10.4.0",
|
|
99
99
|
"@testing-library/react": "^16.3.0",
|
|
100
100
|
"@types/react": "^18.3.3",
|
|
101
|
-
"esbuild": "^0.
|
|
101
|
+
"esbuild": "^0.28.1",
|
|
102
102
|
"glob": "^11.0.2",
|
|
103
103
|
"jsdom": "^25.0.0",
|
|
104
104
|
"react": "^18.3.1",
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"optional": true
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "565535ab0cf38d65f6996fc9f1ede52d133ddac0"
|
|
138
138
|
}
|