@reown/appkit-core-react-native 1.2.4 → 2.0.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/lib/commonjs/controllers/ApiController.js +11 -11
- package/lib/commonjs/controllers/ApiController.js.map +1 -1
- package/lib/commonjs/controllers/BlockchainApiController.js +187 -14
- package/lib/commonjs/controllers/BlockchainApiController.js.map +1 -1
- package/lib/commonjs/controllers/ConnectionController.js +7 -1
- package/lib/commonjs/controllers/ConnectionController.js.map +1 -1
- package/lib/commonjs/controllers/ConnectionsController.js +205 -0
- package/lib/commonjs/controllers/ConnectionsController.js.map +1 -0
- package/lib/commonjs/controllers/ConnectorController.js +1 -0
- package/lib/commonjs/controllers/ConnectorController.js.map +1 -1
- package/lib/commonjs/controllers/OnRampController.js +421 -0
- package/lib/commonjs/controllers/OnRampController.js.map +1 -0
- package/lib/commonjs/controllers/OptionsController.js +11 -3
- package/lib/commonjs/controllers/OptionsController.js.map +1 -1
- package/lib/commonjs/controllers/RouterController.js +3 -2
- package/lib/commonjs/controllers/RouterController.js.map +1 -1
- package/lib/commonjs/controllers/SendController.js +5 -5
- package/lib/commonjs/controllers/SendController.js.map +1 -1
- package/lib/commonjs/controllers/SwapController.js +51 -40
- package/lib/commonjs/controllers/SwapController.js.map +1 -1
- package/lib/commonjs/controllers/ThemeController.js +9 -1
- package/lib/commonjs/controllers/ThemeController.js.map +1 -1
- package/lib/commonjs/controllers/TransactionsController.js +2 -2
- package/lib/commonjs/controllers/TransactionsController.js.map +1 -1
- package/lib/commonjs/index.js +10 -3
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/AssetUtil.js +5 -6
- package/lib/commonjs/utils/AssetUtil.js.map +1 -1
- package/lib/commonjs/utils/ConstantsUtil.js +599 -6
- package/lib/commonjs/utils/ConstantsUtil.js.map +1 -1
- package/lib/commonjs/utils/CoreHelperUtil.js +28 -0
- package/lib/commonjs/utils/CoreHelperUtil.js.map +1 -1
- package/lib/commonjs/utils/FetchUtil.js +15 -4
- package/lib/commonjs/utils/FetchUtil.js.map +1 -1
- package/lib/commonjs/utils/StorageUtil.js +218 -0
- package/lib/commonjs/utils/StorageUtil.js.map +1 -1
- package/lib/commonjs/utils/SwapApiUtil.js +19 -10
- package/lib/commonjs/utils/SwapApiUtil.js.map +1 -1
- package/lib/module/controllers/ApiController.js +11 -11
- package/lib/module/controllers/ApiController.js.map +1 -1
- package/lib/module/controllers/BlockchainApiController.js +187 -14
- package/lib/module/controllers/BlockchainApiController.js.map +1 -1
- package/lib/module/controllers/ConnectionController.js +7 -1
- package/lib/module/controllers/ConnectionController.js.map +1 -1
- package/lib/module/controllers/ConnectionsController.js +200 -0
- package/lib/module/controllers/ConnectionsController.js.map +1 -0
- package/lib/module/controllers/ConnectorController.js +1 -0
- package/lib/module/controllers/ConnectorController.js.map +1 -1
- package/lib/module/controllers/OnRampController.js +416 -0
- package/lib/module/controllers/OnRampController.js.map +1 -0
- package/lib/module/controllers/OptionsController.js +11 -3
- package/lib/module/controllers/OptionsController.js.map +1 -1
- package/lib/module/controllers/RouterController.js +3 -2
- package/lib/module/controllers/RouterController.js.map +1 -1
- package/lib/module/controllers/SendController.js +5 -5
- package/lib/module/controllers/SendController.js.map +1 -1
- package/lib/module/controllers/SwapController.js +51 -40
- package/lib/module/controllers/SwapController.js.map +1 -1
- package/lib/module/controllers/ThemeController.js +9 -1
- package/lib/module/controllers/ThemeController.js.map +1 -1
- package/lib/module/controllers/TransactionsController.js +2 -2
- package/lib/module/controllers/TransactionsController.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/AssetUtil.js +5 -6
- package/lib/module/utils/AssetUtil.js.map +1 -1
- package/lib/module/utils/ConstantsUtil.js +598 -5
- package/lib/module/utils/ConstantsUtil.js.map +1 -1
- package/lib/module/utils/CoreHelperUtil.js +26 -0
- package/lib/module/utils/CoreHelperUtil.js.map +1 -1
- package/lib/module/utils/FetchUtil.js +15 -4
- package/lib/module/utils/FetchUtil.js.map +1 -1
- package/lib/module/utils/StorageUtil.js +219 -0
- package/lib/module/utils/StorageUtil.js.map +1 -1
- package/lib/module/utils/SwapApiUtil.js +19 -10
- package/lib/module/utils/SwapApiUtil.js.map +1 -1
- package/lib/typescript/controllers/AccountController.d.ts +2 -2
- package/lib/typescript/controllers/AccountController.d.ts.map +1 -1
- package/lib/typescript/controllers/ApiController.d.ts +1 -1
- package/lib/typescript/controllers/ApiController.d.ts.map +1 -1
- package/lib/typescript/controllers/BlockchainApiController.d.ts +27 -2
- package/lib/typescript/controllers/BlockchainApiController.d.ts.map +1 -1
- package/lib/typescript/controllers/ConnectionController.d.ts +2 -0
- package/lib/typescript/controllers/ConnectionController.d.ts.map +1 -1
- package/lib/typescript/controllers/ConnectionsController.d.ts +43 -0
- package/lib/typescript/controllers/ConnectionsController.d.ts.map +1 -0
- package/lib/typescript/controllers/ConnectorController.d.ts.map +1 -1
- package/lib/typescript/controllers/NetworkController.d.ts +1 -1
- package/lib/typescript/controllers/NetworkController.d.ts.map +1 -1
- package/lib/typescript/controllers/OnRampController.d.ts +54 -0
- package/lib/typescript/controllers/OnRampController.d.ts.map +1 -0
- package/lib/typescript/controllers/OptionsController.d.ts +7 -2
- package/lib/typescript/controllers/OptionsController.d.ts.map +1 -1
- package/lib/typescript/controllers/PublicStateController.d.ts +1 -1
- package/lib/typescript/controllers/PublicStateController.d.ts.map +1 -1
- package/lib/typescript/controllers/RouterController.d.ts +5 -3
- package/lib/typescript/controllers/RouterController.d.ts.map +1 -1
- package/lib/typescript/controllers/SwapController.d.ts +1 -1
- package/lib/typescript/controllers/SwapController.d.ts.map +1 -1
- package/lib/typescript/controllers/ThemeController.d.ts +1 -1
- package/lib/typescript/controllers/ThemeController.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +2 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/utils/AssetUtil.d.ts +2 -2
- package/lib/typescript/utils/AssetUtil.d.ts.map +1 -1
- package/lib/typescript/utils/ConstantsUtil.d.ts +474 -1
- package/lib/typescript/utils/ConstantsUtil.d.ts.map +1 -1
- package/lib/typescript/utils/CoreHelperUtil.d.ts +5 -2
- package/lib/typescript/utils/CoreHelperUtil.d.ts.map +1 -1
- package/lib/typescript/utils/FetchUtil.d.ts +5 -5
- package/lib/typescript/utils/FetchUtil.d.ts.map +1 -1
- package/lib/typescript/utils/NetworkUtil.d.ts +1 -1
- package/lib/typescript/utils/NetworkUtil.d.ts.map +1 -1
- package/lib/typescript/utils/StorageUtil.d.ts +26 -2
- package/lib/typescript/utils/StorageUtil.d.ts.map +1 -1
- package/lib/typescript/utils/SwapApiUtil.d.ts.map +1 -1
- package/lib/typescript/utils/TypeUtil.d.ts +164 -25
- package/lib/typescript/utils/TypeUtil.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/controllers/AccountController.ts +2 -2
- package/src/controllers/ApiController.ts +12 -7
- package/src/controllers/BlockchainApiController.ts +238 -15
- package/src/controllers/ConnectionController.ts +10 -2
- package/src/controllers/ConnectionsController.ts +291 -0
- package/src/controllers/ConnectorController.ts +1 -0
- package/src/controllers/NetworkController.ts +1 -1
- package/src/controllers/OnRampController.ts +585 -0
- package/src/controllers/OptionsController.ts +19 -13
- package/src/controllers/PublicStateController.ts +1 -1
- package/src/controllers/RouterController.ts +17 -3
- package/src/controllers/SendController.ts +5 -5
- package/src/controllers/SwapController.ts +58 -48
- package/src/controllers/ThemeController.ts +11 -2
- package/src/controllers/TransactionsController.ts +2 -2
- package/src/index.ts +6 -1
- package/src/utils/AssetUtil.ts +5 -7
- package/src/utils/ConstantsUtil.ts +584 -5
- package/src/utils/CoreHelperUtil.ts +38 -3
- package/src/utils/FetchUtil.ts +16 -9
- package/src/utils/NetworkUtil.ts +1 -1
- package/src/utils/StorageUtil.ts +267 -2
- package/src/utils/SwapApiUtil.ts +22 -10
- package/src/utils/TypeUtil.ts +185 -29
- package/lib/commonjs/utils/ConnectionUtil.js +0 -33
- package/lib/commonjs/utils/ConnectionUtil.js.map +0 -1
- package/lib/module/utils/ConnectionUtil.js +0 -27
- package/lib/module/utils/ConnectionUtil.js.map +0 -1
- package/lib/typescript/utils/ConnectionUtil.d.ts +0 -4
- package/lib/typescript/utils/ConnectionUtil.d.ts.map +0 -1
- package/src/utils/ConnectionUtil.ts +0 -27
|
@@ -1,15 +1,488 @@
|
|
|
1
1
|
import type { Features } from './TypeUtil';
|
|
2
|
+
export declare const OnRampErrorType: {
|
|
3
|
+
readonly AMOUNT_TOO_LOW: "INVALID_AMOUNT_TOO_LOW";
|
|
4
|
+
readonly AMOUNT_TOO_HIGH: "INVALID_AMOUNT_TOO_HIGH";
|
|
5
|
+
readonly INVALID_AMOUNT: "INVALID_AMOUNT";
|
|
6
|
+
readonly INCOMPATIBLE_REQUEST: "INCOMPATIBLE_REQUEST";
|
|
7
|
+
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
8
|
+
readonly FAILED_TO_LOAD: "FAILED_TO_LOAD";
|
|
9
|
+
readonly FAILED_TO_LOAD_COUNTRIES: "FAILED_TO_LOAD_COUNTRIES";
|
|
10
|
+
readonly FAILED_TO_LOAD_PROVIDERS: "FAILED_TO_LOAD_PROVIDERS";
|
|
11
|
+
readonly FAILED_TO_LOAD_METHODS: "FAILED_TO_LOAD_METHODS";
|
|
12
|
+
readonly FAILED_TO_LOAD_CURRENCIES: "FAILED_TO_LOAD_CURRENCIES";
|
|
13
|
+
readonly FAILED_TO_LOAD_LIMITS: "FAILED_TO_LOAD_LIMITS";
|
|
14
|
+
readonly UNKNOWN: "UNKNOWN_ERROR";
|
|
15
|
+
};
|
|
2
16
|
export declare const ConstantsUtil: {
|
|
3
17
|
FOUR_MINUTES_MS: number;
|
|
4
18
|
TEN_SEC_MS: number;
|
|
5
19
|
ONE_SEC_MS: number;
|
|
6
20
|
EMAIL_REGEX: RegExp;
|
|
7
21
|
LINKING_ERROR: string;
|
|
8
|
-
NATIVE_TOKEN_ADDRESS:
|
|
22
|
+
NATIVE_TOKEN_ADDRESS: {
|
|
23
|
+
readonly eip155: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
24
|
+
readonly solana: "So11111111111111111111111111111111111111111";
|
|
25
|
+
readonly polkadot: "0x";
|
|
26
|
+
readonly bip122: "0x";
|
|
27
|
+
};
|
|
28
|
+
ONRAMP_ERROR_TYPES: {
|
|
29
|
+
readonly AMOUNT_TOO_LOW: "INVALID_AMOUNT_TOO_LOW";
|
|
30
|
+
readonly AMOUNT_TOO_HIGH: "INVALID_AMOUNT_TOO_HIGH";
|
|
31
|
+
readonly INVALID_AMOUNT: "INVALID_AMOUNT";
|
|
32
|
+
readonly INCOMPATIBLE_REQUEST: "INCOMPATIBLE_REQUEST";
|
|
33
|
+
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
34
|
+
readonly FAILED_TO_LOAD: "FAILED_TO_LOAD";
|
|
35
|
+
readonly FAILED_TO_LOAD_COUNTRIES: "FAILED_TO_LOAD_COUNTRIES";
|
|
36
|
+
readonly FAILED_TO_LOAD_PROVIDERS: "FAILED_TO_LOAD_PROVIDERS";
|
|
37
|
+
readonly FAILED_TO_LOAD_METHODS: "FAILED_TO_LOAD_METHODS";
|
|
38
|
+
readonly FAILED_TO_LOAD_CURRENCIES: "FAILED_TO_LOAD_CURRENCIES";
|
|
39
|
+
readonly FAILED_TO_LOAD_LIMITS: "FAILED_TO_LOAD_LIMITS";
|
|
40
|
+
readonly UNKNOWN: "UNKNOWN_ERROR";
|
|
41
|
+
};
|
|
9
42
|
SWAP_SUGGESTED_TOKENS: string[];
|
|
10
43
|
SWAP_POPULAR_TOKENS: string[];
|
|
44
|
+
ACTIVITY_SUPPORTED_CHAINS: string[];
|
|
11
45
|
SWAP_SUPPORTED_NETWORKS: string[];
|
|
12
46
|
CONVERT_SLIPPAGE_TOLERANCE: number;
|
|
13
47
|
DEFAULT_FEATURES: Features;
|
|
48
|
+
COUNTRY_CURRENCIES: {
|
|
49
|
+
AD: string;
|
|
50
|
+
AE: string;
|
|
51
|
+
AF: string;
|
|
52
|
+
AG: string;
|
|
53
|
+
AI: string;
|
|
54
|
+
AL: string;
|
|
55
|
+
AM: string;
|
|
56
|
+
AN: string;
|
|
57
|
+
AO: string;
|
|
58
|
+
AQ: string;
|
|
59
|
+
AR: string;
|
|
60
|
+
AS: string;
|
|
61
|
+
AT: string;
|
|
62
|
+
AU: string;
|
|
63
|
+
AW: string;
|
|
64
|
+
AX: string;
|
|
65
|
+
AZ: string;
|
|
66
|
+
BA: string;
|
|
67
|
+
BB: string;
|
|
68
|
+
BD: string;
|
|
69
|
+
BE: string;
|
|
70
|
+
BF: string;
|
|
71
|
+
BG: string;
|
|
72
|
+
BH: string;
|
|
73
|
+
BI: string;
|
|
74
|
+
BJ: string;
|
|
75
|
+
BL: string;
|
|
76
|
+
BM: string;
|
|
77
|
+
BN: string;
|
|
78
|
+
BO: string;
|
|
79
|
+
BQ: string;
|
|
80
|
+
BR: string;
|
|
81
|
+
BS: string;
|
|
82
|
+
BT: string;
|
|
83
|
+
BV: string;
|
|
84
|
+
BW: string;
|
|
85
|
+
BY: string;
|
|
86
|
+
BZ: string;
|
|
87
|
+
CA: string;
|
|
88
|
+
CC: string;
|
|
89
|
+
CD: string;
|
|
90
|
+
CF: string;
|
|
91
|
+
CG: string;
|
|
92
|
+
CH: string;
|
|
93
|
+
CI: string;
|
|
94
|
+
CK: string;
|
|
95
|
+
CL: string;
|
|
96
|
+
CM: string;
|
|
97
|
+
CN: string;
|
|
98
|
+
CO: string;
|
|
99
|
+
CR: string;
|
|
100
|
+
CU: string;
|
|
101
|
+
CV: string;
|
|
102
|
+
CW: string;
|
|
103
|
+
CX: string;
|
|
104
|
+
CY: string;
|
|
105
|
+
CZ: string;
|
|
106
|
+
DE: string;
|
|
107
|
+
DJ: string;
|
|
108
|
+
DK: string;
|
|
109
|
+
DM: string;
|
|
110
|
+
DO: string;
|
|
111
|
+
DZ: string;
|
|
112
|
+
EC: string;
|
|
113
|
+
EE: string;
|
|
114
|
+
EG: string;
|
|
115
|
+
EH: string;
|
|
116
|
+
ER: string;
|
|
117
|
+
ES: string;
|
|
118
|
+
ET: string;
|
|
119
|
+
FI: string;
|
|
120
|
+
FJ: string;
|
|
121
|
+
FK: string;
|
|
122
|
+
FM: string;
|
|
123
|
+
FO: string;
|
|
124
|
+
FR: string;
|
|
125
|
+
GA: string;
|
|
126
|
+
GB: string;
|
|
127
|
+
GD: string;
|
|
128
|
+
GE: string;
|
|
129
|
+
GF: string;
|
|
130
|
+
GG: string;
|
|
131
|
+
GH: string;
|
|
132
|
+
GI: string;
|
|
133
|
+
GL: string;
|
|
134
|
+
GM: string;
|
|
135
|
+
GN: string;
|
|
136
|
+
GP: string;
|
|
137
|
+
GQ: string;
|
|
138
|
+
GR: string;
|
|
139
|
+
GS: string;
|
|
140
|
+
GT: string;
|
|
141
|
+
GU: string;
|
|
142
|
+
GW: string;
|
|
143
|
+
GY: string;
|
|
144
|
+
HK: string;
|
|
145
|
+
HM: string;
|
|
146
|
+
HN: string;
|
|
147
|
+
HR: string;
|
|
148
|
+
HT: string;
|
|
149
|
+
HU: string;
|
|
150
|
+
ID: string;
|
|
151
|
+
IE: string;
|
|
152
|
+
IL: string;
|
|
153
|
+
IM: string;
|
|
154
|
+
IN: string;
|
|
155
|
+
IO: string;
|
|
156
|
+
IQ: string;
|
|
157
|
+
IR: string;
|
|
158
|
+
IS: string;
|
|
159
|
+
IT: string;
|
|
160
|
+
JE: string;
|
|
161
|
+
JM: string;
|
|
162
|
+
JO: string;
|
|
163
|
+
JP: string;
|
|
164
|
+
KE: string;
|
|
165
|
+
KG: string;
|
|
166
|
+
KH: string;
|
|
167
|
+
KI: string;
|
|
168
|
+
KM: string;
|
|
169
|
+
KN: string;
|
|
170
|
+
KP: string;
|
|
171
|
+
KR: string;
|
|
172
|
+
KW: string;
|
|
173
|
+
KY: string;
|
|
174
|
+
KZ: string;
|
|
175
|
+
LA: string;
|
|
176
|
+
LB: string;
|
|
177
|
+
LC: string;
|
|
178
|
+
LI: string;
|
|
179
|
+
LK: string;
|
|
180
|
+
LR: string;
|
|
181
|
+
LS: string;
|
|
182
|
+
LT: string;
|
|
183
|
+
LU: string;
|
|
184
|
+
LV: string;
|
|
185
|
+
LY: string;
|
|
186
|
+
MA: string;
|
|
187
|
+
MC: string;
|
|
188
|
+
MD: string;
|
|
189
|
+
ME: string;
|
|
190
|
+
MF: string;
|
|
191
|
+
MG: string;
|
|
192
|
+
MH: string;
|
|
193
|
+
MK: string;
|
|
194
|
+
ML: string;
|
|
195
|
+
MM: string;
|
|
196
|
+
MN: string;
|
|
197
|
+
MO: string;
|
|
198
|
+
MP: string;
|
|
199
|
+
MQ: string;
|
|
200
|
+
MR: string;
|
|
201
|
+
MS: string;
|
|
202
|
+
MT: string;
|
|
203
|
+
MU: string;
|
|
204
|
+
MV: string;
|
|
205
|
+
MW: string;
|
|
206
|
+
MX: string;
|
|
207
|
+
MY: string;
|
|
208
|
+
MZ: string;
|
|
209
|
+
NA: string;
|
|
210
|
+
NC: string;
|
|
211
|
+
NE: string;
|
|
212
|
+
NF: string;
|
|
213
|
+
NG: string;
|
|
214
|
+
NI: string;
|
|
215
|
+
NL: string;
|
|
216
|
+
NO: string;
|
|
217
|
+
NP: string;
|
|
218
|
+
NR: string;
|
|
219
|
+
NU: string;
|
|
220
|
+
NZ: string;
|
|
221
|
+
OM: string;
|
|
222
|
+
PA: string;
|
|
223
|
+
PE: string;
|
|
224
|
+
PF: string;
|
|
225
|
+
PG: string;
|
|
226
|
+
PH: string;
|
|
227
|
+
PK: string;
|
|
228
|
+
PL: string;
|
|
229
|
+
PM: string;
|
|
230
|
+
PN: string;
|
|
231
|
+
PR: string;
|
|
232
|
+
PS: string;
|
|
233
|
+
PT: string;
|
|
234
|
+
PW: string;
|
|
235
|
+
PY: string;
|
|
236
|
+
QA: string;
|
|
237
|
+
RE: string;
|
|
238
|
+
RO: string;
|
|
239
|
+
RS: string;
|
|
240
|
+
RU: string;
|
|
241
|
+
RW: string;
|
|
242
|
+
SA: string;
|
|
243
|
+
SB: string;
|
|
244
|
+
SC: string;
|
|
245
|
+
SD: string;
|
|
246
|
+
SE: string;
|
|
247
|
+
SG: string;
|
|
248
|
+
SH: string;
|
|
249
|
+
SI: string;
|
|
250
|
+
SJ: string;
|
|
251
|
+
SK: string;
|
|
252
|
+
SL: string;
|
|
253
|
+
SM: string;
|
|
254
|
+
SN: string;
|
|
255
|
+
SO: string;
|
|
256
|
+
SR: string;
|
|
257
|
+
SS: string;
|
|
258
|
+
ST: string;
|
|
259
|
+
SV: string;
|
|
260
|
+
SX: string;
|
|
261
|
+
SY: string;
|
|
262
|
+
SZ: string;
|
|
263
|
+
TC: string;
|
|
264
|
+
TD: string;
|
|
265
|
+
TF: string;
|
|
266
|
+
TG: string;
|
|
267
|
+
TH: string;
|
|
268
|
+
TJ: string;
|
|
269
|
+
TK: string;
|
|
270
|
+
TL: string;
|
|
271
|
+
TM: string;
|
|
272
|
+
TN: string;
|
|
273
|
+
TO: string;
|
|
274
|
+
TR: string;
|
|
275
|
+
TT: string;
|
|
276
|
+
TV: string;
|
|
277
|
+
TW: string;
|
|
278
|
+
TZ: string;
|
|
279
|
+
UA: string;
|
|
280
|
+
UG: string;
|
|
281
|
+
UM: string;
|
|
282
|
+
US: string;
|
|
283
|
+
UY: string;
|
|
284
|
+
UZ: string;
|
|
285
|
+
VA: string;
|
|
286
|
+
VC: string;
|
|
287
|
+
VE: string;
|
|
288
|
+
VG: string;
|
|
289
|
+
VI: string;
|
|
290
|
+
VN: string;
|
|
291
|
+
VU: string;
|
|
292
|
+
WF: string;
|
|
293
|
+
WS: string;
|
|
294
|
+
XK: string;
|
|
295
|
+
YE: string;
|
|
296
|
+
YT: string;
|
|
297
|
+
ZA: string;
|
|
298
|
+
ZM: string;
|
|
299
|
+
ZW: string;
|
|
300
|
+
};
|
|
301
|
+
NETWORK_DEFAULT_CURRENCIES: {
|
|
302
|
+
'eip155:1': string;
|
|
303
|
+
'eip155:56': string;
|
|
304
|
+
'eip155:137': string;
|
|
305
|
+
'eip155:42161': string;
|
|
306
|
+
'eip155:43114': string;
|
|
307
|
+
'eip155:10': string;
|
|
308
|
+
'eip155:250': string;
|
|
309
|
+
'eip155:100': string;
|
|
310
|
+
'eip155:8453': string;
|
|
311
|
+
'eip155:1284': string;
|
|
312
|
+
'eip155:1285': string;
|
|
313
|
+
'eip155:25': string;
|
|
314
|
+
'eip155:42220': string;
|
|
315
|
+
'eip155:8217': string;
|
|
316
|
+
'eip155:1313161554': string;
|
|
317
|
+
'eip155:40': string;
|
|
318
|
+
'eip155:1088': string;
|
|
319
|
+
'eip155:2222': string;
|
|
320
|
+
'eip155:7777777': string;
|
|
321
|
+
'eip155:7700': string;
|
|
322
|
+
'eip155:59144': string;
|
|
323
|
+
'eip155:1101': string;
|
|
324
|
+
'eip155:196': string;
|
|
325
|
+
};
|
|
326
|
+
COUNTRY_DEFAULT_PAYMENT_METHOD: {
|
|
327
|
+
AE: string[];
|
|
328
|
+
AR: string[];
|
|
329
|
+
AT: string[];
|
|
330
|
+
AU: string[];
|
|
331
|
+
BD: string[];
|
|
332
|
+
BE: string[];
|
|
333
|
+
BG: string[];
|
|
334
|
+
BR: string[];
|
|
335
|
+
CA: string[];
|
|
336
|
+
CH: string[];
|
|
337
|
+
CL: string[];
|
|
338
|
+
CN: string[];
|
|
339
|
+
CO: string[];
|
|
340
|
+
CY: string[];
|
|
341
|
+
CZ: string[];
|
|
342
|
+
DE: string[];
|
|
343
|
+
DK: string[];
|
|
344
|
+
EC: string[];
|
|
345
|
+
EE: string[];
|
|
346
|
+
ES: string[];
|
|
347
|
+
FI: string[];
|
|
348
|
+
FR: string[];
|
|
349
|
+
GB: string[];
|
|
350
|
+
GR: string[];
|
|
351
|
+
HK: string[];
|
|
352
|
+
HR: string[];
|
|
353
|
+
HU: string[];
|
|
354
|
+
ID: string[];
|
|
355
|
+
IE: string[];
|
|
356
|
+
IL: string[];
|
|
357
|
+
IN: string[];
|
|
358
|
+
IT: string[];
|
|
359
|
+
JP: string[];
|
|
360
|
+
KE: string[];
|
|
361
|
+
KR: string[];
|
|
362
|
+
LT: string[];
|
|
363
|
+
LV: string[];
|
|
364
|
+
MA: string[];
|
|
365
|
+
MX: string[];
|
|
366
|
+
MY: string[];
|
|
367
|
+
NG: string[];
|
|
368
|
+
NL: string[];
|
|
369
|
+
NO: string[];
|
|
370
|
+
NP: string[];
|
|
371
|
+
NZ: string[];
|
|
372
|
+
PH: string[];
|
|
373
|
+
PK: string[];
|
|
374
|
+
PL: string[];
|
|
375
|
+
PR: string[];
|
|
376
|
+
PT: string[];
|
|
377
|
+
RO: string[];
|
|
378
|
+
SA: string[];
|
|
379
|
+
SE: string[];
|
|
380
|
+
SG: string[];
|
|
381
|
+
SI: string[];
|
|
382
|
+
SK: string[];
|
|
383
|
+
TH: string[];
|
|
384
|
+
TR: string[];
|
|
385
|
+
TW: string[];
|
|
386
|
+
UA: string[];
|
|
387
|
+
US: string[];
|
|
388
|
+
VN: string[];
|
|
389
|
+
ZA: string[];
|
|
390
|
+
};
|
|
391
|
+
CURRENCY_SUGGESTED_VALUES: {
|
|
392
|
+
AED: number[];
|
|
393
|
+
AMD: number[];
|
|
394
|
+
ANG: number[];
|
|
395
|
+
AOA: number[];
|
|
396
|
+
ARS: number[];
|
|
397
|
+
AUD: number[];
|
|
398
|
+
AZN: number[];
|
|
399
|
+
BDT: number[];
|
|
400
|
+
BGN: number[];
|
|
401
|
+
BHD: number[];
|
|
402
|
+
BOB: number[];
|
|
403
|
+
BRL: number[];
|
|
404
|
+
BWP: number[];
|
|
405
|
+
CAD: number[];
|
|
406
|
+
CHF: number[];
|
|
407
|
+
CLP: number[];
|
|
408
|
+
CNY: number[];
|
|
409
|
+
COP: number[];
|
|
410
|
+
CRC: number[];
|
|
411
|
+
CZK: number[];
|
|
412
|
+
DKK: number[];
|
|
413
|
+
DOP: number[];
|
|
414
|
+
DZD: number[];
|
|
415
|
+
EGP: number[];
|
|
416
|
+
EUR: number[];
|
|
417
|
+
GBP: number[];
|
|
418
|
+
GEL: number[];
|
|
419
|
+
GHS: number[];
|
|
420
|
+
GTQ: number[];
|
|
421
|
+
HKD: number[];
|
|
422
|
+
HNL: number[];
|
|
423
|
+
HRK: number[];
|
|
424
|
+
HTG: number[];
|
|
425
|
+
HUF: number[];
|
|
426
|
+
IDR: number[];
|
|
427
|
+
ILS: number[];
|
|
428
|
+
INR: number[];
|
|
429
|
+
IQD: number[];
|
|
430
|
+
ISK: number[];
|
|
431
|
+
JOD: number[];
|
|
432
|
+
JPY: number[];
|
|
433
|
+
KES: number[];
|
|
434
|
+
KGS: number[];
|
|
435
|
+
KHR: number[];
|
|
436
|
+
KRW: number[];
|
|
437
|
+
KWD: number[];
|
|
438
|
+
KZT: number[];
|
|
439
|
+
LAK: number[];
|
|
440
|
+
LBP: number[];
|
|
441
|
+
LKR: number[];
|
|
442
|
+
MAD: number[];
|
|
443
|
+
MDL: number[];
|
|
444
|
+
MMK: number[];
|
|
445
|
+
MNT: number[];
|
|
446
|
+
MWK: number[];
|
|
447
|
+
MXN: number[];
|
|
448
|
+
MYR: number[];
|
|
449
|
+
NGN: number[];
|
|
450
|
+
NIO: number[];
|
|
451
|
+
NOK: number[];
|
|
452
|
+
NPR: number[];
|
|
453
|
+
NZD: number[];
|
|
454
|
+
OMR: number[];
|
|
455
|
+
PAB: number[];
|
|
456
|
+
PEN: number[];
|
|
457
|
+
PGK: number[];
|
|
458
|
+
PHP: number[];
|
|
459
|
+
PKR: number[];
|
|
460
|
+
PLN: number[];
|
|
461
|
+
PYG: number[];
|
|
462
|
+
QAR: number[];
|
|
463
|
+
RON: number[];
|
|
464
|
+
RSD: number[];
|
|
465
|
+
RWF: number[];
|
|
466
|
+
SAR: number[];
|
|
467
|
+
SEK: number[];
|
|
468
|
+
SGD: number[];
|
|
469
|
+
THB: number[];
|
|
470
|
+
TJS: number[];
|
|
471
|
+
TND: number[];
|
|
472
|
+
TRY: number[];
|
|
473
|
+
TWD: number[];
|
|
474
|
+
TZS: number[];
|
|
475
|
+
UAH: number[];
|
|
476
|
+
UGX: number[];
|
|
477
|
+
USD: number[];
|
|
478
|
+
UYU: number[];
|
|
479
|
+
UZS: number[];
|
|
480
|
+
VND: number[];
|
|
481
|
+
XAF: number[];
|
|
482
|
+
XCD: number[];
|
|
483
|
+
XOF: number[];
|
|
484
|
+
ZAR: number[];
|
|
485
|
+
ZMW: number[];
|
|
486
|
+
};
|
|
14
487
|
};
|
|
15
488
|
//# sourceMappingURL=ConstantsUtil.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConstantsUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ConstantsUtil.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConstantsUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ConstantsUtil.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAW3C,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAalB,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsrBzB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Balance } from '@reown/appkit-common-react-native';
|
|
2
|
-
import type {
|
|
1
|
+
import { type Balance, type CaipAddress, type CaipNetwork } from '@reown/appkit-common-react-native';
|
|
2
|
+
import type { DataWallet, LinkingRecord } from './TypeUtil';
|
|
3
3
|
export declare const CoreHelperUtil: {
|
|
4
4
|
isPairingExpired(expiry?: number): boolean;
|
|
5
5
|
isAllowedRetry(lastRetry: number): boolean;
|
|
@@ -16,7 +16,9 @@ export declare const CoreHelperUtil: {
|
|
|
16
16
|
isAddress(address: string, chain?: string): boolean;
|
|
17
17
|
getApiUrl(): string;
|
|
18
18
|
getBlockchainApiUrl(): string;
|
|
19
|
+
getBlockchainStagingApiUrl(): string;
|
|
19
20
|
getAnalyticsUrl(): string;
|
|
21
|
+
getCountryFromTimezone(): "VC" | "DE" | "GB" | "NZ" | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW";
|
|
20
22
|
getUUID(): string;
|
|
21
23
|
getBundleId(): any;
|
|
22
24
|
parseError(error: any): string;
|
|
@@ -34,5 +36,6 @@ export declare const CoreHelperUtil: {
|
|
|
34
36
|
pennies: string | undefined;
|
|
35
37
|
};
|
|
36
38
|
sortNetworks(approvedCaipNetworkIds: `${string}:${string}`[] | undefined, requestedCaipNetworks?: CaipNetwork[]): CaipNetwork[];
|
|
39
|
+
debounce<F extends (...args: any[]) => any>(func: F, wait: number): (...args: Parameters<F>) => void;
|
|
37
40
|
};
|
|
38
41
|
//# sourceMappingURL=CoreHelperUtil.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreHelperUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/CoreHelperUtil.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"CoreHelperUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/CoreHelperUtil.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,mCAAmC,CAAC;AAK3C,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAyB5D,eAAO,MAAM,cAAc;8BACC,MAAM;8BAIN,MAAM;;8BAQN,WAAW,GAAG,SAAS;iCAIpB,WAAW,GAAG,SAAS;uBAI3B,MAAM;mBAMhB,MAAM;wBAID,MAAM;4BAQF,MAAM,SAAS,MAAM,GAAG,aAAa;+BA2BlC,MAAM,SAAS,MAAM,GAAG,aAAa;kBAuB5C,MAAM;2BAQH,MAAM,GAAG,SAAS,UAAU,MAAM,GAAG,SAAS;uBAgBlD,MAAM,mBAAqB,OAAO;;;;;;;;sBAmFnC,GAAG,GAAG,MAAM;2BAYD,UAAU,GAAG,QAAQ,OAAO,CAAC;wBAiBtC,MAAM;yBAIL,QAAQ,OAAO,CAAC,EAAE;;;;;;;sCAUL,OAAO,EAAE;;;;yCAiBjB,GAAG,MAAM,IAAI,MAAM,EAAE,EAAE,GAAG,SAAS,0BACpC,WAAW,EAAE;iCAiBT,GAAG,EAAE,KAAK,GAAG,iBAAiB,MAAM;CAalE,CAAC"}
|
|
@@ -5,7 +5,7 @@ interface Options {
|
|
|
5
5
|
}
|
|
6
6
|
interface RequestArguments {
|
|
7
7
|
path: string;
|
|
8
|
-
headers?:
|
|
8
|
+
headers?: HeadersInit;
|
|
9
9
|
params?: Record<string, string | undefined>;
|
|
10
10
|
cache?: RequestCache;
|
|
11
11
|
signal?: AbortSignal;
|
|
@@ -17,10 +17,10 @@ export declare class FetchUtil {
|
|
|
17
17
|
baseUrl: Options['baseUrl'];
|
|
18
18
|
clientId: Options['clientId'];
|
|
19
19
|
constructor({ baseUrl, clientId }: Options);
|
|
20
|
-
get<T>({ headers, ...args }: RequestArguments): Promise<T | undefined>;
|
|
21
|
-
post<T>({ body, headers, ...args }: PostArguments): Promise<T | undefined>;
|
|
22
|
-
put<T>({ body, headers, ...args }: PostArguments): Promise<T | undefined>;
|
|
23
|
-
delete<T>({ body, headers, ...args }: PostArguments): Promise<T | undefined>;
|
|
20
|
+
get<T>({ headers, signal, ...args }: RequestArguments): Promise<T | undefined>;
|
|
21
|
+
post<T>({ body, headers, signal, ...args }: PostArguments): Promise<T | undefined>;
|
|
22
|
+
put<T>({ body, headers, signal, ...args }: PostArguments): Promise<T | undefined>;
|
|
23
|
+
delete<T>({ body, headers, signal, ...args }: PostArguments): Promise<T | undefined>;
|
|
24
24
|
fetchImage(path: string, headers?: Record<string, string>): Promise<string | undefined>;
|
|
25
25
|
private createUrl;
|
|
26
26
|
private processResponse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/FetchUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"FetchUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/FetchUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,UAAU,aAAc,SAAQ,gBAAgB;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAGD,qBAAa,SAAS;IACb,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;gBAElB,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,OAAO;IAKpC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB;IAOrD,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa;IAYzD,GAAG,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa;IAYxD,MAAM,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa;IAY3D,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAgBtE,OAAO,CAAC,SAAS;YAiBH,eAAe;CAqB9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/NetworkUtil.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"NetworkUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/NetworkUtil.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAErE,eAAO,MAAM,WAAW;iCACa,WAAW;;;;CAuB/C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { WcWallet } from './TypeUtil';
|
|
2
|
-
import type
|
|
1
|
+
import type { OnRampCountry, OnRampFiatCurrency, OnRampFiatLimit, OnRampServiceProvider, WcWallet } from './TypeUtil';
|
|
2
|
+
import { type SocialProvider, type New_ConnectorType, type ConnectorType, type ChainNamespace } from '@reown/appkit-common-react-native';
|
|
3
3
|
export declare const StorageUtil: {
|
|
4
4
|
setWalletConnectDeepLink({ href, name }: {
|
|
5
5
|
href: string;
|
|
@@ -13,11 +13,35 @@ export declare const StorageUtil: {
|
|
|
13
13
|
setConnectedConnector(connectorType: ConnectorType): Promise<void>;
|
|
14
14
|
getConnectedConnector(): Promise<ConnectorType | undefined>;
|
|
15
15
|
removeConnectedConnector(): Promise<void>;
|
|
16
|
+
setConnectedConnectors({ type, namespaces }: {
|
|
17
|
+
type: New_ConnectorType;
|
|
18
|
+
namespaces: string[];
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
getConnectedConnectors(): Promise<{
|
|
21
|
+
type: New_ConnectorType;
|
|
22
|
+
namespaces: string[];
|
|
23
|
+
}[]>;
|
|
24
|
+
removeConnectedConnectors(type: New_ConnectorType): Promise<void>;
|
|
16
25
|
setConnectedWalletImageUrl(url: string): Promise<void>;
|
|
17
26
|
getConnectedWalletImageUrl(): Promise<string | null | undefined>;
|
|
18
27
|
removeConnectedWalletImageUrl(): Promise<void>;
|
|
19
28
|
setConnectedSocialProvider(provider: SocialProvider): Promise<void>;
|
|
20
29
|
getConnectedSocialProvider(): Promise<any>;
|
|
21
30
|
removeConnectedSocialProvider(): Promise<void>;
|
|
31
|
+
setOnRampPreferredCountry(country: OnRampCountry): Promise<void>;
|
|
32
|
+
getOnRampPreferredCountry(): Promise<OnRampCountry | undefined>;
|
|
33
|
+
setOnRampPreferredFiatCurrency(currency: OnRampFiatCurrency): Promise<void>;
|
|
34
|
+
getOnRampPreferredFiatCurrency(): Promise<OnRampFiatCurrency | undefined>;
|
|
35
|
+
setOnRampCountries(countries: OnRampCountry[]): Promise<void>;
|
|
36
|
+
getOnRampCountries(): Promise<OnRampCountry[]>;
|
|
37
|
+
setOnRampServiceProviders(serviceProviders: OnRampServiceProvider[]): Promise<void>;
|
|
38
|
+
getOnRampServiceProviders(): Promise<OnRampServiceProvider[]>;
|
|
39
|
+
setOnRampFiatLimits(fiatLimits: OnRampFiatLimit[]): Promise<void>;
|
|
40
|
+
getOnRampFiatLimits(): Promise<OnRampFiatLimit[]>;
|
|
41
|
+
setOnRampFiatCurrencies(fiatCurrencies: OnRampFiatCurrency[]): Promise<void>;
|
|
42
|
+
getOnRampFiatCurrencies(): Promise<OnRampFiatCurrency[]>;
|
|
43
|
+
setActiveNamespace(namespace?: ChainNamespace): Promise<void>;
|
|
44
|
+
getActiveNamespace(): Promise<ChainNamespace | undefined>;
|
|
45
|
+
removeActiveNamespace(): Promise<void>;
|
|
22
46
|
};
|
|
23
47
|
//# sourceMappingURL=StorageUtil.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/StorageUtil.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"StorageUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/StorageUtil.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACT,MAAM,YAAY,CAAC;AACpB,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,mCAAmC,CAAC;AAkB3C,eAAO,MAAM,WAAW;;cAC2B,MAAM;cAAQ,MAAM;;;;4BA6BvC,QAAQ;8BAuBN,QAAQ,EAAE;wBAQhB,QAAQ,QAAQ,EAAE,CAAC;yCAaF,aAAa;6BAQzB,QAAQ,aAAa,GAAG,SAAS,CAAC;;;cAwBzD,iBAAiB;oBACX,MAAM,EAAE;;8BAcU,QAAQ;QAAE,IAAI,EAAE,iBAAiB,CAAC;QAAC,UAAU,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;oCAYtD,iBAAiB;oCAUjB,MAAM;;;yCA0BD,cAAc;;;uCA4BhB,aAAa;;6CAoBP,kBAAkB;;kCAoB7B,aAAa,EAAE;;gDAoBD,qBAAqB,EAAE;;oCAqCnC,eAAe,EAAE;;4CAoCT,kBAAkB,EAAE;;mCAoC7B,cAAc;;;CAiCpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapApiUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/SwapApiUtil.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SwapApiUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/SwapApiUtil.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,4BAA4B,EAC5B,iCAAiC,EACjC,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAMpB,eAAO,MAAM,WAAW;;;2BAgCD,MAAM;6BACJ,MAAM;;yCAqBc,MAAM;uCAoBd,4BAA4B,CAAC,UAAU,CAAC;;CAiC5E,CAAC"}
|