@rash2x/bridge-widget 0.5.8 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/evaa-bridge.cjs +2 -1
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +43 -42
- package/dist/{index-BXkxeUC9.cjs → index-BYtzp04q.cjs} +2 -2
- package/dist/{index-BXkxeUC9.cjs.map → index-BYtzp04q.cjs.map} +1 -1
- package/dist/{index-BZYRWkNT.js → index-BwXs7MXT.js} +203 -44
- package/dist/index-BwXs7MXT.js.map +1 -0
- package/dist/{index-2i0c1XHV.cjs → index-DSWwK-TL.cjs} +162 -3
- package/dist/{index-BZYRWkNT.js.map → index-DSWwK-TL.cjs.map} +1 -1
- package/dist/{index-DWqKDt60.js → index-UecTcXLf.js} +2 -2
- package/dist/{index-DWqKDt60.js.map → index-UecTcXLf.js.map} +1 -1
- package/dist/index.d.ts +101 -0
- package/package.json +1 -1
- package/dist/index-2i0c1XHV.cjs.map +0 -1
package/dist/evaa-bridge.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DSWwK-TL.cjs");
|
|
4
4
|
exports.DEFAULT_SLIPPAGE_BPS = index.DEFAULT_SLIPPAGE_BPS;
|
|
5
5
|
exports.EvaaBridge = index.EvaaBridge;
|
|
6
6
|
exports.RoutePriority = index.RoutePriority;
|
|
@@ -46,6 +46,7 @@ exports.sumFeeByTokenLD = index.sumFeeByTokenLD;
|
|
|
46
46
|
exports.toLD = index.toLD;
|
|
47
47
|
exports.tonNorm = index.tonNorm;
|
|
48
48
|
exports.truncateToDecimals = index.truncateToDecimals;
|
|
49
|
+
exports.useBridgeData = index.useBridgeData;
|
|
49
50
|
exports.useBridgeQuoteStore = index.useBridgeQuoteStore;
|
|
50
51
|
exports.useChainsStore = index.useChainsStore;
|
|
51
52
|
exports.useConnectedWalletsStore = index.useConnectedWalletsStore;
|
package/dist/evaa-bridge.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaa-bridge.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"evaa-bridge.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/evaa-bridge.mjs
CHANGED
|
@@ -1,50 +1,51 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S, d, f, e, H, B, F, W, L, z, _, G, A, D, Y, w, s, v, r, p, q, K, a1, a8, a3, a5, x, I, y, a4, a2, a6, a7, X, V, N, Z, a0, a9, P, Q, $, J, U, t, o, i, u, l, m, j, n, h, k } from "./index-BwXs7MXT.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
S as DEFAULT_SLIPPAGE_BPS,
|
|
4
4
|
d as EvaaBridge,
|
|
5
5
|
f as RoutePriority,
|
|
6
6
|
e as RouteType,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
7
|
+
H as addEvmNetworkFee,
|
|
8
|
+
B as addTonNetworkFee,
|
|
9
|
+
F as addTronNetworkFee,
|
|
10
|
+
W as addrForApi,
|
|
11
|
+
L as buildAssetMatrix,
|
|
12
|
+
z as calculateMinReceived,
|
|
13
|
+
_ as computeFeesUsdFromArray,
|
|
14
|
+
G as estimateEvmNetworkFee,
|
|
15
|
+
A as estimateTonNetworkFee,
|
|
16
|
+
D as estimateTronNetworkFee,
|
|
17
|
+
Y as findNativeMeta,
|
|
18
|
+
w as formatAddress,
|
|
19
|
+
s as formatBalance,
|
|
20
|
+
v as formatHash,
|
|
21
|
+
r as formatPercentage,
|
|
22
|
+
p as formatTokenAmount,
|
|
23
|
+
q as formatUsd,
|
|
24
|
+
K as fromLD,
|
|
25
|
+
a1 as getChains,
|
|
26
|
+
a8 as getDeliveryStatus,
|
|
27
|
+
a3 as getDestTokens,
|
|
28
|
+
a5 as getEvmBalances,
|
|
29
|
+
x as getQuoteAmounts,
|
|
30
|
+
I as getQuoteDetails,
|
|
31
|
+
y as getQuoteFees,
|
|
32
|
+
a4 as getQuotesByPriority,
|
|
33
|
+
a2 as getTokens,
|
|
34
|
+
a6 as getTonBalances,
|
|
35
|
+
a7 as getTronBalances,
|
|
36
|
+
X as isNativeAddrEqual,
|
|
37
|
+
V as isZeroAddr,
|
|
38
|
+
N as listAssetsForSelect,
|
|
39
|
+
Z as lookupTokenMeta,
|
|
40
|
+
a0 as normalizeTickerSymbol,
|
|
41
|
+
a9 as pollUntilDelivered,
|
|
42
|
+
P as resolveTokenOnChain,
|
|
43
|
+
Q as resolveTokenOnChainFromMatrix,
|
|
44
|
+
$ as sumFeeByTokenLD,
|
|
45
|
+
J as toLD,
|
|
46
|
+
U as tonNorm,
|
|
47
47
|
t as truncateToDecimals,
|
|
48
|
+
o as useBridgeData,
|
|
48
49
|
i as useBridgeQuoteStore,
|
|
49
50
|
u as useChainsStore,
|
|
50
51
|
l as useConnectedWalletsStore,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DSWwK-TL.cjs");
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2019 Google LLC
|
|
@@ -5475,4 +5475,4 @@ __decorateClass([
|
|
|
5475
5475
|
WcmWebConnectingView = __decorateClass([
|
|
5476
5476
|
e$2("wcm-web-connecting-view")
|
|
5477
5477
|
], WcmWebConnectingView);
|
|
5478
|
-
//# sourceMappingURL=index-
|
|
5478
|
+
//# sourceMappingURL=index-BYtzp04q.cjs.map
|