@rash2x/bridge-widget 0.6.80 → 0.6.82
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 +3 -1
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +43 -41
- package/dist/{index-C2fA8rVi.cjs → index-BS3qjc1r.cjs} +2 -2
- package/dist/{index-C2fA8rVi.cjs.map → index-BS3qjc1r.cjs.map} +1 -1
- package/dist/{index-CcSC-h6y.cjs → index-BXWxz9wW.cjs} +142 -57
- package/dist/index-BXWxz9wW.cjs.map +1 -0
- package/dist/{index-DfqfSV1X.js → index-B_Afvquo.js} +182 -97
- package/dist/index-B_Afvquo.js.map +1 -0
- package/dist/{index-xCmXWsje.js → index-DG84KgHI.js} +2 -2
- package/dist/{index-xCmXWsje.js.map → index-DG84KgHI.js.map} +1 -1
- package/dist/index.d.ts +47 -0
- package/package.json +1 -1
- package/dist/index-CcSC-h6y.cjs.map +0 -1
- package/dist/index-DfqfSV1X.js.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-BXWxz9wW.cjs");
|
|
4
4
|
exports.DEFAULT_SLIPPAGE_BPS = index.DEFAULT_SLIPPAGE_BPS;
|
|
5
5
|
exports.EvaaBridge = index.EvaaBridge;
|
|
6
6
|
exports.RoutePriority = index.RoutePriority;
|
|
@@ -37,6 +37,7 @@ exports.listAssetsForSelect = index.listAssetsForSelect;
|
|
|
37
37
|
exports.lookupTokenMeta = index.lookupTokenMeta;
|
|
38
38
|
exports.normalizeTickerSymbol = index.normalizeTickerSymbol;
|
|
39
39
|
exports.pollUntilDelivered = index.pollUntilDelivered;
|
|
40
|
+
exports.reportBridgeTransaction = index.reportBridgeTransaction;
|
|
40
41
|
exports.resolveTokenOnChain = index.resolveTokenOnChain;
|
|
41
42
|
exports.resolveTokenOnChainFromMatrix = index.resolveTokenOnChainFromMatrix;
|
|
42
43
|
exports.sumFeeByTokenLD = index.sumFeeByTokenLD;
|
|
@@ -45,6 +46,7 @@ exports.tonNorm = index.tonNorm;
|
|
|
45
46
|
exports.truncateToDecimals = index.truncateToDecimals;
|
|
46
47
|
exports.useBridgeExternalData = index.useBridgeExternalData;
|
|
47
48
|
exports.useBridgeQuoteStore = index.useBridgeQuoteStore;
|
|
49
|
+
exports.useBridgeReportStore = index.useBridgeReportStore;
|
|
48
50
|
exports.useChainsStore = index.useChainsStore;
|
|
49
51
|
exports.useConnectedWalletsStore = index.useConnectedWalletsStore;
|
|
50
52
|
exports.useCustomAddressStore = index.useCustomAddressStore;
|
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,54 +1,56 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N, d, f, e, F, S, I, A, X, V, x, v, w, s, q, r, H, _, a6, a0, a3, y, B, z, a1, D, $, a4, a5, U, a2, Q, J, W, Z, a7, a8, K, L, Y, G, P, t, p, i, n, u, l, m, j, o, h, k } from "./index-B_Afvquo.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
N 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
|
-
K as
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
7
|
+
F as addNetworkFeesToQuote,
|
|
8
|
+
S as addrForApi,
|
|
9
|
+
I as buildAssetMatrix,
|
|
10
|
+
A as calculateMinReceived,
|
|
11
|
+
X as computeFeesUsdFromArray,
|
|
12
|
+
V as findNativeMeta,
|
|
13
|
+
x as formatAddress,
|
|
14
|
+
v as formatBalance,
|
|
15
|
+
w as formatHash,
|
|
16
|
+
s as formatPercentage,
|
|
17
|
+
q as formatTokenAmount,
|
|
18
|
+
r as formatUsd,
|
|
19
|
+
H as fromLD,
|
|
20
|
+
_ as getChains,
|
|
21
|
+
a6 as getDeliveryStatus,
|
|
22
|
+
a0 as getDestTokens,
|
|
23
|
+
a3 as getEvmBalances,
|
|
24
|
+
y as getQuoteAmounts,
|
|
25
|
+
B as getQuoteDetails,
|
|
26
|
+
z as getQuoteFees,
|
|
27
|
+
a1 as getQuotesByPriority,
|
|
28
|
+
D as getRouteDisplayName,
|
|
29
|
+
$ as getTokens,
|
|
30
|
+
a4 as getTonBalances,
|
|
31
|
+
a5 as getTronBalances,
|
|
32
|
+
U as isNativeAddrEqual,
|
|
33
|
+
a2 as isNativeAddress,
|
|
34
|
+
Q as isZeroAddr,
|
|
35
|
+
J as listAssetsForSelect,
|
|
36
|
+
W as lookupTokenMeta,
|
|
37
|
+
Z as normalizeTickerSymbol,
|
|
38
|
+
a7 as pollUntilDelivered,
|
|
39
|
+
a8 as reportBridgeTransaction,
|
|
40
|
+
K as resolveTokenOnChain,
|
|
41
|
+
L as resolveTokenOnChainFromMatrix,
|
|
42
|
+
Y as sumFeeByTokenLD,
|
|
43
|
+
G as toLD,
|
|
44
|
+
P as tonNorm,
|
|
44
45
|
t as truncateToDecimals,
|
|
45
|
-
|
|
46
|
+
p as useBridgeExternalData,
|
|
46
47
|
i as useBridgeQuoteStore,
|
|
48
|
+
n as useBridgeReportStore,
|
|
47
49
|
u as useChainsStore,
|
|
48
50
|
l as useConnectedWalletsStore,
|
|
49
51
|
m as useCustomAddressStore,
|
|
50
52
|
j as useSettingsStore,
|
|
51
|
-
|
|
53
|
+
o as useSwapModel,
|
|
52
54
|
h as useTokensStore,
|
|
53
55
|
k as useTransactionStore
|
|
54
56
|
};
|
|
@@ -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-BXWxz9wW.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-BS3qjc1r.cjs.map
|