@0xsquid/react-hooks 8.9.1-beta.0 → 8.10.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/core/canton/cantonConnector.d.ts +28 -0
- package/dist/core/canton/cip103Client.d.ts +20 -0
- package/dist/core/client/index.d.ts +1 -0
- package/dist/core/connectors/bitcoin/errors/index.d.ts +0 -3
- package/dist/core/connectors/bitcoin/wallets/index.d.ts +0 -1
- package/dist/core/connectors/bitcoin/wallets/phantom.d.ts +26 -10
- package/dist/core/constants.d.ts +3 -0
- package/dist/core/fallbackWallets.d.ts +16 -0
- package/dist/core/providers/CantonProvider.d.ts +19 -0
- package/dist/core/types/canton.d.ts +58 -0
- package/dist/core/types/cosmos.d.ts +5 -0
- package/dist/core/types/wallet.d.ts +15 -7
- package/dist/core/wallets.d.ts +5 -0
- package/dist/hooks/canton/useCanton.d.ts +2 -0
- package/dist/hooks/canton/useCantonWallets.d.ts +8 -0
- package/dist/hooks/chains/useSquidChains.d.ts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/store/useDepositAddressStore.d.ts +18 -5
- package/dist/hooks/swap/useDepositAddress.d.ts +6 -7
- package/dist/hooks/tokens/useBalance.d.ts +1 -0
- package/dist/hooks/tokens/useNativeBalance.d.ts +1 -0
- package/dist/hooks/tokens/useSquidTokens.d.ts +1 -0
- package/dist/hooks/transaction/useDepositTransactionStatus.d.ts +20 -0
- package/dist/hooks/transaction/useSwapStatusQuery.d.ts +29 -0
- package/dist/hooks/wallet/useMultiChainWallet.d.ts +55 -29
- package/dist/hooks/wallet/useSigner.d.ts +1 -0
- package/dist/hooks/wallet/useWallet.d.ts +59 -29
- package/dist/hooks/xrpl/useXrplWallets.d.ts +2 -2
- package/dist/{index-Ypw6i6uY.js → index-BlB3yIoX.js} +1398 -294
- package/dist/index-BlB3yIoX.js.map +1 -0
- package/dist/{index-sCLxPcqi.js → index-Dzir2lUQ.js} +1383 -276
- package/dist/index-Dzir2lUQ.js.map +1 -0
- package/dist/{index.es-B2QD8f3q.js → index.es-BPXYaraD.js} +5 -4
- package/dist/index.es-BPXYaraD.js.map +1 -0
- package/dist/{index.es-Bot12hgd.js → index.es-DwtZr7bN.js} +5 -4
- package/dist/index.es-DwtZr7bN.js.map +1 -0
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/{secretService-C3jMjsK0.js → secretService-ICina23f.js} +5 -4
- package/dist/{secretService-C3jMjsK0.js.map → secretService-ICina23f.js.map} +1 -1
- package/dist/{secretService-BAK4sBb7.js → secretService-eiBnD7dI.js} +5 -4
- package/dist/{secretService-BAK4sBb7.js.map → secretService-eiBnD7dI.js.map} +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.esm.js +7 -1
- package/dist/server.esm.js.map +1 -1
- package/dist/server.js +7 -0
- package/dist/server.js.map +1 -1
- package/dist/services/external/onrampAdapter.d.ts +3 -4
- package/dist/services/external/rpcService.d.ts +17 -0
- package/dist/services/internal/assetsService.d.ts +10 -1
- package/dist/services/internal/cantonDamlValue.d.ts +75 -0
- package/dist/services/internal/cantonService.d.ts +64 -0
- package/dist/services/internal/cantonTransferService.d.ts +93 -0
- package/dist/services/internal/transactionService.d.ts +5 -1
- package/dist/services/internal/walletService.d.ts +3 -6
- package/dist/{stellarService.client-SrhXgRGB.js → stellarService.client-Bjc92sC_.js} +6 -5
- package/dist/{stellarService.client-SrhXgRGB.js.map → stellarService.client-Bjc92sC_.js.map} +1 -1
- package/dist/{stellarService.client-DkJ6WAdl.js → stellarService.client-VOmCOPzL.js} +6 -5
- package/dist/{stellarService.client-DkJ6WAdl.js.map → stellarService.client-VOmCOPzL.js.map} +1 -1
- package/dist/tests/cantonService.test.d.ts +1 -0
- package/dist/tests/cantonTransferService.test.d.ts +1 -0
- package/dist/tests/cip103Client.test.d.ts +1 -0
- package/dist/tests/fallbackWallets.test.d.ts +1 -0
- package/dist/tests/wallets.test.d.ts +1 -0
- package/package.json +3 -2
- package/dist/core/connectors/bitcoin/bitcoinFeatures.d.ts +0 -53
- package/dist/core/connectors/bitcoin/wallets/standard.d.ts +0 -30
- package/dist/index-Ypw6i6uY.js.map +0 -1
- package/dist/index-sCLxPcqi.js.map +0 -1
- package/dist/index.es-B2QD8f3q.js.map +0 -1
- package/dist/index.es-Bot12hgd.js.map +0 -1
|
@@ -21,7 +21,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
21
21
|
isInstalled?: (() => boolean) | undefined;
|
|
22
22
|
skipInstallCheck?: boolean | undefined;
|
|
23
23
|
rdns?: string | undefined;
|
|
24
|
-
|
|
24
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
25
25
|
} & {
|
|
26
26
|
isMultiChain: true;
|
|
27
27
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -39,7 +39,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
39
39
|
isInstalled?: (() => boolean) | undefined;
|
|
40
40
|
skipInstallCheck?: boolean | undefined;
|
|
41
41
|
rdns?: string | undefined;
|
|
42
|
-
|
|
42
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
43
43
|
} & {
|
|
44
44
|
isMultiChain?: false | undefined;
|
|
45
45
|
} & {
|
|
@@ -59,17 +59,13 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
59
59
|
isInstalled?: (() => boolean) | undefined;
|
|
60
60
|
skipInstallCheck?: boolean | undefined;
|
|
61
61
|
rdns?: string | undefined;
|
|
62
|
-
|
|
62
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
63
63
|
} & {
|
|
64
64
|
isMultiChain: true;
|
|
65
65
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
66
66
|
} & {
|
|
67
67
|
type: ChainType.COSMOS;
|
|
68
|
-
connector: ()
|
|
69
|
-
id: string;
|
|
70
|
-
name: string;
|
|
71
|
-
provider: any;
|
|
72
|
-
};
|
|
68
|
+
connector: import("../../core/types/cosmos").CosmosConnector;
|
|
73
69
|
}) | ({
|
|
74
70
|
name: string;
|
|
75
71
|
connectorId: import("../../core/types/wallet").ConnectorID;
|
|
@@ -81,23 +77,15 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
81
77
|
isInstalled?: (() => boolean) | undefined;
|
|
82
78
|
skipInstallCheck?: boolean | undefined;
|
|
83
79
|
rdns?: string | undefined;
|
|
84
|
-
|
|
80
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
85
81
|
} & {
|
|
86
82
|
isMultiChain?: false | undefined;
|
|
87
83
|
} & {
|
|
88
84
|
type: ChainType.COSMOS;
|
|
89
|
-
connector: ()
|
|
90
|
-
id: string;
|
|
91
|
-
name: string;
|
|
92
|
-
provider: any;
|
|
93
|
-
};
|
|
85
|
+
connector: import("../../core/types/cosmos").CosmosConnector;
|
|
94
86
|
} & {
|
|
95
87
|
type: ChainType.COSMOS;
|
|
96
|
-
connector: ()
|
|
97
|
-
id: string;
|
|
98
|
-
name: string;
|
|
99
|
-
provider: any;
|
|
100
|
-
};
|
|
88
|
+
connector: import("../../core/types/cosmos").CosmosConnector;
|
|
101
89
|
}) | ({
|
|
102
90
|
name: string;
|
|
103
91
|
connectorId: import("../../core/types/wallet").ConnectorID;
|
|
@@ -109,7 +97,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
109
97
|
isInstalled?: (() => boolean) | undefined;
|
|
110
98
|
skipInstallCheck?: boolean | undefined;
|
|
111
99
|
rdns?: string | undefined;
|
|
112
|
-
|
|
100
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
113
101
|
} & {
|
|
114
102
|
isMultiChain: true;
|
|
115
103
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -127,7 +115,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
127
115
|
isInstalled?: (() => boolean) | undefined;
|
|
128
116
|
skipInstallCheck?: boolean | undefined;
|
|
129
117
|
rdns?: string | undefined;
|
|
130
|
-
|
|
118
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
131
119
|
} & {
|
|
132
120
|
isMultiChain?: false | undefined;
|
|
133
121
|
} & {
|
|
@@ -147,7 +135,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
147
135
|
isInstalled?: (() => boolean) | undefined;
|
|
148
136
|
skipInstallCheck?: boolean | undefined;
|
|
149
137
|
rdns?: string | undefined;
|
|
150
|
-
|
|
138
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
151
139
|
} & {
|
|
152
140
|
isMultiChain: true;
|
|
153
141
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -165,7 +153,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
165
153
|
isInstalled?: (() => boolean) | undefined;
|
|
166
154
|
skipInstallCheck?: boolean | undefined;
|
|
167
155
|
rdns?: string | undefined;
|
|
168
|
-
|
|
156
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
169
157
|
} & {
|
|
170
158
|
isMultiChain?: false | undefined;
|
|
171
159
|
} & {
|
|
@@ -185,7 +173,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
185
173
|
isInstalled?: (() => boolean) | undefined;
|
|
186
174
|
skipInstallCheck?: boolean | undefined;
|
|
187
175
|
rdns?: string | undefined;
|
|
188
|
-
|
|
176
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
189
177
|
} & {
|
|
190
178
|
isMultiChain: true;
|
|
191
179
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -203,7 +191,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
203
191
|
isInstalled?: (() => boolean) | undefined;
|
|
204
192
|
skipInstallCheck?: boolean | undefined;
|
|
205
193
|
rdns?: string | undefined;
|
|
206
|
-
|
|
194
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
207
195
|
} & {
|
|
208
196
|
isMultiChain?: false | undefined;
|
|
209
197
|
} & {
|
|
@@ -223,7 +211,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
223
211
|
isInstalled?: (() => boolean) | undefined;
|
|
224
212
|
skipInstallCheck?: boolean | undefined;
|
|
225
213
|
rdns?: string | undefined;
|
|
226
|
-
|
|
214
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
227
215
|
} & {
|
|
228
216
|
isMultiChain: true;
|
|
229
217
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -241,7 +229,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
241
229
|
isInstalled?: (() => boolean) | undefined;
|
|
242
230
|
skipInstallCheck?: boolean | undefined;
|
|
243
231
|
rdns?: string | undefined;
|
|
244
|
-
|
|
232
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
245
233
|
} & {
|
|
246
234
|
isMultiChain?: false | undefined;
|
|
247
235
|
} & {
|
|
@@ -261,7 +249,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
261
249
|
isInstalled?: (() => boolean) | undefined;
|
|
262
250
|
skipInstallCheck?: boolean | undefined;
|
|
263
251
|
rdns?: string | undefined;
|
|
264
|
-
|
|
252
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
265
253
|
} & {
|
|
266
254
|
isMultiChain: true;
|
|
267
255
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -279,7 +267,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
279
267
|
isInstalled?: (() => boolean) | undefined;
|
|
280
268
|
skipInstallCheck?: boolean | undefined;
|
|
281
269
|
rdns?: string | undefined;
|
|
282
|
-
|
|
270
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
283
271
|
} & {
|
|
284
272
|
isMultiChain?: false | undefined;
|
|
285
273
|
} & {
|
|
@@ -288,5 +276,43 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
|
|
|
288
276
|
} & {
|
|
289
277
|
type: ChainType.STELLAR;
|
|
290
278
|
connector: import("../../core/types/stellar").StellarConnector;
|
|
279
|
+
}) | ({
|
|
280
|
+
name: string;
|
|
281
|
+
connectorId: import("../../core/types/wallet").ConnectorID;
|
|
282
|
+
connectorName: string;
|
|
283
|
+
icon: string | undefined;
|
|
284
|
+
windowFlag: import("../../core/types/wallet").WindowWalletFlag;
|
|
285
|
+
isMobile?: boolean | undefined;
|
|
286
|
+
isQrWallet?: boolean | undefined;
|
|
287
|
+
isInstalled?: (() => boolean) | undefined;
|
|
288
|
+
skipInstallCheck?: boolean | undefined;
|
|
289
|
+
rdns?: string | undefined;
|
|
290
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
291
|
+
} & {
|
|
292
|
+
isMultiChain: true;
|
|
293
|
+
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
294
|
+
} & {
|
|
295
|
+
type: ChainType.CANTON;
|
|
296
|
+
connector: import("../../core/types/canton").CantonConnector;
|
|
297
|
+
}) | ({
|
|
298
|
+
name: string;
|
|
299
|
+
connectorId: import("../../core/types/wallet").ConnectorID;
|
|
300
|
+
connectorName: string;
|
|
301
|
+
icon: string | undefined;
|
|
302
|
+
windowFlag: import("../../core/types/wallet").WindowWalletFlag;
|
|
303
|
+
isMobile?: boolean | undefined;
|
|
304
|
+
isQrWallet?: boolean | undefined;
|
|
305
|
+
isInstalled?: (() => boolean) | undefined;
|
|
306
|
+
skipInstallCheck?: boolean | undefined;
|
|
307
|
+
rdns?: string | undefined;
|
|
308
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
309
|
+
} & {
|
|
310
|
+
isMultiChain?: false | undefined;
|
|
311
|
+
} & {
|
|
312
|
+
type: ChainType.CANTON;
|
|
313
|
+
connector: import("../../core/types/canton").CantonConnector;
|
|
314
|
+
} & {
|
|
315
|
+
type: ChainType.CANTON;
|
|
316
|
+
connector: import("../../core/types/canton").CantonConnector;
|
|
291
317
|
}) | undefined;
|
|
292
318
|
};
|
|
@@ -11,4 +11,5 @@ export declare const useSigner: ({ chain }: {
|
|
|
11
11
|
suiSigner: import("../../core/types/sui").SuiConnector | undefined;
|
|
12
12
|
xrplSigner: import("../../core/types/xrpl").XrplConnector | undefined;
|
|
13
13
|
stellarSigner: import("../../core/types/stellar").StellarConnector | undefined;
|
|
14
|
+
cantonSigner: import("../../core/types/canton").CantonConnector | undefined;
|
|
14
15
|
};
|
|
@@ -17,7 +17,7 @@ export declare const useWallet: () => {
|
|
|
17
17
|
isInstalled?: (() => boolean) | undefined;
|
|
18
18
|
skipInstallCheck?: boolean | undefined;
|
|
19
19
|
rdns?: string | undefined;
|
|
20
|
-
|
|
20
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
21
21
|
} & {
|
|
22
22
|
isMultiChain: true;
|
|
23
23
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -35,7 +35,7 @@ export declare const useWallet: () => {
|
|
|
35
35
|
isInstalled?: (() => boolean) | undefined;
|
|
36
36
|
skipInstallCheck?: boolean | undefined;
|
|
37
37
|
rdns?: string | undefined;
|
|
38
|
-
|
|
38
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
39
39
|
} & {
|
|
40
40
|
isMultiChain?: false | undefined;
|
|
41
41
|
} & {
|
|
@@ -59,17 +59,13 @@ export declare const useWallet: () => {
|
|
|
59
59
|
isInstalled?: (() => boolean) | undefined;
|
|
60
60
|
skipInstallCheck?: boolean | undefined;
|
|
61
61
|
rdns?: string | undefined;
|
|
62
|
-
|
|
62
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
63
63
|
} & {
|
|
64
64
|
isMultiChain: true;
|
|
65
65
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
66
66
|
} & {
|
|
67
67
|
type: ChainType.COSMOS;
|
|
68
|
-
connector: ()
|
|
69
|
-
id: string;
|
|
70
|
-
name: string;
|
|
71
|
-
provider: any;
|
|
72
|
-
};
|
|
68
|
+
connector: import("../../core/types/cosmos").CosmosConnector;
|
|
73
69
|
}) | ({
|
|
74
70
|
name: string;
|
|
75
71
|
connectorId: import("../../core/types/wallet").ConnectorID;
|
|
@@ -81,23 +77,15 @@ export declare const useWallet: () => {
|
|
|
81
77
|
isInstalled?: (() => boolean) | undefined;
|
|
82
78
|
skipInstallCheck?: boolean | undefined;
|
|
83
79
|
rdns?: string | undefined;
|
|
84
|
-
|
|
80
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
85
81
|
} & {
|
|
86
82
|
isMultiChain?: false | undefined;
|
|
87
83
|
} & {
|
|
88
84
|
type: ChainType.COSMOS;
|
|
89
|
-
connector: ()
|
|
90
|
-
id: string;
|
|
91
|
-
name: string;
|
|
92
|
-
provider: any;
|
|
93
|
-
};
|
|
85
|
+
connector: import("../../core/types/cosmos").CosmosConnector;
|
|
94
86
|
} & {
|
|
95
87
|
type: ChainType.COSMOS;
|
|
96
|
-
connector: ()
|
|
97
|
-
id: string;
|
|
98
|
-
name: string;
|
|
99
|
-
provider: any;
|
|
100
|
-
};
|
|
88
|
+
connector: import("../../core/types/cosmos").CosmosConnector;
|
|
101
89
|
});
|
|
102
90
|
address: string;
|
|
103
91
|
}>;
|
|
@@ -113,7 +101,7 @@ export declare const useWallet: () => {
|
|
|
113
101
|
isInstalled?: (() => boolean) | undefined;
|
|
114
102
|
skipInstallCheck?: boolean | undefined;
|
|
115
103
|
rdns?: string | undefined;
|
|
116
|
-
|
|
104
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
117
105
|
} & {
|
|
118
106
|
isMultiChain: true;
|
|
119
107
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -131,7 +119,7 @@ export declare const useWallet: () => {
|
|
|
131
119
|
isInstalled?: (() => boolean) | undefined;
|
|
132
120
|
skipInstallCheck?: boolean | undefined;
|
|
133
121
|
rdns?: string | undefined;
|
|
134
|
-
|
|
122
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
135
123
|
} & {
|
|
136
124
|
isMultiChain?: false | undefined;
|
|
137
125
|
} & {
|
|
@@ -155,7 +143,7 @@ export declare const useWallet: () => {
|
|
|
155
143
|
isInstalled?: (() => boolean) | undefined;
|
|
156
144
|
skipInstallCheck?: boolean | undefined;
|
|
157
145
|
rdns?: string | undefined;
|
|
158
|
-
|
|
146
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
159
147
|
} & {
|
|
160
148
|
isMultiChain: true;
|
|
161
149
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -173,7 +161,7 @@ export declare const useWallet: () => {
|
|
|
173
161
|
isInstalled?: (() => boolean) | undefined;
|
|
174
162
|
skipInstallCheck?: boolean | undefined;
|
|
175
163
|
rdns?: string | undefined;
|
|
176
|
-
|
|
164
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
177
165
|
} & {
|
|
178
166
|
isMultiChain?: false | undefined;
|
|
179
167
|
} & {
|
|
@@ -197,7 +185,7 @@ export declare const useWallet: () => {
|
|
|
197
185
|
isInstalled?: (() => boolean) | undefined;
|
|
198
186
|
skipInstallCheck?: boolean | undefined;
|
|
199
187
|
rdns?: string | undefined;
|
|
200
|
-
|
|
188
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
201
189
|
} & {
|
|
202
190
|
isMultiChain: true;
|
|
203
191
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -215,7 +203,7 @@ export declare const useWallet: () => {
|
|
|
215
203
|
isInstalled?: (() => boolean) | undefined;
|
|
216
204
|
skipInstallCheck?: boolean | undefined;
|
|
217
205
|
rdns?: string | undefined;
|
|
218
|
-
|
|
206
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
219
207
|
} & {
|
|
220
208
|
isMultiChain?: false | undefined;
|
|
221
209
|
} & {
|
|
@@ -239,7 +227,7 @@ export declare const useWallet: () => {
|
|
|
239
227
|
isInstalled?: (() => boolean) | undefined;
|
|
240
228
|
skipInstallCheck?: boolean | undefined;
|
|
241
229
|
rdns?: string | undefined;
|
|
242
|
-
|
|
230
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
243
231
|
} & {
|
|
244
232
|
isMultiChain: true;
|
|
245
233
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -257,7 +245,7 @@ export declare const useWallet: () => {
|
|
|
257
245
|
isInstalled?: (() => boolean) | undefined;
|
|
258
246
|
skipInstallCheck?: boolean | undefined;
|
|
259
247
|
rdns?: string | undefined;
|
|
260
|
-
|
|
248
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
261
249
|
} & {
|
|
262
250
|
isMultiChain?: false | undefined;
|
|
263
251
|
} & {
|
|
@@ -281,7 +269,7 @@ export declare const useWallet: () => {
|
|
|
281
269
|
isInstalled?: (() => boolean) | undefined;
|
|
282
270
|
skipInstallCheck?: boolean | undefined;
|
|
283
271
|
rdns?: string | undefined;
|
|
284
|
-
|
|
272
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
285
273
|
} & {
|
|
286
274
|
isMultiChain: true;
|
|
287
275
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -299,7 +287,7 @@ export declare const useWallet: () => {
|
|
|
299
287
|
isInstalled?: (() => boolean) | undefined;
|
|
300
288
|
skipInstallCheck?: boolean | undefined;
|
|
301
289
|
rdns?: string | undefined;
|
|
302
|
-
|
|
290
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
303
291
|
} & {
|
|
304
292
|
isMultiChain?: false | undefined;
|
|
305
293
|
} & {
|
|
@@ -311,6 +299,48 @@ export declare const useWallet: () => {
|
|
|
311
299
|
});
|
|
312
300
|
address: string;
|
|
313
301
|
}>;
|
|
302
|
+
canton: Partial<{
|
|
303
|
+
wallet: ({
|
|
304
|
+
name: string;
|
|
305
|
+
connectorId: import("../../core/types/wallet").ConnectorID;
|
|
306
|
+
connectorName: string;
|
|
307
|
+
icon: string | undefined;
|
|
308
|
+
windowFlag: import("../../core/types/wallet").WindowWalletFlag;
|
|
309
|
+
isMobile?: boolean | undefined;
|
|
310
|
+
isQrWallet?: boolean | undefined;
|
|
311
|
+
isInstalled?: (() => boolean) | undefined;
|
|
312
|
+
skipInstallCheck?: boolean | undefined;
|
|
313
|
+
rdns?: string | undefined;
|
|
314
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
315
|
+
} & {
|
|
316
|
+
isMultiChain: true;
|
|
317
|
+
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
318
|
+
} & {
|
|
319
|
+
type: ChainType.CANTON;
|
|
320
|
+
connector: import("../../core/types/canton").CantonConnector;
|
|
321
|
+
}) | ({
|
|
322
|
+
name: string;
|
|
323
|
+
connectorId: import("../../core/types/wallet").ConnectorID;
|
|
324
|
+
connectorName: string;
|
|
325
|
+
icon: string | undefined;
|
|
326
|
+
windowFlag: import("../../core/types/wallet").WindowWalletFlag;
|
|
327
|
+
isMobile?: boolean | undefined;
|
|
328
|
+
isQrWallet?: boolean | undefined;
|
|
329
|
+
isInstalled?: (() => boolean) | undefined;
|
|
330
|
+
skipInstallCheck?: boolean | undefined;
|
|
331
|
+
rdns?: string | undefined;
|
|
332
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
333
|
+
} & {
|
|
334
|
+
isMultiChain?: false | undefined;
|
|
335
|
+
} & {
|
|
336
|
+
type: ChainType.CANTON;
|
|
337
|
+
connector: import("../../core/types/canton").CantonConnector;
|
|
338
|
+
} & {
|
|
339
|
+
type: ChainType.CANTON;
|
|
340
|
+
connector: import("../../core/types/canton").CantonConnector;
|
|
341
|
+
});
|
|
342
|
+
address: string;
|
|
343
|
+
}>;
|
|
314
344
|
};
|
|
315
345
|
connectedAddresses: Record<ChainType, string | undefined>;
|
|
316
346
|
connectingWalletState: import("../store/useWalletStore").ConnectingWalletState;
|
|
@@ -12,7 +12,7 @@ export declare function useXrplWallets(): {
|
|
|
12
12
|
isInstalled?: (() => boolean) | undefined;
|
|
13
13
|
skipInstallCheck?: boolean | undefined;
|
|
14
14
|
rdns?: string | undefined;
|
|
15
|
-
|
|
15
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
isMultiChain: true;
|
|
18
18
|
supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
|
|
@@ -30,7 +30,7 @@ export declare function useXrplWallets(): {
|
|
|
30
30
|
isInstalled?: (() => boolean) | undefined;
|
|
31
31
|
skipInstallCheck?: boolean | undefined;
|
|
32
32
|
rdns?: string | undefined;
|
|
33
|
-
|
|
33
|
+
links?: import("../../core/types/wallet").WalletLinks | undefined;
|
|
34
34
|
} & {
|
|
35
35
|
isMultiChain?: false | undefined;
|
|
36
36
|
} & {
|