@talken/talkenkit 2.8.1 → 2.8.2
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/{abcWallet-TMP56C3B.js → abcWallet-7ZZXHG7O.js} +1 -1
- package/dist/{chunk-WEQ3DKBC.js → chunk-HX6JUKSS.js} +0 -6
- package/dist/gasless/types.d.ts +33 -2
- package/dist/gasless/utils/fiatFormatter.d.ts +32 -0
- package/dist/index.js +158 -8
- package/dist/wallets/walletConnectors/abcWallet/AbstractChainProvider.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/abcBitcoinProvider.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +7 -7
- package/dist/wallets/walletConnectors/abcWallet/abcProvider.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.js +6 -6
- package/dist/wallets/walletConnectors/abcWallet/abcTronProvider.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +8 -8
- package/dist/wallets/walletConnectors/abcWallet/abcXrplProvider.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiClient.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/api/index.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/index.js +12 -12
- package/dist/wallets/walletConnectors/chunk-3LAMBKQL.js +345 -0
- package/dist/wallets/walletConnectors/chunk-55MPPI65.js +492 -0
- package/dist/wallets/walletConnectors/{chunk-24AEUYOZ.js → chunk-63H3LXPW.js} +2 -2
- package/dist/wallets/walletConnectors/{chunk-I7QLXYSA.js → chunk-6BDKSA22.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-73ENA2TK.js → chunk-7DLZKN46.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-EQ4EX5IN.js +340 -0
- package/dist/wallets/walletConnectors/chunk-EULIVR7N.js +370 -0
- package/dist/wallets/walletConnectors/{chunk-DKWXI7IR.js → chunk-HM73RD2O.js} +0 -6
- package/dist/wallets/walletConnectors/{chunk-2DROHKQL.js → chunk-KCB4MMIZ.js} +2 -2
- package/dist/wallets/walletConnectors/chunk-LIN3ZO63.js +378 -0
- package/dist/wallets/walletConnectors/{chunk-L7ZETI2T.js → chunk-M4YGDOD5.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-OUVRAKVV.js +3050 -0
- package/dist/wallets/walletConnectors/chunk-SKVKZ5FY.js +132 -0
- package/dist/wallets/walletConnectors/{chunk-R3SLVZUQ.js → chunk-VEJS7JOC.js} +2 -2
- package/dist/wallets/walletConnectors/index.js +52 -52
- package/package.json +1 -1
- package/dist/wallets/walletConnectors/{chunk-PYIAXFRD.js → chunk-BF4HTXWH.js} +5 -5
|
@@ -1324,12 +1324,6 @@ var GaslessFeeService = class {
|
|
|
1324
1324
|
const feeAmountRaw = feeEstimateRaw.feeInToken;
|
|
1325
1325
|
const feeAmountBig = BigInt(feeAmountRaw);
|
|
1326
1326
|
const isSameTokenAsInput = feeToken.address.toLowerCase() === tokenAddress.toLowerCase();
|
|
1327
|
-
if (isSameTokenAsInput && feeAmountBig * BigInt(2) > BigInt(amount)) {
|
|
1328
|
-
console.warn(
|
|
1329
|
-
`[GaslessFeeService] Fee ${feeAmountRaw} exceeds 50% of amount ${amount} for ${feeToken.symbol}, skipping`
|
|
1330
|
-
);
|
|
1331
|
-
continue;
|
|
1332
|
-
}
|
|
1333
1327
|
const formattedFee = this.formatFee(feeAmountRaw, feeToken.decimals);
|
|
1334
1328
|
const feeTokenBalance = this.getBalance(balances, feeToken.address);
|
|
1335
1329
|
const inputBalance = this.getBalance(balances, tokenAddress);
|
package/dist/gasless/types.d.ts
CHANGED
|
@@ -19,8 +19,19 @@ export interface FeeEstimate {
|
|
|
19
19
|
feeAmount: string;
|
|
20
20
|
/** Raw fee amount in smallest unit */
|
|
21
21
|
feeAmountRaw: string;
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Use {@link feeAmountFiat}. Populated with the same value
|
|
24
|
+
* as `feeAmountFiat` only when `GaslessConfig.displayCurrency`
|
|
25
|
+
* resolves to `'USD'`. Will be removed in a future major version.
|
|
26
|
+
*/
|
|
23
27
|
feeAmountUsd?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Formatted fee amount in the user's selected fiat currency.
|
|
30
|
+
* Populated only when `GaslessConfig.displayCurrency` is set.
|
|
31
|
+
* Renders verbatim in the modal (e.g. "$0.04", "₩52", or "—" on
|
|
32
|
+
* price-fetch failure). Undefined means the fiat row is hidden.
|
|
33
|
+
*/
|
|
34
|
+
feeAmountFiat?: string;
|
|
24
35
|
gaslessMode: GaslessMode;
|
|
25
36
|
}
|
|
26
37
|
export interface TokenCapabilities {
|
|
@@ -255,10 +266,30 @@ export interface GaslessConfig {
|
|
|
255
266
|
*/
|
|
256
267
|
feeTokenPriority?: string[];
|
|
257
268
|
/**
|
|
258
|
-
*
|
|
269
|
+
* Whitelist of allowed gasless modes. talken-kit always attempts modes
|
|
270
|
+
* in fixed precedence (generic → eip7702-fee → eip7702-points) and
|
|
271
|
+
* skips any not in this list. Membership is checked via `Array.includes`;
|
|
272
|
+
* the array's element order is NOT honored.
|
|
273
|
+
*
|
|
274
|
+
* To force points-only fallback, pass `['eip7702-points']`. To disable
|
|
275
|
+
* EIP-7702 entirely, pass `['generic']`.
|
|
276
|
+
*
|
|
259
277
|
* @default ['generic', 'eip7702-fee', 'eip7702-points']
|
|
260
278
|
*/
|
|
261
279
|
modePreference?: GaslessMode[];
|
|
280
|
+
/**
|
|
281
|
+
* Display fee amount in this fiat currency (e.g. 'USD', 'KRW').
|
|
282
|
+
* When set, talken-kit fetches the fee token's price via walletscan
|
|
283
|
+
* and renders the equivalent below the native fee amount.
|
|
284
|
+
* When omitted, no fiat row is shown (current behavior).
|
|
285
|
+
*
|
|
286
|
+
* Locale and decimal precision are derived from the currency code
|
|
287
|
+
* via `Intl.NumberFormat`. Curated locale/precision defaults are
|
|
288
|
+
* provided for USD, KRW, EUR, JPY, and GBP. Other ISO 4217 codes
|
|
289
|
+
* may also work if walletscan returns a price for them and the
|
|
290
|
+
* runtime can format the currency code.
|
|
291
|
+
*/
|
|
292
|
+
displayCurrency?: string;
|
|
262
293
|
}
|
|
263
294
|
export interface GaslessConfigProviderProps {
|
|
264
295
|
config: GaslessConfig | null;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fiat formatting utilities for gasless fee display.
|
|
3
|
+
*
|
|
4
|
+
* `resolveFiatString` looks up the fee token's price from walletscan,
|
|
5
|
+
* multiplies by the token amount, and formats with `Intl.NumberFormat`.
|
|
6
|
+
* Returns `null` on any failure path; the caller decides whether to
|
|
7
|
+
* render a placeholder ('—') or hide the row.
|
|
8
|
+
*/
|
|
9
|
+
import type { FeeToken } from '../types';
|
|
10
|
+
/**
|
|
11
|
+
* Format a numeric amount as a localized currency string.
|
|
12
|
+
*
|
|
13
|
+
* Edge cases:
|
|
14
|
+
* - Zero → "$0.00" / "₩0"
|
|
15
|
+
* - Tiny positive (< 10^-decimals) → "<$0.01" / "<₩1"
|
|
16
|
+
* - Anything else → standard `Intl.NumberFormat` output
|
|
17
|
+
*/
|
|
18
|
+
export declare function formatFiat(value: number, currency: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* Look up the fee token's price from walletscan and return a formatted
|
|
21
|
+
* fiat string. Returns `null` on:
|
|
22
|
+
* - Missing API client
|
|
23
|
+
* - Walletscan call failure / empty response
|
|
24
|
+
* - No price for the requested currency
|
|
25
|
+
* - Non-finite numbers
|
|
26
|
+
*
|
|
27
|
+
* Takes the raw smallest-unit amount (not the UI-formatted string) to
|
|
28
|
+
* avoid precision loss for small fees: the formatted display string is
|
|
29
|
+
* truncated to 6 decimals upstream, which can round sub-microcent fees
|
|
30
|
+
* to zero.
|
|
31
|
+
*/
|
|
32
|
+
export declare function resolveFiatString(feeToken: FeeToken, feeAmountRaw: string, chainKey: string, currency: string): Promise<string | null>;
|
package/dist/index.js
CHANGED
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
scheduleProactiveRefresh,
|
|
67
67
|
setGaslessConfig,
|
|
68
68
|
setupVisibilityRefresh
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-HX6JUKSS.js";
|
|
70
70
|
import {
|
|
71
71
|
en_US_default
|
|
72
72
|
} from "./chunk-X4GSACNW.js";
|
|
@@ -197,7 +197,7 @@ function useBitcoinWallet() {
|
|
|
197
197
|
wallet: bitcoinWallet,
|
|
198
198
|
emptyState: emptyWalletState2,
|
|
199
199
|
requestInterceptor,
|
|
200
|
-
importProvider: async () => (await import("./abcWallet-
|
|
200
|
+
importProvider: async () => (await import("./abcWallet-7ZZXHG7O.js")).AbcBitcoinProvider,
|
|
201
201
|
mapState: (nextWallet, provider) => ({
|
|
202
202
|
address: nextWallet.address,
|
|
203
203
|
publicKey: nextWallet.publicKey,
|
|
@@ -1370,7 +1370,7 @@ function useAbcSolanaState(evmConnected, connector, requestInterceptor) {
|
|
|
1370
1370
|
wallet: solanaWallet,
|
|
1371
1371
|
emptyState: emptyWalletState,
|
|
1372
1372
|
requestInterceptor,
|
|
1373
|
-
importProvider: async () => (await import("./abcWallet-
|
|
1373
|
+
importProvider: async () => (await import("./abcWallet-7ZZXHG7O.js")).AbcSolanaProvider,
|
|
1374
1374
|
mapState: (nextWallet, provider) => ({
|
|
1375
1375
|
address: nextWallet.address,
|
|
1376
1376
|
publicKey: nextWallet.publicKey,
|
|
@@ -2462,7 +2462,7 @@ function useTronWallet() {
|
|
|
2462
2462
|
wallet: tronWallet,
|
|
2463
2463
|
emptyState: emptyWalletState2,
|
|
2464
2464
|
requestInterceptor,
|
|
2465
|
-
importProvider: async () => (await import("./abcWallet-
|
|
2465
|
+
importProvider: async () => (await import("./abcWallet-7ZZXHG7O.js")).AbcTronProvider,
|
|
2466
2466
|
mapState: (nextWallet, provider) => ({
|
|
2467
2467
|
address: nextWallet.address,
|
|
2468
2468
|
publicKey: nextWallet.publicKey,
|
|
@@ -2539,7 +2539,7 @@ function useXrplWallet() {
|
|
|
2539
2539
|
wallet: xrplWallet,
|
|
2540
2540
|
emptyState: emptyWalletState2,
|
|
2541
2541
|
requestInterceptor,
|
|
2542
|
-
importProvider: async () => (await import("./abcWallet-
|
|
2542
|
+
importProvider: async () => (await import("./abcWallet-7ZZXHG7O.js")).AbcXrplProvider,
|
|
2543
2543
|
mapState: (nextWallet, provider) => ({
|
|
2544
2544
|
address: nextWallet.address,
|
|
2545
2545
|
publicKey: nextWallet.publicKey,
|
|
@@ -4440,7 +4440,9 @@ var usdValue = "_1uoch87b";
|
|
|
4440
4440
|
|
|
4441
4441
|
// src/components/ConfirmationModal/constants.ts
|
|
4442
4442
|
var KNOWN_TOKEN_ICONS = {
|
|
4443
|
-
TALK: `data:image/svg+xml,${encodeURIComponent('<svg width="80" height="81" viewBox="0 0 80 81" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M80 40.3508C80 18.2674 62.0914 0.365234 40 0.365234C17.9086 0.365234 0 18.2674 0 40.3508V40.3796C0 62.4631 17.9086 80.3652 40 80.3652C62.0914 80.3652 80 62.4631 80 40.3796V40.3508Z" fill="url(#paint0_linear_1628_24397)"/><path d="M38.3651 42.6956L38.3187 47.913C38.2899 51.2014 36.7763 52.4377 33.3747 52.4089L30.1475 52.3801C26.2867 52.3466 23.9395 51.2973 23.9715 47.5819C24.0035 43.8504 26.3859 42.8428 30.2307 42.8764L33.9651 42.9084V42.6556C33.9827 40.9155 32.9747 40.1477 30.6659 40.1286C29.5267 40.119 28.4179 40.2981 26.9443 40.586C25.9459 40.7667 25.3491 40.3029 25.3587 39.2921L25.3635 38.7067C25.3715 37.8382 25.8659 37.272 26.8963 37.0753C28.6227 36.7266 29.9395 36.5171 31.3315 36.5299C35.6179 36.5666 38.4035 38.4412 38.3667 42.6956H38.3651ZM33.9235 47.6538L33.9379 46.056L30.4259 46.0256C28.5107 46.0096 28.1123 46.4479 28.1011 47.6187C28.0915 48.7734 28.4835 49.2181 30.3811 49.2357L32.3267 49.2533C33.6867 49.2645 33.9139 48.7143 33.9235 47.6554V47.6538Z" fill="white"/><path d="M44.2202 31.2055L42.4458 31.1895C41.6906 31.1831 41.073 31.7893 41.0666 32.5442L40.9034 51.1071C40.897 51.8621 41.5034 52.4794 42.2586 52.4858L44.033 52.5018C44.7882 52.5082 45.4042 51.902 45.4106 51.1471L45.5738 32.5842C45.5802 31.8293 44.9738 31.2135 44.2202 31.2055Z" fill="white"/><path d="M62.8257 50.9953L62.7441 50.9009L56.9553 44.2985L62.7585 38.7245L62.7985 38.6845C63.4449 38.0096 63.1889 37.3234 62.2273 37.1507C62.0849 37.1251 61.9345 37.1123 61.7809 37.1107H61.7457L60.1857 37.0979C59.5137 37.0931 58.8177 37.3442 58.4001 37.7601L58.3889 37.7745L52.5713 43.3676L52.6657 32.6467C52.6721 31.8918 52.0657 31.276 51.3105 31.268L49.5361 31.252C48.7809 31.2456 48.1633 31.8518 48.1569 32.6067L47.9937 51.1696C47.9873 51.9246 48.5937 52.5419 49.3489 52.5483L51.1233 52.5643C51.8785 52.5707 52.4945 51.9645 52.5009 51.2096L52.5521 45.2885L58.2881 51.8286L58.3249 51.8718C58.7425 52.3644 59.5329 52.6667 60.2785 52.6427H60.1969L61.7553 52.6587L61.6337 52.6555C61.8353 52.6651 62.0321 52.6555 62.2161 52.6219C63.1825 52.4492 63.4561 51.7214 62.8257 50.9969V50.9953Z" fill="white"/><path d="M26.3392 31.0492L11.4368 30.918C10.6816 30.9116 10.0656 31.5178 10.0576 32.2727L10.0464 33.5411C10.04 34.296 10.6464 34.9134 11.4016 34.9198L16.6 34.9646L16.4608 50.8932C16.4544 51.6482 17.0608 52.2655 17.816 52.2719L19.5904 52.2879C20.3456 52.2943 20.9616 51.6881 20.968 50.9332L21.1072 35.0045L26.3024 35.0493C27.0576 35.0557 27.6736 34.4495 27.6816 33.6946L27.6928 32.4263C27.6992 31.6713 27.0928 31.0556 26.3376 31.0476L26.3392 31.0492Z" fill="white"/><path d="M70.2915 32.4699C70.2771 34.0677 68.9699 35.352 67.3715 35.3392C65.7731 35.3248 64.4867 34.0181 64.5011 32.4203C64.5155 30.8208 65.8227 29.5365 67.4227 29.5509C69.0211 29.5653 70.3059 30.872 70.2915 32.4699Z" fill="white"/><defs><linearGradient id="paint0_linear_1628_24397" x1="11.6896" y1="10.6607" x2="71.2767" y2="73.226" gradientUnits="userSpaceOnUse"><stop stop-color="#253C86"/><stop offset="1" stop-color="#142053"/></linearGradient></defs></svg>')}
|
|
4443
|
+
TALK: `data:image/svg+xml,${encodeURIComponent('<svg width="80" height="81" viewBox="0 0 80 81" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M80 40.3508C80 18.2674 62.0914 0.365234 40 0.365234C17.9086 0.365234 0 18.2674 0 40.3508V40.3796C0 62.4631 17.9086 80.3652 40 80.3652C62.0914 80.3652 80 62.4631 80 40.3796V40.3508Z" fill="url(#paint0_linear_1628_24397)"/><path d="M38.3651 42.6956L38.3187 47.913C38.2899 51.2014 36.7763 52.4377 33.3747 52.4089L30.1475 52.3801C26.2867 52.3466 23.9395 51.2973 23.9715 47.5819C24.0035 43.8504 26.3859 42.8428 30.2307 42.8764L33.9651 42.9084V42.6556C33.9827 40.9155 32.9747 40.1477 30.6659 40.1286C29.5267 40.119 28.4179 40.2981 26.9443 40.586C25.9459 40.7667 25.3491 40.3029 25.3587 39.2921L25.3635 38.7067C25.3715 37.8382 25.8659 37.272 26.8963 37.0753C28.6227 36.7266 29.9395 36.5171 31.3315 36.5299C35.6179 36.5666 38.4035 38.4412 38.3667 42.6956H38.3651ZM33.9235 47.6538L33.9379 46.056L30.4259 46.0256C28.5107 46.0096 28.1123 46.4479 28.1011 47.6187C28.0915 48.7734 28.4835 49.2181 30.3811 49.2357L32.3267 49.2533C33.6867 49.2645 33.9139 48.7143 33.9235 47.6554V47.6538Z" fill="white"/><path d="M44.2202 31.2055L42.4458 31.1895C41.6906 31.1831 41.073 31.7893 41.0666 32.5442L40.9034 51.1071C40.897 51.8621 41.5034 52.4794 42.2586 52.4858L44.033 52.5018C44.7882 52.5082 45.4042 51.902 45.4106 51.1471L45.5738 32.5842C45.5802 31.8293 44.9738 31.2135 44.2202 31.2055Z" fill="white"/><path d="M62.8257 50.9953L62.7441 50.9009L56.9553 44.2985L62.7585 38.7245L62.7985 38.6845C63.4449 38.0096 63.1889 37.3234 62.2273 37.1507C62.0849 37.1251 61.9345 37.1123 61.7809 37.1107H61.7457L60.1857 37.0979C59.5137 37.0931 58.8177 37.3442 58.4001 37.7601L58.3889 37.7745L52.5713 43.3676L52.6657 32.6467C52.6721 31.8918 52.0657 31.276 51.3105 31.268L49.5361 31.252C48.7809 31.2456 48.1633 31.8518 48.1569 32.6067L47.9937 51.1696C47.9873 51.9246 48.5937 52.5419 49.3489 52.5483L51.1233 52.5643C51.8785 52.5707 52.4945 51.9645 52.5009 51.2096L52.5521 45.2885L58.2881 51.8286L58.3249 51.8718C58.7425 52.3644 59.5329 52.6667 60.2785 52.6427H60.1969L61.7553 52.6587L61.6337 52.6555C61.8353 52.6651 62.0321 52.6555 62.2161 52.6219C63.1825 52.4492 63.4561 51.7214 62.8257 50.9969V50.9953Z" fill="white"/><path d="M26.3392 31.0492L11.4368 30.918C10.6816 30.9116 10.0656 31.5178 10.0576 32.2727L10.0464 33.5411C10.04 34.296 10.6464 34.9134 11.4016 34.9198L16.6 34.9646L16.4608 50.8932C16.4544 51.6482 17.0608 52.2655 17.816 52.2719L19.5904 52.2879C20.3456 52.2943 20.9616 51.6881 20.968 50.9332L21.1072 35.0045L26.3024 35.0493C27.0576 35.0557 27.6736 34.4495 27.6816 33.6946L27.6928 32.4263C27.6992 31.6713 27.0928 31.0556 26.3376 31.0476L26.3392 31.0492Z" fill="white"/><path d="M70.2915 32.4699C70.2771 34.0677 68.9699 35.352 67.3715 35.3392C65.7731 35.3248 64.4867 34.0181 64.5011 32.4203C64.5155 30.8208 65.8227 29.5365 67.4227 29.5509C69.0211 29.5653 70.3059 30.872 70.2915 32.4699Z" fill="white"/><defs><linearGradient id="paint0_linear_1628_24397" x1="11.6896" y1="10.6607" x2="71.2767" y2="73.226" gradientUnits="userSpaceOnUse"><stop stop-color="#253C86"/><stop offset="1" stop-color="#142053"/></linearGradient></defs></svg>')}`,
|
|
4444
|
+
USDT: `data:image/svg+xml,${encodeURIComponent('<svg width="80" height="80" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="16" fill="#26A17B"/><path d="M17.92 17.94v-.01c-.11.01-.68.04-1.95.04-1.01 0-1.72-.03-1.97-.04v.01c-3.88-.17-6.78-.85-6.78-1.66 0-.81 2.9-1.49 6.78-1.66v2.65c.26.02.99.06 1.99.06 1.21 0 1.82-.05 1.93-.06v-2.65c3.87.17 6.76.85 6.76 1.66 0 .81-2.89 1.48-6.76 1.66m0-3.59v-2.37h5.43V8.36H8.65v3.62h5.43v2.37c-4.41.2-7.73 1.08-7.73 2.13 0 1.05 3.32 1.92 7.73 2.13v7.6h3.84v-7.6c4.4-.2 7.71-1.08 7.71-2.13 0-1.05-3.31-1.92-7.71-2.13" fill="#fff"/></svg>')}`,
|
|
4445
|
+
USDC: `data:image/svg+xml,${encodeURIComponent('<svg width="80" height="80" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="16" fill="#2775CA"/><path d="M20.88 19.18c0-2.59-1.55-3.48-4.66-3.85-2.22-.3-2.66-.89-2.66-1.93 0-1.04.74-1.7 2.22-1.7 1.33 0 2.07.44 2.44 1.55.07.22.3.37.52.37h1.18c.3 0 .52-.22.52-.52v-.07c-.3-1.62-1.62-2.88-3.33-3.03V8.21c0-.3-.22-.52-.59-.59h-1.11c-.3 0-.52.22-.59.59v1.7c-2.22.3-3.62 1.77-3.62 3.62 0 2.44 1.48 3.4 4.59 3.77 2.07.37 2.74.81 2.74 2 0 1.18-1.04 1.99-2.44 1.99-1.92 0-2.59-.81-2.81-1.92-.07-.3-.3-.44-.52-.44h-1.26c-.3 0-.52.22-.52.52v.07c.3 1.85 1.48 3.18 3.92 3.55v1.77c0 .3.22.52.59.59h1.11c.3 0 .52-.22.59-.59v-1.77c2.22-.37 3.7-1.92 3.7-3.92zM12.59 25.53c-3.7-1.33-6.07-4.81-6.07-8.66 0-3.85 2.37-7.32 6.07-8.66.3-.15.44-.37.44-.74v-1.04c0-.3-.15-.52-.44-.59-.07 0-.22 0-.3.07-4.51 1.41-7.77 5.62-7.77 10.66s3.26 9.25 7.77 10.66c.3.15.59 0 .67-.3.07-.07.07-.15.07-.3v-1.04c0-.22-.22-.52-.44-.59zm14.51-7.84c-.3-.15-.59 0-.67.3-.07.07-.07.15-.07.3v1.04c0 .3.22.59.44.66 3.7 1.33 6.07 4.81 6.07 8.66 0 3.85-2.37 7.32-6.07 8.66-.3.15-.44.37-.44.74v1.04c0 .3.15.52.44.59.07 0 .22 0 .3-.07 4.51-1.41 7.77-5.62 7.77-10.66s-3.26-9.25-7.77-10.66z" fill="#fff" transform="scale(0.7) translate(7 7)"/><text x="16" y="22" text-anchor="middle" fill="white" font-family="sans-serif" font-size="14" font-weight="bold">$</text></svg>')}`
|
|
4444
4446
|
};
|
|
4445
4447
|
function getTokenPlaceholderIcon(symbol) {
|
|
4446
4448
|
const upper = symbol?.toUpperCase();
|
|
@@ -5732,7 +5734,7 @@ function TransactionConfirmationModal({
|
|
|
5732
5734
|
);
|
|
5733
5735
|
}
|
|
5734
5736
|
}
|
|
5735
|
-
), /* @__PURE__ */ React36.createElement("span", { className: feeValueHighlight }, gaslessInfo.feeEstimate.feeAmount, " ", gaslessInfo.feeEstimate.feeToken.symbol)), gaslessInfo.feeEstimate.feeAmountUsd && /* @__PURE__ */ React36.createElement("span", { className: feeUsd }, gaslessInfo.feeEstimate.feeAmountUsd))))
|
|
5737
|
+
), /* @__PURE__ */ React36.createElement("span", { className: feeValueHighlight }, gaslessInfo.feeEstimate.feeAmount, " ", gaslessInfo.feeEstimate.feeToken.symbol)), (gaslessInfo.feeEstimate.feeAmountFiat ?? gaslessInfo.feeEstimate.feeAmountUsd) && /* @__PURE__ */ React36.createElement("span", { className: feeUsd }, `(${gaslessInfo.feeEstimate.feeAmountFiat ?? gaslessInfo.feeEstimate.feeAmountUsd})`))))
|
|
5736
5738
|
) : (
|
|
5737
5739
|
/* ── Standard Gas Fee ──────────────────────────────── */
|
|
5738
5740
|
/* @__PURE__ */ React36.createElement(React36.Fragment, null, /* @__PURE__ */ React36.createElement("div", { className: networkFeeSection }, /* @__PURE__ */ React36.createElement("div", { className: networkFeeHeader }, "Network Fee"), /* @__PURE__ */ React36.createElement("div", { className: feeRowWithSub }, /* @__PURE__ */ React36.createElement("span", { className: feeLabel }, "Estimated Gas Fee"), /* @__PURE__ */ React36.createElement("div", { className: feeValueColumn }, /* @__PURE__ */ React36.createElement("div", { className: feeValueRow }, /* @__PURE__ */ React36.createElement(
|
|
@@ -9239,7 +9241,7 @@ function setRainbowKitVersion({ version }) {
|
|
|
9239
9241
|
}
|
|
9240
9242
|
function useFingerprint() {
|
|
9241
9243
|
const fingerprint = useCallback16(() => {
|
|
9242
|
-
setRainbowKitVersion({ version: "2.8.
|
|
9244
|
+
setRainbowKitVersion({ version: "2.8.2" });
|
|
9243
9245
|
}, []);
|
|
9244
9246
|
useEffect25(() => {
|
|
9245
9247
|
fingerprint();
|
|
@@ -19161,6 +19163,135 @@ var WagmiSigner = class {
|
|
|
19161
19163
|
}
|
|
19162
19164
|
};
|
|
19163
19165
|
|
|
19166
|
+
// src/gasless/utils/fiatFormatter.ts
|
|
19167
|
+
var PRICE_TTL_MS = 3e4;
|
|
19168
|
+
var priceCache = /* @__PURE__ */ new Map();
|
|
19169
|
+
var inFlight = /* @__PURE__ */ new Map();
|
|
19170
|
+
function priceCacheKey(chainKey, tokenAddress, currency) {
|
|
19171
|
+
return `${chainKey}:${tokenAddress.toLowerCase()}:${currency.toUpperCase()}`;
|
|
19172
|
+
}
|
|
19173
|
+
function getCachedPrice(chainKey, tokenAddress, currency) {
|
|
19174
|
+
const key = priceCacheKey(chainKey, tokenAddress, currency);
|
|
19175
|
+
const entry = priceCache.get(key);
|
|
19176
|
+
if (!entry)
|
|
19177
|
+
return void 0;
|
|
19178
|
+
if (Date.now() >= entry.expiresAt) {
|
|
19179
|
+
priceCache.delete(key);
|
|
19180
|
+
return void 0;
|
|
19181
|
+
}
|
|
19182
|
+
return entry.price;
|
|
19183
|
+
}
|
|
19184
|
+
function setCachedPrice(chainKey, tokenAddress, currency, price) {
|
|
19185
|
+
const key = priceCacheKey(chainKey, tokenAddress, currency);
|
|
19186
|
+
priceCache.set(key, { price, expiresAt: Date.now() + PRICE_TTL_MS });
|
|
19187
|
+
}
|
|
19188
|
+
async function fetchPrice(chainKey, tokenAddress, upper, rawCurrency) {
|
|
19189
|
+
const cached = getCachedPrice(chainKey, tokenAddress, upper);
|
|
19190
|
+
if (cached !== void 0)
|
|
19191
|
+
return cached;
|
|
19192
|
+
const key = priceCacheKey(chainKey, tokenAddress, upper);
|
|
19193
|
+
const pending = inFlight.get(key);
|
|
19194
|
+
if (pending)
|
|
19195
|
+
return pending;
|
|
19196
|
+
const promise = (async () => {
|
|
19197
|
+
try {
|
|
19198
|
+
const api = getTalkenApiClient();
|
|
19199
|
+
if (!api)
|
|
19200
|
+
return null;
|
|
19201
|
+
const tokens = await api.walletscan.getToken({
|
|
19202
|
+
chainKeys: chainKey,
|
|
19203
|
+
contractAddress: tokenAddress
|
|
19204
|
+
});
|
|
19205
|
+
const token = tokens?.[0];
|
|
19206
|
+
const priceMap = token?.price?.coingecko;
|
|
19207
|
+
if (!priceMap)
|
|
19208
|
+
return null;
|
|
19209
|
+
const fetched = priceMap[upper] ?? priceMap[rawCurrency];
|
|
19210
|
+
if (typeof fetched !== "number" || !Number.isFinite(fetched))
|
|
19211
|
+
return null;
|
|
19212
|
+
setCachedPrice(chainKey, tokenAddress, upper, fetched);
|
|
19213
|
+
return fetched;
|
|
19214
|
+
} catch {
|
|
19215
|
+
return null;
|
|
19216
|
+
}
|
|
19217
|
+
})();
|
|
19218
|
+
inFlight.set(key, promise);
|
|
19219
|
+
promise.finally(() => {
|
|
19220
|
+
if (inFlight.get(key) === promise)
|
|
19221
|
+
inFlight.delete(key);
|
|
19222
|
+
});
|
|
19223
|
+
return promise;
|
|
19224
|
+
}
|
|
19225
|
+
var CURRENCY_DEFAULTS = {
|
|
19226
|
+
USD: { locale: "en-US", decimals: 2 },
|
|
19227
|
+
KRW: { locale: "ko-KR", decimals: 0 },
|
|
19228
|
+
EUR: { locale: "en-US", decimals: 2 },
|
|
19229
|
+
JPY: { locale: "ja-JP", decimals: 0 },
|
|
19230
|
+
GBP: { locale: "en-GB", decimals: 2 }
|
|
19231
|
+
};
|
|
19232
|
+
function getCurrencyDefaults(currency) {
|
|
19233
|
+
return CURRENCY_DEFAULTS[currency.toUpperCase()] ?? {
|
|
19234
|
+
locale: "en-US",
|
|
19235
|
+
decimals: 2
|
|
19236
|
+
};
|
|
19237
|
+
}
|
|
19238
|
+
function formatFiat(value2, currency) {
|
|
19239
|
+
if (!Number.isFinite(value2))
|
|
19240
|
+
return "\u2014";
|
|
19241
|
+
const { locale, decimals } = getCurrencyDefaults(currency);
|
|
19242
|
+
const min = 10 ** -decimals;
|
|
19243
|
+
try {
|
|
19244
|
+
if (value2 > 0 && value2 < min) {
|
|
19245
|
+
const formatted = new Intl.NumberFormat(locale, {
|
|
19246
|
+
style: "currency",
|
|
19247
|
+
currency,
|
|
19248
|
+
minimumFractionDigits: decimals,
|
|
19249
|
+
maximumFractionDigits: decimals
|
|
19250
|
+
}).format(min);
|
|
19251
|
+
return `<${formatted}`;
|
|
19252
|
+
}
|
|
19253
|
+
return new Intl.NumberFormat(locale, {
|
|
19254
|
+
style: "currency",
|
|
19255
|
+
currency,
|
|
19256
|
+
minimumFractionDigits: decimals,
|
|
19257
|
+
maximumFractionDigits: decimals
|
|
19258
|
+
}).format(value2);
|
|
19259
|
+
} catch {
|
|
19260
|
+
return `${value2.toFixed(decimals)} ${currency}`;
|
|
19261
|
+
}
|
|
19262
|
+
}
|
|
19263
|
+
function rawToFloat(raw, decimals) {
|
|
19264
|
+
try {
|
|
19265
|
+
const value2 = BigInt(raw);
|
|
19266
|
+
if (decimals <= 0)
|
|
19267
|
+
return Number(value2);
|
|
19268
|
+
const divisor = BigInt(10) ** BigInt(decimals);
|
|
19269
|
+
const whole = value2 / divisor;
|
|
19270
|
+
const fractional = value2 % divisor;
|
|
19271
|
+
const fracStr = fractional.toString().padStart(decimals, "0");
|
|
19272
|
+
return Number(`${whole}.${fracStr}`);
|
|
19273
|
+
} catch {
|
|
19274
|
+
return Number.NaN;
|
|
19275
|
+
}
|
|
19276
|
+
}
|
|
19277
|
+
async function resolveFiatString(feeToken, feeAmountRaw, chainKey, currency) {
|
|
19278
|
+
try {
|
|
19279
|
+
const upper = currency.toUpperCase();
|
|
19280
|
+
const price = await fetchPrice(chainKey, feeToken.address, upper, currency);
|
|
19281
|
+
if (price === null)
|
|
19282
|
+
return null;
|
|
19283
|
+
const amountNum = rawToFloat(feeAmountRaw, feeToken.decimals);
|
|
19284
|
+
if (!Number.isFinite(amountNum))
|
|
19285
|
+
return null;
|
|
19286
|
+
const fiatValue = amountNum * price;
|
|
19287
|
+
if (!Number.isFinite(fiatValue))
|
|
19288
|
+
return null;
|
|
19289
|
+
return formatFiat(fiatValue, upper);
|
|
19290
|
+
} catch {
|
|
19291
|
+
return null;
|
|
19292
|
+
}
|
|
19293
|
+
}
|
|
19294
|
+
|
|
19164
19295
|
// src/gasless/hooks/useGaslessTransfer.ts
|
|
19165
19296
|
function tryGetChainKey2(chainId) {
|
|
19166
19297
|
try {
|
|
@@ -19290,6 +19421,25 @@ function useGaslessTransfer(params) {
|
|
|
19290
19421
|
setCanGasless(true);
|
|
19291
19422
|
setGaslessMode(estimate.gaslessMode);
|
|
19292
19423
|
setUnavailableReason(null);
|
|
19424
|
+
if (gaslessConfig.displayCurrency) {
|
|
19425
|
+
const currency = gaslessConfig.displayCurrency;
|
|
19426
|
+
void resolveFiatString(
|
|
19427
|
+
estimate.feeToken,
|
|
19428
|
+
estimate.feeAmountRaw,
|
|
19429
|
+
chainKey,
|
|
19430
|
+
currency
|
|
19431
|
+
).then((fiat) => {
|
|
19432
|
+
if (abortRef.current !== currentAbort)
|
|
19433
|
+
return;
|
|
19434
|
+
if (!mountedRef.current)
|
|
19435
|
+
return;
|
|
19436
|
+
const fiatStr = fiat ?? "\u2014";
|
|
19437
|
+
const usdAlias = currency.toUpperCase() === "USD" ? fiatStr : void 0;
|
|
19438
|
+
setFeeEstimate(
|
|
19439
|
+
(prev) => prev ? { ...prev, feeAmountFiat: fiatStr, feeAmountUsd: usdAlias } : prev
|
|
19440
|
+
);
|
|
19441
|
+
});
|
|
19442
|
+
}
|
|
19293
19443
|
} else {
|
|
19294
19444
|
setFeeEstimate(null);
|
|
19295
19445
|
setCanGasless(false);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AbstractChainProvider
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SKVKZ5FY.js";
|
|
5
5
|
import "../chunk-R6ZE7JAZ.js";
|
|
6
|
-
import "../chunk-CBKU2ERC.js";
|
|
7
6
|
import "../chunk-YXWHHI4S.js";
|
|
7
|
+
import "../chunk-CBKU2ERC.js";
|
|
8
8
|
export {
|
|
9
9
|
AbstractChainProvider
|
|
10
10
|
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcBitcoinProvider,
|
|
4
4
|
BITCOIN_NETWORKS
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-55MPPI65.js";
|
|
6
6
|
import "../chunk-YNE2UX2Z.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-SKVKZ5FY.js";
|
|
8
8
|
import "../chunk-R6ZE7JAZ.js";
|
|
9
|
-
import "../chunk-CBKU2ERC.js";
|
|
10
9
|
import "../chunk-YXWHHI4S.js";
|
|
10
|
+
import "../chunk-CBKU2ERC.js";
|
|
11
11
|
import "../chunk-KXPCOVNY.js";
|
|
12
12
|
import "../chunk-2DFJ6LEN.js";
|
|
13
13
|
import "../chunk-NEMEHJ72.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
abcConnector
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-KCB4MMIZ.js";
|
|
5
|
+
import "../chunk-OUVRAKVV.js";
|
|
6
|
+
import "../chunk-BF4HTXWH.js";
|
|
7
7
|
import "../chunk-XDNFWX2X.js";
|
|
8
8
|
import "../chunk-4Y7YP4IR.js";
|
|
9
9
|
import "../chunk-ICGK5DGY.js";
|
|
10
|
-
import "../chunk-TYJR3KGY.js";
|
|
11
10
|
import "../chunk-3NWM24MH.js";
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-TYJR3KGY.js";
|
|
13
12
|
import "../chunk-2LH53QET.js";
|
|
13
|
+
import "../chunk-2LOET2LX.js";
|
|
14
14
|
import "../chunk-ZOBSRU6L.js";
|
|
15
15
|
import "../chunk-GFWUFYT2.js";
|
|
16
16
|
import "../chunk-YNE2UX2Z.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-SKVKZ5FY.js";
|
|
18
18
|
import "../chunk-R6ZE7JAZ.js";
|
|
19
|
-
import "../chunk-CBKU2ERC.js";
|
|
20
19
|
import "../chunk-YXWHHI4S.js";
|
|
20
|
+
import "../chunk-CBKU2ERC.js";
|
|
21
21
|
import "../chunk-KXPCOVNY.js";
|
|
22
22
|
import "../chunk-2DFJ6LEN.js";
|
|
23
23
|
import "../chunk-VVXSRRXI.js";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
AbcEvmProvider,
|
|
4
4
|
createAbcEvmProvider,
|
|
5
5
|
createAbcProvider
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-OUVRAKVV.js";
|
|
7
7
|
import "../chunk-YNE2UX2Z.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-SKVKZ5FY.js";
|
|
9
9
|
import "../chunk-R6ZE7JAZ.js";
|
|
10
|
-
import "../chunk-CBKU2ERC.js";
|
|
11
10
|
import "../chunk-YXWHHI4S.js";
|
|
11
|
+
import "../chunk-CBKU2ERC.js";
|
|
12
12
|
import "../chunk-2DFJ6LEN.js";
|
|
13
13
|
import "../chunk-VVXSRRXI.js";
|
|
14
14
|
import "../chunk-3IYXGND5.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AbcSolanaProvider
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LIN3ZO63.js";
|
|
5
5
|
import "../chunk-JGXJY3SB.js";
|
|
6
6
|
import "../chunk-L3EPZ4NZ.js";
|
|
7
7
|
import "../chunk-2OHHFQQ7.js";
|
|
8
8
|
import "../chunk-OTLZVWY7.js";
|
|
9
9
|
import "../chunk-S6XEM7RM.js";
|
|
10
10
|
import "../chunk-FWX2HD26.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-BF4HTXWH.js";
|
|
12
12
|
import "../chunk-XDNFWX2X.js";
|
|
13
13
|
import "../chunk-4Y7YP4IR.js";
|
|
14
14
|
import "../chunk-ICGK5DGY.js";
|
|
15
|
-
import "../chunk-TYJR3KGY.js";
|
|
16
15
|
import "../chunk-3NWM24MH.js";
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-TYJR3KGY.js";
|
|
18
17
|
import "../chunk-2LH53QET.js";
|
|
18
|
+
import "../chunk-2LOET2LX.js";
|
|
19
19
|
import "../chunk-ZOBSRU6L.js";
|
|
20
20
|
import "../chunk-YNE2UX2Z.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-SKVKZ5FY.js";
|
|
22
22
|
import "../chunk-R6ZE7JAZ.js";
|
|
23
|
-
import "../chunk-CBKU2ERC.js";
|
|
24
23
|
import "../chunk-YXWHHI4S.js";
|
|
24
|
+
import "../chunk-CBKU2ERC.js";
|
|
25
25
|
import "../chunk-2DFJ6LEN.js";
|
|
26
26
|
import "../chunk-3IYXGND5.js";
|
|
27
27
|
import "../chunk-YTIJR6EJ.js";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcTronProvider,
|
|
4
4
|
TRON_NETWORKS
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-EQ4EX5IN.js";
|
|
6
6
|
import "../chunk-YNE2UX2Z.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-SKVKZ5FY.js";
|
|
8
8
|
import "../chunk-R6ZE7JAZ.js";
|
|
9
|
-
import "../chunk-CBKU2ERC.js";
|
|
10
9
|
import "../chunk-YXWHHI4S.js";
|
|
10
|
+
import "../chunk-CBKU2ERC.js";
|
|
11
11
|
import "../chunk-KXPCOVNY.js";
|
|
12
12
|
import "../chunk-2DFJ6LEN.js";
|
|
13
13
|
import "../chunk-NEMEHJ72.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
abcWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-63H3LXPW.js";
|
|
5
|
+
import "../chunk-KCB4MMIZ.js";
|
|
6
|
+
import "../chunk-OUVRAKVV.js";
|
|
7
|
+
import "../chunk-BF4HTXWH.js";
|
|
8
8
|
import "../chunk-XDNFWX2X.js";
|
|
9
9
|
import "../chunk-4Y7YP4IR.js";
|
|
10
10
|
import "../chunk-ICGK5DGY.js";
|
|
11
|
-
import "../chunk-TYJR3KGY.js";
|
|
12
11
|
import "../chunk-3NWM24MH.js";
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-TYJR3KGY.js";
|
|
14
13
|
import "../chunk-2LH53QET.js";
|
|
14
|
+
import "../chunk-2LOET2LX.js";
|
|
15
15
|
import "../chunk-ZOBSRU6L.js";
|
|
16
16
|
import "../chunk-GFWUFYT2.js";
|
|
17
17
|
import "../chunk-YNE2UX2Z.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-SKVKZ5FY.js";
|
|
19
19
|
import "../chunk-R6ZE7JAZ.js";
|
|
20
|
-
import "../chunk-CBKU2ERC.js";
|
|
21
20
|
import "../chunk-YXWHHI4S.js";
|
|
21
|
+
import "../chunk-CBKU2ERC.js";
|
|
22
22
|
import "../chunk-KXPCOVNY.js";
|
|
23
23
|
import "../chunk-2DFJ6LEN.js";
|
|
24
24
|
import "../chunk-VVXSRRXI.js";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
AbcXrplProvider,
|
|
4
4
|
XRPL_NETWORKS,
|
|
5
5
|
XRP_DECIMALS
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-3LAMBKQL.js";
|
|
7
7
|
import "../chunk-YNE2UX2Z.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-SKVKZ5FY.js";
|
|
9
9
|
import "../chunk-R6ZE7JAZ.js";
|
|
10
|
-
import "../chunk-CBKU2ERC.js";
|
|
11
10
|
import "../chunk-YXWHHI4S.js";
|
|
11
|
+
import "../chunk-CBKU2ERC.js";
|
|
12
12
|
import "../chunk-KXPCOVNY.js";
|
|
13
13
|
import "../chunk-2DFJ6LEN.js";
|
|
14
14
|
import "../chunk-NEMEHJ72.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
TalkenApiClient,
|
|
4
4
|
createTalkenApiClient
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-BF4HTXWH.js";
|
|
6
6
|
import "../../chunk-XDNFWX2X.js";
|
|
7
7
|
import "../../chunk-4Y7YP4IR.js";
|
|
8
8
|
import "../../chunk-ICGK5DGY.js";
|
|
9
|
-
import "../../chunk-TYJR3KGY.js";
|
|
10
9
|
import "../../chunk-3NWM24MH.js";
|
|
11
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-TYJR3KGY.js";
|
|
12
11
|
import "../../chunk-2LH53QET.js";
|
|
12
|
+
import "../../chunk-2LOET2LX.js";
|
|
13
13
|
import "../../chunk-ZOBSRU6L.js";
|
|
14
14
|
import "../../chunk-YNE2UX2Z.js";
|
|
15
15
|
import "../../chunk-2DFJ6LEN.js";
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
TalkenApiClient,
|
|
20
20
|
createTalkenApiClient
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-BF4HTXWH.js";
|
|
22
22
|
import "../../chunk-XDNFWX2X.js";
|
|
23
23
|
import "../../chunk-4Y7YP4IR.js";
|
|
24
24
|
import "../../chunk-ICGK5DGY.js";
|
|
25
|
-
import "../../chunk-TYJR3KGY.js";
|
|
26
25
|
import "../../chunk-3NWM24MH.js";
|
|
27
|
-
import "../../chunk-
|
|
26
|
+
import "../../chunk-TYJR3KGY.js";
|
|
28
27
|
import "../../chunk-2LH53QET.js";
|
|
28
|
+
import "../../chunk-2LOET2LX.js";
|
|
29
29
|
import "../../chunk-ZOBSRU6L.js";
|
|
30
30
|
import "../../chunk-YNE2UX2Z.js";
|
|
31
31
|
import "../../chunk-2DFJ6LEN.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
AbcBitcoinProvider,
|
|
21
21
|
BITCOIN_NETWORKS
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-55MPPI65.js";
|
|
23
23
|
import {
|
|
24
24
|
AbcSolanaProvider
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-LIN3ZO63.js";
|
|
26
26
|
import "../chunk-JGXJY3SB.js";
|
|
27
27
|
import {
|
|
28
28
|
ConfigApi
|
|
@@ -45,51 +45,51 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
AbcTronProvider,
|
|
47
47
|
TRON_NETWORKS
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-EQ4EX5IN.js";
|
|
49
49
|
import {
|
|
50
50
|
AbcXrplProvider,
|
|
51
51
|
XRPL_NETWORKS
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-3LAMBKQL.js";
|
|
53
53
|
import {
|
|
54
54
|
AbcBitcoinConnector,
|
|
55
55
|
createAbcBitcoinConnector
|
|
56
56
|
} from "../chunk-4DGLNUHL.js";
|
|
57
57
|
import {
|
|
58
58
|
abcWallet
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-63H3LXPW.js";
|
|
60
60
|
import {
|
|
61
61
|
abcConnector
|
|
62
|
-
} from "../chunk-
|
|
62
|
+
} from "../chunk-KCB4MMIZ.js";
|
|
63
63
|
import {
|
|
64
64
|
AbcEvmProvider,
|
|
65
65
|
createAbcEvmProvider,
|
|
66
66
|
createAbcProvider
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-OUVRAKVV.js";
|
|
68
68
|
import {
|
|
69
69
|
TalkenApiClient,
|
|
70
70
|
createTalkenApiClient
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-BF4HTXWH.js";
|
|
72
72
|
import "../chunk-XDNFWX2X.js";
|
|
73
73
|
import "../chunk-4Y7YP4IR.js";
|
|
74
74
|
import "../chunk-ICGK5DGY.js";
|
|
75
|
-
import "../chunk-TYJR3KGY.js";
|
|
76
75
|
import "../chunk-3NWM24MH.js";
|
|
77
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-TYJR3KGY.js";
|
|
78
77
|
import "../chunk-2LH53QET.js";
|
|
78
|
+
import "../chunk-2LOET2LX.js";
|
|
79
79
|
import "../chunk-ZOBSRU6L.js";
|
|
80
80
|
import "../chunk-GFWUFYT2.js";
|
|
81
81
|
import {
|
|
82
82
|
getCredentialManager
|
|
83
83
|
} from "../chunk-YNE2UX2Z.js";
|
|
84
|
-
import "../chunk-
|
|
84
|
+
import "../chunk-SKVKZ5FY.js";
|
|
85
85
|
import "../chunk-R6ZE7JAZ.js";
|
|
86
|
-
import "../chunk-CBKU2ERC.js";
|
|
87
86
|
import {
|
|
88
87
|
BitcoinProviderError,
|
|
89
88
|
SolanaProviderError,
|
|
90
89
|
TronProviderError,
|
|
91
90
|
XrplProviderError
|
|
92
91
|
} from "../chunk-YXWHHI4S.js";
|
|
92
|
+
import "../chunk-CBKU2ERC.js";
|
|
93
93
|
import {
|
|
94
94
|
BitcoinNetwork,
|
|
95
95
|
SolanaNetwork,
|