@rash2x/bridge-widget 0.6.55 → 0.6.58
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 +1 -7
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +29 -35
- package/dist/{index-BTwKvCVG.cjs → index-BLC0Ys74.cjs} +2 -2
- package/dist/{index-BTwKvCVG.cjs.map → index-BLC0Ys74.cjs.map} +1 -1
- package/dist/{index-CePOaHyN.js → index-CDUxAooI.js} +584 -1032
- package/dist/index-CDUxAooI.js.map +1 -0
- package/dist/{index-C_cDfEeV.js → index-D8sxoZ5P.js} +2 -2
- package/dist/{index-C_cDfEeV.js.map → index-D8sxoZ5P.js.map} +1 -1
- package/dist/{index-CTtu-a2U.cjs → index-DiF0Z4eu.cjs} +554 -1002
- package/dist/index-DiF0Z4eu.cjs.map +1 -0
- package/dist/index.d.ts +1 -40
- package/package.json +1 -1
- package/dist/index-CTtu-a2U.cjs.map +0 -1
- package/dist/index-CePOaHyN.js.map +0 -1
package/dist/evaa-bridge.cjs
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DiF0Z4eu.cjs");
|
|
4
4
|
exports.DEFAULT_SLIPPAGE_BPS = index.DEFAULT_SLIPPAGE_BPS;
|
|
5
5
|
exports.EvaaBridge = index.EvaaBridge;
|
|
6
6
|
exports.RoutePriority = index.RoutePriority;
|
|
7
7
|
exports.RouteType = index.RouteType;
|
|
8
|
-
exports.addEvmNetworkFee = index.addEvmNetworkFee;
|
|
9
|
-
exports.addTonNetworkFee = index.addTonNetworkFee;
|
|
10
|
-
exports.addTronNetworkFee = index.addTronNetworkFee;
|
|
11
8
|
exports.addrForApi = index.addrForApi;
|
|
12
9
|
exports.buildAssetMatrix = index.buildAssetMatrix;
|
|
13
10
|
exports.calculateMinReceived = index.calculateMinReceived;
|
|
14
11
|
exports.computeFeesUsdFromArray = index.computeFeesUsdFromArray;
|
|
15
|
-
exports.estimateEvmNetworkFee = index.estimateEvmNetworkFee;
|
|
16
|
-
exports.estimateTonNetworkFee = index.estimateTonNetworkFee;
|
|
17
|
-
exports.estimateTronNetworkFee = index.estimateTronNetworkFee;
|
|
18
12
|
exports.findNativeMeta = index.findNativeMeta;
|
|
19
13
|
exports.formatAddress = index.formatAddress;
|
|
20
14
|
exports.formatBalance = index.formatBalance;
|
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,51 +1,45 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K, d, f, e, P, G, z, V, S, w, s, v, r, p, q, F, Y, a4, _, a1, x, A, y, $, B, Z, a2, a3, Q, a0, N, H, U, X, a5, I, J, W, D, L, t, o, i, u, l, m, j, n, h, k } from "./index-CDUxAooI.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
K as DEFAULT_SLIPPAGE_BPS,
|
|
4
4
|
d as EvaaBridge,
|
|
5
5
|
f as RoutePriority,
|
|
6
6
|
e as RouteType,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
F as addTronNetworkFee,
|
|
10
|
-
X as addrForApi,
|
|
11
|
-
N as buildAssetMatrix,
|
|
7
|
+
P as addrForApi,
|
|
8
|
+
G as buildAssetMatrix,
|
|
12
9
|
z as calculateMinReceived,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
A as estimateTonNetworkFee,
|
|
16
|
-
D as estimateTronNetworkFee,
|
|
17
|
-
Z as findNativeMeta,
|
|
10
|
+
V as computeFeesUsdFromArray,
|
|
11
|
+
S as findNativeMeta,
|
|
18
12
|
w as formatAddress,
|
|
19
13
|
s as formatBalance,
|
|
20
14
|
v as formatHash,
|
|
21
15
|
r as formatPercentage,
|
|
22
16
|
p as formatTokenAmount,
|
|
23
17
|
q as formatUsd,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
F as fromLD,
|
|
19
|
+
Y as getChains,
|
|
20
|
+
a4 as getDeliveryStatus,
|
|
21
|
+
_ as getDestTokens,
|
|
22
|
+
a1 as getEvmBalances,
|
|
29
23
|
x as getQuoteAmounts,
|
|
30
|
-
|
|
24
|
+
A as getQuoteDetails,
|
|
31
25
|
y as getQuoteFees,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
26
|
+
$ as getQuotesByPriority,
|
|
27
|
+
B as getRouteDisplayName,
|
|
28
|
+
Z as getTokens,
|
|
29
|
+
a2 as getTonBalances,
|
|
30
|
+
a3 as getTronBalances,
|
|
31
|
+
Q as isNativeAddrEqual,
|
|
32
|
+
a0 as isNativeAddress,
|
|
33
|
+
N as isZeroAddr,
|
|
34
|
+
H as listAssetsForSelect,
|
|
35
|
+
U as lookupTokenMeta,
|
|
36
|
+
X as normalizeTickerSymbol,
|
|
37
|
+
a5 as pollUntilDelivered,
|
|
38
|
+
I as resolveTokenOnChain,
|
|
39
|
+
J as resolveTokenOnChainFromMatrix,
|
|
40
|
+
W as sumFeeByTokenLD,
|
|
41
|
+
D as toLD,
|
|
42
|
+
L as tonNorm,
|
|
49
43
|
t as truncateToDecimals,
|
|
50
44
|
o as useBridgeExternalData,
|
|
51
45
|
i as useBridgeQuoteStore,
|
|
@@ -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-DiF0Z4eu.cjs");
|
|
4
4
|
const t$3 = window, e$5 = t$3.ShadowRoot && (void 0 === t$3.ShadyCSS || t$3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$3 = /* @__PURE__ */ Symbol(), n$5 = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
let o$4 = class o {
|
|
6
6
|
constructor(t2, e2, n2) {
|
|
@@ -5420,4 +5420,4 @@ __decorateClass([
|
|
|
5420
5420
|
WcmWebConnectingView = __decorateClass([
|
|
5421
5421
|
e$2("wcm-web-connecting-view")
|
|
5422
5422
|
], WcmWebConnectingView);
|
|
5423
|
-
//# sourceMappingURL=index-
|
|
5423
|
+
//# sourceMappingURL=index-BLC0Ys74.cjs.map
|