@getpara/react-core 3.26.0 → 3.28.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.
|
@@ -26,6 +26,7 @@ export declare const useExportPrivateKey: () => {
|
|
|
26
26
|
mutate: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
27
27
|
walletId?: string;
|
|
28
28
|
shouldOpenPopup?: boolean;
|
|
29
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
29
30
|
}, unknown>;
|
|
30
31
|
reset: () => void;
|
|
31
32
|
context: unknown;
|
|
@@ -36,20 +37,24 @@ export declare const useExportPrivateKey: () => {
|
|
|
36
37
|
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
37
38
|
walletId?: string;
|
|
38
39
|
shouldOpenPopup?: boolean;
|
|
40
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
39
41
|
}, unknown>;
|
|
40
42
|
exportPrivateKey: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
41
43
|
walletId?: string;
|
|
42
44
|
shouldOpenPopup?: boolean;
|
|
45
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
43
46
|
}, unknown>;
|
|
44
47
|
exportPrivateKeyAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
45
48
|
walletId?: string;
|
|
46
49
|
shouldOpenPopup?: boolean;
|
|
50
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
47
51
|
}, unknown>;
|
|
48
52
|
} | {
|
|
49
53
|
data: undefined;
|
|
50
54
|
variables: {
|
|
51
55
|
walletId?: string;
|
|
52
56
|
shouldOpenPopup?: boolean;
|
|
57
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
53
58
|
};
|
|
54
59
|
error: null;
|
|
55
60
|
isError: false;
|
|
@@ -60,6 +65,7 @@ export declare const useExportPrivateKey: () => {
|
|
|
60
65
|
mutate: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
61
66
|
walletId?: string;
|
|
62
67
|
shouldOpenPopup?: boolean;
|
|
68
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
63
69
|
}, unknown>;
|
|
64
70
|
reset: () => void;
|
|
65
71
|
context: unknown;
|
|
@@ -70,14 +76,17 @@ export declare const useExportPrivateKey: () => {
|
|
|
70
76
|
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
71
77
|
walletId?: string;
|
|
72
78
|
shouldOpenPopup?: boolean;
|
|
79
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
73
80
|
}, unknown>;
|
|
74
81
|
exportPrivateKey: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
75
82
|
walletId?: string;
|
|
76
83
|
shouldOpenPopup?: boolean;
|
|
84
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
77
85
|
}, unknown>;
|
|
78
86
|
exportPrivateKeyAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
79
87
|
walletId?: string;
|
|
80
88
|
shouldOpenPopup?: boolean;
|
|
89
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
81
90
|
}, unknown>;
|
|
82
91
|
} | {
|
|
83
92
|
data: undefined;
|
|
@@ -85,6 +94,7 @@ export declare const useExportPrivateKey: () => {
|
|
|
85
94
|
variables: {
|
|
86
95
|
walletId?: string;
|
|
87
96
|
shouldOpenPopup?: boolean;
|
|
97
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
88
98
|
};
|
|
89
99
|
isError: true;
|
|
90
100
|
isIdle: false;
|
|
@@ -94,6 +104,7 @@ export declare const useExportPrivateKey: () => {
|
|
|
94
104
|
mutate: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
95
105
|
walletId?: string;
|
|
96
106
|
shouldOpenPopup?: boolean;
|
|
107
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
97
108
|
}, unknown>;
|
|
98
109
|
reset: () => void;
|
|
99
110
|
context: unknown;
|
|
@@ -104,14 +115,17 @@ export declare const useExportPrivateKey: () => {
|
|
|
104
115
|
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
105
116
|
walletId?: string;
|
|
106
117
|
shouldOpenPopup?: boolean;
|
|
118
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
107
119
|
}, unknown>;
|
|
108
120
|
exportPrivateKey: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
109
121
|
walletId?: string;
|
|
110
122
|
shouldOpenPopup?: boolean;
|
|
123
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
111
124
|
}, unknown>;
|
|
112
125
|
exportPrivateKeyAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
113
126
|
walletId?: string;
|
|
114
127
|
shouldOpenPopup?: boolean;
|
|
128
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
115
129
|
}, unknown>;
|
|
116
130
|
} | {
|
|
117
131
|
data: ExportPrivateKeyResponse;
|
|
@@ -119,6 +133,7 @@ export declare const useExportPrivateKey: () => {
|
|
|
119
133
|
variables: {
|
|
120
134
|
walletId?: string;
|
|
121
135
|
shouldOpenPopup?: boolean;
|
|
136
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
122
137
|
};
|
|
123
138
|
isError: false;
|
|
124
139
|
isIdle: false;
|
|
@@ -128,6 +143,7 @@ export declare const useExportPrivateKey: () => {
|
|
|
128
143
|
mutate: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
129
144
|
walletId?: string;
|
|
130
145
|
shouldOpenPopup?: boolean;
|
|
146
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
131
147
|
}, unknown>;
|
|
132
148
|
reset: () => void;
|
|
133
149
|
context: unknown;
|
|
@@ -138,13 +154,16 @@ export declare const useExportPrivateKey: () => {
|
|
|
138
154
|
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
139
155
|
walletId?: string;
|
|
140
156
|
shouldOpenPopup?: boolean;
|
|
157
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
141
158
|
}, unknown>;
|
|
142
159
|
exportPrivateKey: import("@tanstack/react-query").UseMutateFunction<ExportPrivateKeyResponse, Error, {
|
|
143
160
|
walletId?: string;
|
|
144
161
|
shouldOpenPopup?: boolean;
|
|
162
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
145
163
|
}, unknown>;
|
|
146
164
|
exportPrivateKeyAsync: import("@tanstack/react-query").UseMutateAsyncFunction<ExportPrivateKeyResponse, Error, {
|
|
147
165
|
walletId?: string;
|
|
148
166
|
shouldOpenPopup?: boolean;
|
|
167
|
+
walletType?: import("@getpara/shared").TWalletType;
|
|
149
168
|
}, unknown>;
|
|
150
169
|
};
|
|
@@ -31,6 +31,7 @@ const useWallet = () => {
|
|
|
31
31
|
const { data: isFullyLoggedIn, isSuccess } = useIsFullyLoggedIn();
|
|
32
32
|
return useQuery({
|
|
33
33
|
enabled: !!client && !!selectedWallet && isSuccess,
|
|
34
|
+
// eslint-disable-next-line @tanstack/query/exhaustive-deps -- client is a class instance, not a stable key part; getWallet only reads selectedWallet.id and .type, both in the key
|
|
34
35
|
queryKey: [WALLET_BASE_KEY, isFullyLoggedIn != null ? isFullyLoggedIn : null, (_a = selectedWallet.id) != null ? _a : null, (_b = selectedWallet.type) != null ? _b : null],
|
|
35
36
|
queryFn: () => __async(null, null, function* () {
|
|
36
37
|
return yield getWallet(client, selectedWallet, isFullyLoggedIn);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/react-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0",
|
|
4
4
|
"description": "Platform-agnostic ParaProvider, hooks, and store for Para SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -168,29 +168,29 @@
|
|
|
168
168
|
"typecheck": "tsc --noEmit"
|
|
169
169
|
},
|
|
170
170
|
"dependencies": {
|
|
171
|
-
"@getpara/core-sdk": "3.
|
|
171
|
+
"@getpara/core-sdk": "3.28.0",
|
|
172
172
|
"zustand": "^5.0.0"
|
|
173
173
|
},
|
|
174
174
|
"devDependencies": {
|
|
175
175
|
"@cosmjs/amino": "^0.32.4",
|
|
176
176
|
"@cosmjs/proto-signing": "^0.32.4",
|
|
177
177
|
"@cosmjs/stargate": "^0.32.4",
|
|
178
|
-
"@getpara/aa-alchemy": "3.
|
|
179
|
-
"@getpara/aa-biconomy": "3.
|
|
180
|
-
"@getpara/aa-cdp": "3.
|
|
181
|
-
"@getpara/aa-gelato": "3.
|
|
182
|
-
"@getpara/aa-pimlico": "3.
|
|
183
|
-
"@getpara/aa-porto": "3.
|
|
184
|
-
"@getpara/aa-rhinestone": "3.
|
|
185
|
-
"@getpara/aa-safe": "3.
|
|
186
|
-
"@getpara/aa-thirdweb": "3.
|
|
187
|
-
"@getpara/aa-zerodev": "3.
|
|
188
|
-
"@getpara/cosmjs-v0-integration": "3.
|
|
189
|
-
"@getpara/ethers-v6-integration": "3.
|
|
190
|
-
"@getpara/solana-signers-v2-integration": "3.
|
|
191
|
-
"@getpara/stellar-sdk-v14-integration": "3.
|
|
192
|
-
"@getpara/sui-sdk-integration": "3.
|
|
193
|
-
"@getpara/viem-v2-integration": "3.
|
|
178
|
+
"@getpara/aa-alchemy": "3.28.0",
|
|
179
|
+
"@getpara/aa-biconomy": "3.28.0",
|
|
180
|
+
"@getpara/aa-cdp": "3.28.0",
|
|
181
|
+
"@getpara/aa-gelato": "3.28.0",
|
|
182
|
+
"@getpara/aa-pimlico": "3.28.0",
|
|
183
|
+
"@getpara/aa-porto": "3.28.0",
|
|
184
|
+
"@getpara/aa-rhinestone": "3.28.0",
|
|
185
|
+
"@getpara/aa-safe": "3.28.0",
|
|
186
|
+
"@getpara/aa-thirdweb": "3.28.0",
|
|
187
|
+
"@getpara/aa-zerodev": "3.28.0",
|
|
188
|
+
"@getpara/cosmjs-v0-integration": "3.28.0",
|
|
189
|
+
"@getpara/ethers-v6-integration": "3.28.0",
|
|
190
|
+
"@getpara/solana-signers-v2-integration": "3.28.0",
|
|
191
|
+
"@getpara/stellar-sdk-v14-integration": "3.28.0",
|
|
192
|
+
"@getpara/sui-sdk-integration": "3.28.0",
|
|
193
|
+
"@getpara/viem-v2-integration": "3.28.0",
|
|
194
194
|
"@mysten/sui": "^2.0.0",
|
|
195
195
|
"@solana/keys": "^2.2.1",
|
|
196
196
|
"@solana/signers": "^2.0.0",
|
|
@@ -308,5 +308,5 @@
|
|
|
308
308
|
"@getpara/aa-*"
|
|
309
309
|
]
|
|
310
310
|
},
|
|
311
|
-
"gitHead": "
|
|
311
|
+
"gitHead": "2f9de31587d186f299e6e2c97172ab66c3abffd7"
|
|
312
312
|
}
|