@funkit/connect 6.11.0 → 6.12.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/CHANGELOG.md +18 -0
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +5 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +5 -1
- package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +2 -1
- package/dist/domains/asset.d.ts +4 -0
- package/dist/domains/paymentMethods.d.ts +0 -2
- package/dist/index.js +3381 -4244
- package/dist/providers/FunkitFlagsProvider.d.ts +2 -1
- package/dist/utils/flags/impl.d.ts +1 -294
- package/dist/utils/flags/patches/enable-bitcoin-patch.d.ts +13 -2
- package/dist/utils/funLogger.d.ts +1 -3
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +59 -59
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +5 -7
- package/dist/components/FunSelectBrokerage/FunBrokerageItem.css.d.ts +0 -1
- package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +0 -9
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +0 -10
- package/dist/consts/mesh.d.ts +0 -77
- package/dist/providers/FunkitMeshProvider.d.ts +0 -11
- package/dist/utils/mesh.d.ts +0 -24
|
@@ -22,4 +22,5 @@ export declare function FunkitFlagsProvider({ children }: {
|
|
|
22
22
|
children: ReactNode;
|
|
23
23
|
}): React.JSX.Element;
|
|
24
24
|
export declare function useFlags(): FunkitFlagsContextValue;
|
|
25
|
-
export
|
|
25
|
+
export type FlagMiddleware<K extends FlagKey> = (flagValue: FlagValue<K>) => FlagValue<K>;
|
|
26
|
+
export declare function useFlag<K extends FlagKey>(flagKey: K, fallback?: FlagValue<K>, middleware?: FlagMiddleware<K>): FlagValue<K>;
|
|
@@ -1,303 +1,10 @@
|
|
|
1
|
-
import type { FlagConfig } from './config';
|
|
2
1
|
import type { AbstractFlags, InferFlagType } from './types';
|
|
3
2
|
export interface UserContext {
|
|
4
3
|
apiKey: string;
|
|
5
4
|
userId?: string;
|
|
6
5
|
ipCountry: string | undefined;
|
|
7
6
|
}
|
|
8
|
-
export declare function fetchConfigFromServer<F extends
|
|
9
|
-
readonly supported_exchanges_v2: {
|
|
10
|
-
readonly type: "string";
|
|
11
|
-
readonly default_value: string;
|
|
12
|
-
};
|
|
13
|
-
readonly blocked_countries: {
|
|
14
|
-
readonly type: "string";
|
|
15
|
-
readonly default_value: string;
|
|
16
|
-
readonly overrides: [{
|
|
17
|
-
readonly if_any: [{
|
|
18
|
-
readonly key: "apiKey";
|
|
19
|
-
readonly type: "isAnyOf";
|
|
20
|
-
readonly values: ["m4iHIILHcL4gN8EXCMzGe8zIdhuCXxck49mWajzJ", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e"];
|
|
21
|
-
}];
|
|
22
|
-
readonly value: string;
|
|
23
|
-
}, {
|
|
24
|
-
readonly if_any: [{
|
|
25
|
-
readonly key: "apiKey";
|
|
26
|
-
readonly type: "isAnyOf";
|
|
27
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4"];
|
|
28
|
-
}];
|
|
29
|
-
readonly value: "";
|
|
30
|
-
}];
|
|
31
|
-
};
|
|
32
|
-
readonly address_blacklist: {
|
|
33
|
-
readonly type: "string";
|
|
34
|
-
readonly default_value: string;
|
|
35
|
-
};
|
|
36
|
-
readonly show_powered_tagline: {
|
|
37
|
-
readonly type: "boolean";
|
|
38
|
-
readonly default_value: false;
|
|
39
|
-
readonly overrides: [{
|
|
40
|
-
readonly if_any: [{
|
|
41
|
-
readonly key: "apiKey";
|
|
42
|
-
readonly type: "isAnyOf";
|
|
43
|
-
readonly values: ["OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4"];
|
|
44
|
-
}];
|
|
45
|
-
readonly value: true;
|
|
46
|
-
}];
|
|
47
|
-
};
|
|
48
|
-
readonly enable_token_transfer: {
|
|
49
|
-
readonly type: "boolean";
|
|
50
|
-
readonly default_value: false;
|
|
51
|
-
readonly overrides: [{
|
|
52
|
-
readonly if_any: [{
|
|
53
|
-
readonly key: "apiKey";
|
|
54
|
-
readonly type: "isAnyOf";
|
|
55
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX"];
|
|
56
|
-
}];
|
|
57
|
-
readonly value: true;
|
|
58
|
-
}];
|
|
59
|
-
};
|
|
60
|
-
readonly enable_fiat_deposit: {
|
|
61
|
-
readonly type: "boolean";
|
|
62
|
-
readonly default_value: false;
|
|
63
|
-
readonly overrides: [{
|
|
64
|
-
readonly if_any: [{
|
|
65
|
-
readonly key: "userId";
|
|
66
|
-
readonly type: "isAnyOf";
|
|
67
|
-
readonly values: ["0x6ec0c2f25d323e7779925Cc20c3740101f990d9F", "0xbeFE12aA8cBa36DD79F50eE5E23828adB62f2FD6", "0x2A8Bd916E85d98d8175258De99fc0ddbcC102eF6", "0xda6b07Eb94f699F511a943e9bFC12B64B7fe3486", "0x0D6e43CA32545B3dc2FE6f93AafBD7e640F548d4", "0x236c60C57a8B9ca563Fb0dA5199FDdCB686d91E8", "0x70126A66Ea0f76220Af513365Fea7Db89191aF85", "0x8723E50B5d47714F599Ba02Ee3Db4F5aaF61f9Ad", "0x0682990de7b862979A3cf330a1B088412eCefD43", "0x4B27447b0370371B9e2b25Be6845d7F144CeC899"];
|
|
68
|
-
}];
|
|
69
|
-
readonly value: true;
|
|
70
|
-
}, {
|
|
71
|
-
readonly if_any: [{
|
|
72
|
-
readonly key: "apiKey";
|
|
73
|
-
readonly type: "isAnyOf";
|
|
74
|
-
readonly values: ["Z9SZaOwpmE40KX61mUKWm5hrpGh7WHVkaTvQJpQk", "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e"];
|
|
75
|
-
}];
|
|
76
|
-
readonly value: true;
|
|
77
|
-
}];
|
|
78
|
-
};
|
|
79
|
-
readonly token_transfer_source_chains_and_assets: {
|
|
80
|
-
readonly type: "string";
|
|
81
|
-
readonly default_value: string;
|
|
82
|
-
};
|
|
83
|
-
readonly withdrawal_chains_and_assets: {
|
|
84
|
-
readonly type: "string";
|
|
85
|
-
readonly default_value: string;
|
|
86
|
-
};
|
|
87
|
-
readonly enable_token_transfer_universal_deposit_address: {
|
|
88
|
-
readonly type: "boolean";
|
|
89
|
-
readonly default_value: true;
|
|
90
|
-
};
|
|
91
|
-
readonly max_checkout_usd: {
|
|
92
|
-
readonly type: "string";
|
|
93
|
-
readonly default_value: string;
|
|
94
|
-
readonly overrides: [{
|
|
95
|
-
readonly if_any: [{
|
|
96
|
-
readonly key: "userId";
|
|
97
|
-
readonly type: "isAnyOf";
|
|
98
|
-
readonly values: ["0x7b97b46D35a28B561d47F50CFB9a2735E506e59d", "0x409ad08cc6CA757f69Fb80250a424B9eFeB99807"];
|
|
99
|
-
}];
|
|
100
|
-
readonly value: string;
|
|
101
|
-
}];
|
|
102
|
-
};
|
|
103
|
-
readonly enable_frog_proxy_server: {
|
|
104
|
-
readonly type: "boolean";
|
|
105
|
-
readonly default_value: true;
|
|
106
|
-
};
|
|
107
|
-
readonly checkout_time_estimate_overrides: {
|
|
108
|
-
readonly type: "string";
|
|
109
|
-
readonly default_value: "";
|
|
110
|
-
readonly overrides: [{
|
|
111
|
-
readonly if_any: [{
|
|
112
|
-
readonly key: "apiKey";
|
|
113
|
-
readonly type: "isAnyOf";
|
|
114
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4"];
|
|
115
|
-
}];
|
|
116
|
-
readonly value: string;
|
|
117
|
-
}];
|
|
118
|
-
};
|
|
119
|
-
readonly token_transfer_default_chain_id: {
|
|
120
|
-
readonly type: "string";
|
|
121
|
-
readonly default_value: string;
|
|
122
|
-
readonly overrides: [{
|
|
123
|
-
readonly if_any: [{
|
|
124
|
-
readonly key: "apiKey";
|
|
125
|
-
readonly type: "isAnyOf";
|
|
126
|
-
readonly values: ["SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN"];
|
|
127
|
-
}];
|
|
128
|
-
readonly value: string;
|
|
129
|
-
}, {
|
|
130
|
-
readonly if_any: [{
|
|
131
|
-
readonly key: "apiKey";
|
|
132
|
-
readonly type: "isAnyOf";
|
|
133
|
-
readonly values: ["vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ"];
|
|
134
|
-
}];
|
|
135
|
-
readonly value: string;
|
|
136
|
-
}];
|
|
137
|
-
};
|
|
138
|
-
readonly is_checkout_activated: {
|
|
139
|
-
readonly type: "boolean";
|
|
140
|
-
readonly default_value: true;
|
|
141
|
-
};
|
|
142
|
-
readonly show_info_banner: {
|
|
143
|
-
readonly type: "string";
|
|
144
|
-
readonly default_value: string;
|
|
145
|
-
readonly overrides: [{
|
|
146
|
-
readonly if_any: [{
|
|
147
|
-
readonly key: "apiKey";
|
|
148
|
-
readonly type: "isAnyOf";
|
|
149
|
-
readonly values: ["SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN"];
|
|
150
|
-
}];
|
|
151
|
-
readonly value: string;
|
|
152
|
-
}];
|
|
153
|
-
};
|
|
154
|
-
readonly checkout_notifications_refresh_interval: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
readonly default_value: string;
|
|
157
|
-
};
|
|
158
|
-
readonly token_transfer_new_tokens: {
|
|
159
|
-
readonly type: "string";
|
|
160
|
-
readonly default_value: string;
|
|
161
|
-
};
|
|
162
|
-
readonly new_token_asset_selection_banner: {
|
|
163
|
-
readonly type: "string";
|
|
164
|
-
readonly default_value: "";
|
|
165
|
-
};
|
|
166
|
-
readonly is_relay_bypass_enabled: {
|
|
167
|
-
readonly type: "boolean";
|
|
168
|
-
readonly default_value: true;
|
|
169
|
-
};
|
|
170
|
-
readonly relay_bypass_source_chains_and_assets: {
|
|
171
|
-
readonly type: "string";
|
|
172
|
-
readonly default_value: string;
|
|
173
|
-
};
|
|
174
|
-
readonly relay_bypass_target_chains_and_assets: {
|
|
175
|
-
readonly type: "string";
|
|
176
|
-
readonly default_value: string;
|
|
177
|
-
};
|
|
178
|
-
readonly help_tutorial_url: {
|
|
179
|
-
readonly type: "string";
|
|
180
|
-
readonly default_value: "";
|
|
181
|
-
readonly overrides: [];
|
|
182
|
-
};
|
|
183
|
-
readonly enable_card: {
|
|
184
|
-
readonly type: "boolean";
|
|
185
|
-
readonly default_value: true;
|
|
186
|
-
readonly overrides: [{
|
|
187
|
-
readonly if_any: [{
|
|
188
|
-
readonly key: "userId";
|
|
189
|
-
readonly type: "isAnyOf";
|
|
190
|
-
readonly values: ["0x735D82176A8F35a7d63098769C10017b31D74395", "0xa43901c63f7702C407378E55E0d0EB4064a2AE31", "0x6ec0c2f25d323e7779925Cc20c3740101f990d9F", "0xbeFE12aA8cBa36DD79F50eE5E23828adB62f2FD6", "0x2A8Bd916E85d98d8175258De99fc0ddbcC102eF6", "0xda6b07Eb94f699F511a943e9bFC12B64B7fe3486", "0x0D6e43CA32545B3dc2FE6f93AafBD7e640F548d4", "0x236c60C57a8B9ca563Fb0dA5199FDdCB686d91E8", "0x9CB7F86F360459cC96C74a0F81aF2C4cC7a54bd2", "0x10678F46609C58e25d48381Ce7D663E2f1Fe39Fc", "0x046Bd992936802dDe82fed9a8Ec64d6AD70DC634", "0x3b023b1D4B01A2f82f0872aB7E0E80eC521C3406", "0x1B465e27E6885Ce804638c8775c315bFdA812913", "0x6FfB6c600c7CACa4F94c8E7B6Fa5350240AA9210"];
|
|
191
|
-
}];
|
|
192
|
-
readonly value: true;
|
|
193
|
-
}, {
|
|
194
|
-
readonly if_any: [{
|
|
195
|
-
readonly key: "apiKey";
|
|
196
|
-
readonly type: "isAnyOf";
|
|
197
|
-
readonly values: ["OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4"];
|
|
198
|
-
}];
|
|
199
|
-
readonly value: false;
|
|
200
|
-
}];
|
|
201
|
-
};
|
|
202
|
-
readonly enable_brokerage: {
|
|
203
|
-
readonly type: "boolean";
|
|
204
|
-
readonly default_value: false;
|
|
205
|
-
};
|
|
206
|
-
readonly enable_meld_payment: {
|
|
207
|
-
readonly type: "boolean";
|
|
208
|
-
readonly default_value: false;
|
|
209
|
-
readonly overrides: [{
|
|
210
|
-
readonly if_any: [{
|
|
211
|
-
readonly key: "userId";
|
|
212
|
-
readonly type: "isAnyOf";
|
|
213
|
-
readonly values: ["0x6ec0c2f25d323e7779925Cc20c3740101f990d9F", "0xbeFE12aA8cBa36DD79F50eE5E23828adB62f2FD6", "0x2A8Bd916E85d98d8175258De99fc0ddbcC102eF6", "0xda6b07Eb94f699F511a943e9bFC12B64B7fe3486", "0x0D6e43CA32545B3dc2FE6f93AafBD7e640F548d4", "0x236c60C57a8B9ca563Fb0dA5199FDdCB686d91E8", "0x4a1457fa2845bAfE8D3909cA3C5ac6107be312Dd", "0xfCB8B2d294eD7373B3B590dd7C0CBC430d41a9a0", "0x9CB7F86F360459cC96C74a0F81aF2C4cC7a54bd2", "0xbC805309dde14dFC14f91f7D4Cb9972Ecc915D39", "0xbD31535c457298E0b77AC8EA25DfE3A9BE165cBf", "0xA7B7D4caC72EeE278Af02121E4b2b782A89AD6f9"];
|
|
214
|
-
}];
|
|
215
|
-
readonly value: true;
|
|
216
|
-
}, {
|
|
217
|
-
readonly if_all: [{
|
|
218
|
-
readonly key: "userId";
|
|
219
|
-
readonly type: "pctRollout";
|
|
220
|
-
readonly pct: 50;
|
|
221
|
-
}, {
|
|
222
|
-
readonly key: "apiKey";
|
|
223
|
-
readonly type: "isAnyOf";
|
|
224
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6"];
|
|
225
|
-
}];
|
|
226
|
-
readonly if_any: [{
|
|
227
|
-
readonly key: "userId";
|
|
228
|
-
readonly type: "pctRollout";
|
|
229
|
-
readonly pct: 0;
|
|
230
|
-
}];
|
|
231
|
-
readonly value: true;
|
|
232
|
-
}, {
|
|
233
|
-
readonly if_any: [{
|
|
234
|
-
readonly key: "apiKey";
|
|
235
|
-
readonly type: "isAnyOf";
|
|
236
|
-
readonly values: ["HKHvPSPDezaxsTohFgDuG4WpKW6hB4SFYyztm9vc", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN"];
|
|
237
|
-
}];
|
|
238
|
-
readonly value: true;
|
|
239
|
-
}, {
|
|
240
|
-
readonly if_any: [{
|
|
241
|
-
readonly key: "userId";
|
|
242
|
-
readonly type: "pctRollout";
|
|
243
|
-
readonly pct: 100;
|
|
244
|
-
}];
|
|
245
|
-
readonly value: false;
|
|
246
|
-
}];
|
|
247
|
-
};
|
|
248
|
-
readonly meld_quick_options: {
|
|
249
|
-
readonly type: "string";
|
|
250
|
-
readonly default_value: string;
|
|
251
|
-
};
|
|
252
|
-
readonly min_token_transfer_value: {
|
|
253
|
-
readonly type: "string";
|
|
254
|
-
readonly default_value: string;
|
|
255
|
-
};
|
|
256
|
-
readonly withdrawal_exclude_tokens: {
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
readonly default_value: string;
|
|
259
|
-
};
|
|
260
|
-
readonly withdrawal_exclude_chains: {
|
|
261
|
-
readonly type: "string";
|
|
262
|
-
readonly default_value: string;
|
|
263
|
-
};
|
|
264
|
-
readonly enable_source_navigation_widget: {
|
|
265
|
-
readonly type: "boolean";
|
|
266
|
-
readonly default_value: false;
|
|
267
|
-
};
|
|
268
|
-
readonly token_transfer_default_tokens: {
|
|
269
|
-
readonly type: "string";
|
|
270
|
-
readonly default_value: "";
|
|
271
|
-
readonly overrides: [{
|
|
272
|
-
readonly if_any: [{
|
|
273
|
-
readonly key: "apiKey";
|
|
274
|
-
readonly type: "isAnyOf";
|
|
275
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6"];
|
|
276
|
-
}];
|
|
277
|
-
readonly value: string;
|
|
278
|
-
}];
|
|
279
|
-
};
|
|
280
|
-
readonly chain_id_sort_order: {
|
|
281
|
-
readonly type: "string";
|
|
282
|
-
readonly default_value: string;
|
|
283
|
-
};
|
|
284
|
-
readonly enable_bitcoin: {
|
|
285
|
-
readonly type: "boolean";
|
|
286
|
-
readonly default_value: false;
|
|
287
|
-
readonly overrides: [{
|
|
288
|
-
readonly if_any: [{
|
|
289
|
-
readonly key: "userId";
|
|
290
|
-
readonly type: "pctRollout";
|
|
291
|
-
readonly pct: 10;
|
|
292
|
-
}, {
|
|
293
|
-
readonly key: "userId";
|
|
294
|
-
readonly type: "isAnyOf";
|
|
295
|
-
readonly values: ["0x236c60C57a8B9ca563Fb0dA5199FDdCB686d91E8", "0x2e0Fa1cE3F0F6a85542c1E4F941116c0E885292E", "0x28b8848C6c3aaBF4669997563dc07888eb3B0960", "0x9C64fD7d9826E6d552dD8bc53e5C96F7C3F38528", "0xfe5AD22465dc20340bfFb641F4AbbcAA7a1BB2Ed", "0x9CB7F86F360459cC96C74a0F81aF2C4cC7a54bd2", "0x21b94a3E67c4a72d3D15f478A696c5175f036092", "0x2A8Bd916E85d98d8175258De99fc0ddbcC102eF6", "0x8a5505F1b274d8fC23986AF60Dd3Ca3857095BB8", "0x0B6E49e9D1528F59BaBF3C5337A4c96E987f81aa", "0x84Bc1AC5621d2B44C5D3e3E79b45C2885406026D", "0x0D0377aa9CCA769931821842aB0E1A75e7DD6dD6", "0x7B0195921183f7E04f0D331c1DAF7C1bB208CC4E", "0xda6b07Eb94f699F511a943e9bFC12B64B7fe3486", "0x3c937d73f7FE55b386c309C65087d9F5bdd1a780"];
|
|
296
|
-
}];
|
|
297
|
-
readonly value: true;
|
|
298
|
-
}];
|
|
299
|
-
};
|
|
300
|
-
}>;
|
|
7
|
+
export declare function fetchConfigFromServer<F extends AbstractFlags>(): Promise<F>;
|
|
301
8
|
export declare function deriveAllFlags<T extends AbstractFlags>(config: T, userContext: UserContext): {
|
|
302
9
|
[K in keyof T]?: InferFlagType<T[K]>;
|
|
303
10
|
};
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* TODO: Delete once all customers are using @funkit/connect supporting bitcoin
|
|
3
|
+
*/
|
|
4
|
+
import { type FlagKey } from '@funkit/utils';
|
|
5
|
+
import type { FlagMiddleware } from '~/providers/FunkitFlagsProvider';
|
|
6
|
+
/**
|
|
7
|
+
* Adds {8253038: ["BTC"]} to the newTokens if not already present
|
|
8
|
+
*/
|
|
9
|
+
export declare const addBitcoinToNewTokens: FlagMiddleware<FlagKey.TokenTransferNewTokens>;
|
|
10
|
+
/**
|
|
11
|
+
* Adds {8253038: ["BTC"]} to the sourceChainsAndAssets if not already present
|
|
12
|
+
*/
|
|
13
|
+
export declare const addBitcoinToSourceChainsAndAssets: FlagMiddleware<FlagKey.TokenTransferSourceChainsAndAssets>;
|
|
@@ -6,7 +6,6 @@ declare class FunLogger {
|
|
|
6
6
|
protected userName: string | null;
|
|
7
7
|
protected userLoginType: string | null;
|
|
8
8
|
protected sdkVersion: string | null;
|
|
9
|
-
protected deviceId: string | null;
|
|
10
9
|
constructor();
|
|
11
10
|
private getFunLogEnv;
|
|
12
11
|
private logDataDog;
|
|
@@ -33,8 +32,7 @@ declare class FunLogger {
|
|
|
33
32
|
getUserAddress(): string | null;
|
|
34
33
|
getUserName(): string | null;
|
|
35
34
|
getUserLoginType(): string | null;
|
|
36
|
-
setUserInfo(userId: string, userAddress: string, userName: string, userLoginType: string
|
|
37
|
-
setDeviceId(deviceId: string): void;
|
|
35
|
+
setUserInfo(userId: string, userAddress: string, userName: string, userLoginType: string): void;
|
|
38
36
|
}
|
|
39
37
|
declare const logger: FunLogger;
|
|
40
38
|
export { logger };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
zealWallet
|
|
4
|
+
} from "./chunk-RNBEDQHF.js";
|
|
2
5
|
import {
|
|
3
6
|
walletConnectWallet
|
|
4
7
|
} from "./chunk-NP5QGWNL.js";
|
|
5
8
|
import {
|
|
6
9
|
zerionWallet
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
zealWallet
|
|
10
|
-
} from "./chunk-RNBEDQHF.js";
|
|
10
|
+
} from "./chunk-SULRQO27.js";
|
|
11
11
|
import {
|
|
12
12
|
tahoWallet
|
|
13
13
|
} from "./chunk-ZZZRUXZE.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
safepalWallet
|
|
16
|
+
} from "./chunk-NT2HYJKW.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
subWallet
|
|
19
|
+
} from "./chunk-JWFF4AAL.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
tokenaryWallet
|
|
22
|
+
} from "./chunk-D6AOOO5F.js";
|
|
23
23
|
import {
|
|
24
24
|
tokenPocketWallet
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2L43XSW3.js";
|
|
26
|
+
import {
|
|
27
|
+
xdefiWallet
|
|
28
|
+
} from "./chunk-BOU4WKRZ.js";
|
|
29
|
+
import {
|
|
30
|
+
trustWallet
|
|
31
|
+
} from "./chunk-VYBAYMP3.js";
|
|
26
32
|
import {
|
|
27
33
|
uniswapWallet
|
|
28
34
|
} from "./chunk-LH7BMNFZ.js";
|
|
29
35
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
36
|
+
rabbyWallet
|
|
37
|
+
} from "./chunk-BBOM42DL.js";
|
|
32
38
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
39
|
+
phantomWallet
|
|
40
|
+
} from "./chunk-362NXNTM.js";
|
|
35
41
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
42
|
+
rainbowWallet
|
|
43
|
+
} from "./chunk-2KUBG3S6.js";
|
|
38
44
|
import {
|
|
39
45
|
ramperWallet
|
|
40
46
|
} from "./chunk-BYXPFMI7.js";
|
|
41
|
-
import {
|
|
42
|
-
rainbowWallet
|
|
43
|
-
} from "./chunk-3CICVJUN.js";
|
|
44
|
-
import {
|
|
45
|
-
rabbyWallet
|
|
46
|
-
} from "./chunk-BBOM42DL.js";
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-NWIQNBJU.js";
|
|
50
50
|
import {
|
|
51
51
|
safeheronWallet
|
|
52
52
|
} from "./chunk-RZIO5TFF.js";
|
|
@@ -54,86 +54,86 @@ import {
|
|
|
54
54
|
safeWallet
|
|
55
55
|
} from "./chunk-BQQQL6UD.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
57
|
+
talismanWallet
|
|
58
|
+
} from "./chunk-DRO6WYMM.js";
|
|
59
|
+
import {
|
|
60
|
+
kresusWallet
|
|
61
|
+
} from "./chunk-MJXPRJZT.js";
|
|
59
62
|
import {
|
|
60
63
|
ledgerWallet
|
|
61
64
|
} from "./chunk-BRBKM4PW.js";
|
|
62
|
-
import {
|
|
63
|
-
metaMaskWallet
|
|
64
|
-
} from "./chunk-UYGJO62F.js";
|
|
65
65
|
import {
|
|
66
66
|
mewWallet
|
|
67
67
|
} from "./chunk-OL5ZO7E4.js";
|
|
68
|
-
import {
|
|
69
|
-
okxWallet
|
|
70
|
-
} from "./chunk-AFXHGWBH.js";
|
|
71
68
|
import {
|
|
72
69
|
omniWallet
|
|
73
70
|
} from "./chunk-7CUY5G6R.js";
|
|
74
71
|
import {
|
|
75
72
|
oktoWallet
|
|
76
73
|
} from "./chunk-ADIXAKUL.js";
|
|
74
|
+
import {
|
|
75
|
+
okxWallet
|
|
76
|
+
} from "./chunk-TDIEHTMB.js";
|
|
77
|
+
import {
|
|
78
|
+
oneKeyWallet
|
|
79
|
+
} from "./chunk-SHBUZ7U7.js";
|
|
77
80
|
import {
|
|
78
81
|
oneInchWallet
|
|
79
82
|
} from "./chunk-OESTDX6I.js";
|
|
80
|
-
import {
|
|
81
|
-
phantomWallet
|
|
82
|
-
} from "./chunk-362NXNTM.js";
|
|
83
83
|
import {
|
|
84
84
|
enkryptWallet
|
|
85
85
|
} from "./chunk-OLOIXTYS.js";
|
|
86
|
-
import {
|
|
87
|
-
frontierWallet
|
|
88
|
-
} from "./chunk-VWCLFMWJ.js";
|
|
89
86
|
import {
|
|
90
87
|
frameWallet
|
|
91
88
|
} from "./chunk-IFON7E6U.js";
|
|
92
89
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import {
|
|
96
|
-
kresusWallet
|
|
97
|
-
} from "./chunk-MJXPRJZT.js";
|
|
90
|
+
frontierWallet
|
|
91
|
+
} from "./chunk-TCAGNB4B.js";
|
|
98
92
|
import {
|
|
99
93
|
imTokenWallet
|
|
100
94
|
} from "./chunk-COZ7MIQS.js";
|
|
95
|
+
import {
|
|
96
|
+
gateWallet
|
|
97
|
+
} from "./chunk-FKJJQNKX.js";
|
|
101
98
|
import {
|
|
102
99
|
injectedWallet
|
|
103
100
|
} from "./chunk-XWUJE7MW.js";
|
|
104
101
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import {
|
|
108
|
-
clvWallet
|
|
109
|
-
} from "./chunk-2GJQ4XZQ.js";
|
|
102
|
+
metaMaskWallet
|
|
103
|
+
} from "./chunk-2HYNUNAS.js";
|
|
110
104
|
import {
|
|
111
105
|
coin98Wallet
|
|
112
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-OBOVHCEI.js";
|
|
107
|
+
import {
|
|
108
|
+
clvWallet
|
|
109
|
+
} from "./chunk-M3NZ6R2E.js";
|
|
113
110
|
import {
|
|
114
111
|
coinbaseWallet
|
|
115
112
|
} from "./chunk-H4IRCEZN.js";
|
|
113
|
+
import {
|
|
114
|
+
bybitWallet
|
|
115
|
+
} from "./chunk-2STUC6QL.js";
|
|
116
116
|
import {
|
|
117
117
|
coreWallet
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-VR4TBQ6S.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
120
|
+
foxWallet
|
|
121
|
+
} from "./chunk-7QONTUXT.js";
|
|
122
122
|
import {
|
|
123
123
|
dawnWallet
|
|
124
124
|
} from "./chunk-HWPKCIBE.js";
|
|
125
125
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
126
|
+
desigWallet
|
|
127
|
+
} from "./chunk-OPAZMNA7.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-A5N6B5UW.js";
|
|
134
134
|
import {
|
|
135
135
|
bitgetWallet
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-TDAVGY5F.js";
|
|
137
137
|
import {
|
|
138
138
|
bitskiWallet
|
|
139
139
|
} from "./chunk-HS3C7OQV.js";
|
|
@@ -143,11 +143,11 @@ import {
|
|
|
143
143
|
import {
|
|
144
144
|
bloomWallet
|
|
145
145
|
} from "./chunk-S27IADFU.js";
|
|
146
|
+
import "./chunk-23WIEY36.js";
|
|
146
147
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
braveWallet
|
|
149
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
149
150
|
import "./chunk-DNSG5Q7V.js";
|
|
150
|
-
import "./chunk-23WIEY36.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
|
153
153
|
bifrostWallet,
|