@rash2x/bridge-widget 0.6.62 → 0.6.63
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 +28 -27
- package/dist/{index-Dwxz-LHk.cjs → index-CSE-oDw8.cjs} +2 -2
- package/dist/{index-Dwxz-LHk.cjs.map → index-CSE-oDw8.cjs.map} +1 -1
- package/dist/{index-CAc7tJ3r.cjs → index-CpKOf8oF.cjs} +192 -190
- package/dist/index-CpKOf8oF.cjs.map +1 -0
- package/dist/{index-CcNV1b5l.js → index-DEi2-2_y.js} +2 -2
- package/dist/{index-CcNV1b5l.js.map → index-DEi2-2_y.js.map} +1 -1
- package/dist/{index-C0BTirT_.js → index-HznPfOtP.js} +218 -216
- package/dist/index-HznPfOtP.js.map +1 -0
- package/dist/index.d.ts +80 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-C0BTirT_.js.map +0 -1
- package/dist/index-CAc7tJ3r.cjs.map +0 -1
package/dist/evaa-bridge.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-CpKOf8oF.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.addNetworkFeesToQuote = index.addNetworkFeesToQuote;
|
|
8
9
|
exports.addrForApi = index.addrForApi;
|
|
9
10
|
exports.buildAssetMatrix = index.buildAssetMatrix;
|
|
10
11
|
exports.calculateMinReceived = index.calculateMinReceived;
|
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,45 +1,46 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L, d, f, e, D, Q, H, z, W, U, w, s, v, r, p, q, G, Z, a5, $, a2, x, A, y, a0, B, _, a3, a4, S, a1, P, I, V, Y, a6, J, K, X, F, N, t, o, i, u, l, m, j, n, h, k } from "./index-HznPfOtP.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
L as DEFAULT_SLIPPAGE_BPS,
|
|
4
4
|
d as EvaaBridge,
|
|
5
5
|
f as RoutePriority,
|
|
6
6
|
e as RouteType,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
D as addNetworkFeesToQuote,
|
|
8
|
+
Q as addrForApi,
|
|
9
|
+
H as buildAssetMatrix,
|
|
9
10
|
z as calculateMinReceived,
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
W as computeFeesUsdFromArray,
|
|
12
|
+
U as findNativeMeta,
|
|
12
13
|
w as formatAddress,
|
|
13
14
|
s as formatBalance,
|
|
14
15
|
v as formatHash,
|
|
15
16
|
r as formatPercentage,
|
|
16
17
|
p as formatTokenAmount,
|
|
17
18
|
q as formatUsd,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
G as fromLD,
|
|
20
|
+
Z as getChains,
|
|
21
|
+
a5 as getDeliveryStatus,
|
|
22
|
+
$ as getDestTokens,
|
|
23
|
+
a2 as getEvmBalances,
|
|
23
24
|
x as getQuoteAmounts,
|
|
24
25
|
A as getQuoteDetails,
|
|
25
26
|
y as getQuoteFees,
|
|
26
|
-
|
|
27
|
+
a0 as getQuotesByPriority,
|
|
27
28
|
B as getRouteDisplayName,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
_ as getTokens,
|
|
30
|
+
a3 as getTonBalances,
|
|
31
|
+
a4 as getTronBalances,
|
|
32
|
+
S as isNativeAddrEqual,
|
|
33
|
+
a1 as isNativeAddress,
|
|
34
|
+
P as isZeroAddr,
|
|
35
|
+
I as listAssetsForSelect,
|
|
36
|
+
V as lookupTokenMeta,
|
|
37
|
+
Y as normalizeTickerSymbol,
|
|
38
|
+
a6 as pollUntilDelivered,
|
|
39
|
+
J as resolveTokenOnChain,
|
|
40
|
+
K as resolveTokenOnChainFromMatrix,
|
|
41
|
+
X as sumFeeByTokenLD,
|
|
42
|
+
F as toLD,
|
|
43
|
+
N as tonNorm,
|
|
43
44
|
t as truncateToDecimals,
|
|
44
45
|
o as useBridgeExternalData,
|
|
45
46
|
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-CpKOf8oF.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-CSE-oDw8.cjs.map
|