@rash2x/bridge-widget 0.6.92 → 0.6.94
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 -4
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +17 -19
- package/dist/{index-j6yDeMSt.js → index-DCLfFVh_.js} +279 -215
- package/dist/index-DCLfFVh_.js.map +1 -0
- package/dist/{index--FWEmzfG.js → index-DVx8ZHwV.js} +2 -2
- package/dist/{index--FWEmzfG.js.map → index-DVx8ZHwV.js.map} +1 -1
- package/dist/{index-p9NMtKHb.cjs → index-Db2959hv.cjs} +264 -200
- package/dist/index-Db2959hv.cjs.map +1 -0
- package/dist/{index-B8oK1IHg.cjs → index-Dda0d9GW.cjs} +2 -2
- package/dist/{index-B8oK1IHg.cjs.map → index-Dda0d9GW.cjs.map} +1 -1
- package/dist/index.d.ts +11 -54
- package/package.json +1 -1
- package/dist/index-j6yDeMSt.js.map +0 -1
- package/dist/index-p9NMtKHb.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-Db2959hv.cjs");
|
|
4
4
|
exports.DEFAULT_SLIPPAGE_BPS = index.DEFAULT_SLIPPAGE_BPS;
|
|
5
5
|
exports.EvaaBridge = index.EvaaBridge;
|
|
6
6
|
exports.RoutePriority = index.RoutePriority;
|
|
@@ -9,7 +9,7 @@ exports.addNetworkFeesToQuote = index.addNetworkFeesToQuote;
|
|
|
9
9
|
exports.addrForApi = index.addrForApi;
|
|
10
10
|
exports.buildAssetMatrix = index.buildAssetMatrix;
|
|
11
11
|
exports.calculateMinReceived = index.calculateMinReceived;
|
|
12
|
-
exports.
|
|
12
|
+
exports.computeFeeBreakdownUsd = index.computeFeeBreakdownUsd;
|
|
13
13
|
exports.findNativeMeta = index.findNativeMeta;
|
|
14
14
|
exports.formatAddress = index.formatAddress;
|
|
15
15
|
exports.formatBalance = index.formatBalance;
|
|
@@ -24,7 +24,6 @@ exports.getDestTokens = index.getDestTokens;
|
|
|
24
24
|
exports.getEvmBalances = index.getEvmBalances;
|
|
25
25
|
exports.getQuoteAmounts = index.getQuoteAmounts;
|
|
26
26
|
exports.getQuoteDetails = index.getQuoteDetails;
|
|
27
|
-
exports.getQuoteFees = index.getQuoteFees;
|
|
28
27
|
exports.getQuotesByPriority = index.getQuotesByPriority;
|
|
29
28
|
exports.getRouteDisplayName = index.getRouteDisplayName;
|
|
30
29
|
exports.getTokens = index.getTokens;
|
|
@@ -40,7 +39,6 @@ exports.pollUntilDelivered = index.pollUntilDelivered;
|
|
|
40
39
|
exports.reportBridgeTransaction = index.reportBridgeTransaction;
|
|
41
40
|
exports.resolveTokenOnChain = index.resolveTokenOnChain;
|
|
42
41
|
exports.resolveTokenOnChainFromMatrix = index.resolveTokenOnChainFromMatrix;
|
|
43
|
-
exports.sumFeeByTokenLD = index.sumFeeByTokenLD;
|
|
44
42
|
exports.toLD = index.toLD;
|
|
45
43
|
exports.tonNorm = index.tonNorm;
|
|
46
44
|
exports.truncateToDecimals = index.truncateToDecimals;
|
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,4 +1,4 @@
|
|
|
1
|
-
import { L, d, f, e, D, Q, H,
|
|
1
|
+
import { L, d, f, e, D, Q, H, y, B, U, w, s, v, r, p, q, G, X, a3, Z, a0, x, z, _, A, Y, a1, a2, S, $, P, I, V, W, a4, a5, J, K, F, N, t, o, i, u, l, m, j, n, h, k } from "./index-DCLfFVh_.js";
|
|
2
2
|
export {
|
|
3
3
|
L as DEFAULT_SLIPPAGE_BPS,
|
|
4
4
|
d as EvaaBridge,
|
|
@@ -7,8 +7,8 @@ export {
|
|
|
7
7
|
D as addNetworkFeesToQuote,
|
|
8
8
|
Q as addrForApi,
|
|
9
9
|
H as buildAssetMatrix,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
y as calculateMinReceived,
|
|
11
|
+
B as computeFeeBreakdownUsd,
|
|
12
12
|
U as findNativeMeta,
|
|
13
13
|
w as formatAddress,
|
|
14
14
|
s as formatBalance,
|
|
@@ -17,29 +17,27 @@ export {
|
|
|
17
17
|
p as formatTokenAmount,
|
|
18
18
|
q as formatUsd,
|
|
19
19
|
G as fromLD,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
X as getChains,
|
|
21
|
+
a3 as getDeliveryStatus,
|
|
22
|
+
Z as getDestTokens,
|
|
23
|
+
a0 as getEvmBalances,
|
|
24
24
|
x as getQuoteAmounts,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
a4 as getTronBalances,
|
|
25
|
+
z as getQuoteDetails,
|
|
26
|
+
_ as getQuotesByPriority,
|
|
27
|
+
A as getRouteDisplayName,
|
|
28
|
+
Y as getTokens,
|
|
29
|
+
a1 as getTonBalances,
|
|
30
|
+
a2 as getTronBalances,
|
|
32
31
|
S as isNativeAddrEqual,
|
|
33
|
-
|
|
32
|
+
$ as isNativeAddress,
|
|
34
33
|
P as isZeroAddr,
|
|
35
34
|
I as listAssetsForSelect,
|
|
36
35
|
V as lookupTokenMeta,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
W as normalizeTickerSymbol,
|
|
37
|
+
a4 as pollUntilDelivered,
|
|
38
|
+
a5 as reportBridgeTransaction,
|
|
40
39
|
J as resolveTokenOnChain,
|
|
41
40
|
K as resolveTokenOnChainFromMatrix,
|
|
42
|
-
X as sumFeeByTokenLD,
|
|
43
41
|
F as toLD,
|
|
44
42
|
N as tonNorm,
|
|
45
43
|
t as truncateToDecimals,
|