@orbs-network/spot-react 1.0.1 → 1.0.2
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/{ccip-ghobQCPh.js → ccip-BktNSwP8.js} +1 -1
- package/dist/{index-kIt8svRl.js → index-Ij0jPMOb.js} +10693 -18539
- package/dist/spot-react/package.json.d.ts +2 -8
- package/dist/spot-react/src/consts.d.ts +1 -2
- package/dist/spot-react/src/consts.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/helper-hooks.d.ts +1 -1
- package/dist/spot-react/src/hooks/helper-hooks.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/order-hooks.d.ts +4 -28
- package/dist/spot-react/src/hooks/order-hooks.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-build-order-info.d.ts +37 -65
- package/dist/spot-react/src/hooks/use-build-order-info.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-cancel-order.d.ts +1 -1
- package/dist/spot-react/src/hooks/use-cancel-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-disclaimer-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-duration.d.ts +6 -2
- package/dist/spot-react/src/hooks/use-duration.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-fill-delay.d.ts +17 -5
- package/dist/spot-react/src/hooks/use-fill-delay.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-history-order.d.ts +48 -2
- package/dist/spot-react/src/hooks/use-history-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-input-errors.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-limit-price-panel.d.ts +0 -2
- package/dist/spot-react/src/hooks/use-limit-price-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-limit-price.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-order.d.ts +28 -78
- package/dist/spot-react/src/hooks/use-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-src-amount.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-submit-order-panel.d.ts +10 -10
- package/dist/spot-react/src/hooks/use-submit-order-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-submit-order.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-swap-execution.d.ts +21 -0
- package/dist/spot-react/src/hooks/use-swap-execution.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-trades.d.ts +5 -15
- package/dist/spot-react/src/hooks/use-trades.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-trigger-price-panel.d.ts +0 -2
- package/dist/spot-react/src/hooks/use-trigger-price-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-trigger-price.d.ts.map +1 -1
- package/dist/spot-react/src/index.d.ts +9 -21
- package/dist/spot-react/src/index.d.ts.map +1 -1
- package/dist/spot-react/src/spot-context.d.ts.map +1 -1
- package/dist/spot-react/src/store.d.ts +2 -3
- package/dist/spot-react/src/store.d.ts.map +1 -1
- package/dist/spot-react/src/types.d.ts +15 -299
- package/dist/spot-react/src/types.d.ts.map +1 -1
- package/dist/spot-react/src/utils.d.ts +1 -7
- package/dist/spot-react/src/utils.d.ts.map +1 -1
- package/dist/spot-react.js +74 -84
- package/dist/spot-react.umd.cjs +50 -67
- package/dist/spot-ui/src/lib/types.d.ts +1 -0
- package/dist/spot-ui/src/lib/types.d.ts.map +1 -1
- package/package.json +3 -9
- package/dist/spot-react/src/components/TokenLogo.d.ts +0 -9
- package/dist/spot-react/src/components/TokenLogo.d.ts.map +0 -1
- package/dist/spot-react/src/components/format-number.d.ts +0 -10
- package/dist/spot-react/src/components/format-number.d.ts.map +0 -1
- package/dist/spot-react/src/components/order-details.d.ts +0 -75
- package/dist/spot-react/src/components/order-details.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/order-fills.d.ts +0 -8
- package/dist/spot-react/src/components/orders/order-fills.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/order-preview.d.ts +0 -3
- package/dist/spot-react/src/components/orders/order-preview.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/orders-list.d.ts +0 -2
- package/dist/spot-react/src/components/orders/orders-list.d.ts.map +0 -1
- package/dist/spot-react/src/components/orders/orders.d.ts +0 -2
- package/dist/spot-react/src/components/orders/orders.d.ts.map +0 -1
- package/dist/spot-react/src/components/portal.d.ts +0 -6
- package/dist/spot-react/src/components/portal.d.ts.map +0 -1
- package/dist/spot-react/src/components/submit-order-panel.d.ts +0 -10
- package/dist/spot-react/src/components/submit-order-panel.d.ts.map +0 -1
- package/dist/spot-react/src/hooks/use-toggle-price.d.ts +0 -5
- package/dist/spot-react/src/hooks/use-toggle-price.d.ts.map +0 -1
- package/dist/spot-react/src/hooks/use-translations.d.ts +0 -3
- package/dist/spot-react/src/hooks/use-translations.d.ts.map +0 -1
- package/dist/spot-react/src/i18n/en.json.d.ts +0 -99
package/dist/spot-react.js
CHANGED
|
@@ -1,86 +1,76 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, a8 as r, af as t, ae as i, V as u, O as n, ab as o, aa as d, a9 as l, ac as O, Q as P, P as S, R as T, U as m, ag as p, a7 as R, S as g, aj as A, ai as E, ah as _, T as I, Z as D, ao as U, a2 as c, W as y, au as C, Y as L, $ as B, a3 as k, a5 as F, a4 as M, ar as b, a0 as h, X as W, a6 as w, a1 as x, an as N, ap as v, aq as f, ad as j, am as q, at as H, as as Q, _ as z, al as G, ak as V, w as J, I as K, E as X, z as Y, L as Z, J as $, A as aa, y as sa, q as ea, m as ra, h as ta, K as ia, j as ua, G as na, t as oa, r as da, k as la, M as Oa, o as Pa, v as Sa, F as Ta, x as ma, C as pa, p as Ra, N as ga, u as Aa, n as Ea } from "./index-Ij0jPMOb.js";
|
|
2
2
|
export {
|
|
3
|
-
e as
|
|
4
|
-
r as
|
|
5
|
-
t as
|
|
6
|
-
i as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
O as
|
|
13
|
-
P as
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
R as
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
_ as
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
F as
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
j as
|
|
43
|
-
q as
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
V as
|
|
49
|
-
J as
|
|
50
|
-
K as
|
|
51
|
-
X as
|
|
52
|
-
Y as
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
sa as
|
|
57
|
-
ea as
|
|
58
|
-
ra as
|
|
59
|
-
ta as
|
|
60
|
-
ia as
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Oa as
|
|
67
|
-
Pa as
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Ra as
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
_a as useRePermitOrderData,
|
|
77
|
-
Aa as useRefetchUntilStatusSynced,
|
|
78
|
-
ca as useSignOrder,
|
|
79
|
-
ya as useSubmitOrder,
|
|
80
|
-
Da as useSubmitOrderButton,
|
|
81
|
-
Ca as useSubmitOrderPanel,
|
|
82
|
-
Ua as useTogglePricePanel,
|
|
83
|
-
Ba as useTradesPanel,
|
|
84
|
-
La as useTranslations,
|
|
85
|
-
Na as useTriggerPricePanel
|
|
3
|
+
e as DEFAULT_DURATIONS,
|
|
4
|
+
r as DISCLAIMER_URL,
|
|
5
|
+
t as ERC20_ABI,
|
|
6
|
+
i as IWETH_ABI,
|
|
7
|
+
u as InputErrors,
|
|
8
|
+
n as Module,
|
|
9
|
+
o as ORBS_LOGO,
|
|
10
|
+
d as ORBS_SLTP_FAQ_URL,
|
|
11
|
+
l as ORBS_TWAP_FAQ_URL,
|
|
12
|
+
O as ORBS_WEBSITE_URL,
|
|
13
|
+
P as OrderFilter,
|
|
14
|
+
S as OrderStatus,
|
|
15
|
+
T as OrderType,
|
|
16
|
+
m as Partners,
|
|
17
|
+
p as REPERMIT_ABI,
|
|
18
|
+
R as SPOT_VERSION,
|
|
19
|
+
g as SpotProvider,
|
|
20
|
+
A as Steps,
|
|
21
|
+
E as SwapStatus,
|
|
22
|
+
_ as TWAP_ABI,
|
|
23
|
+
I as TimeUnit,
|
|
24
|
+
D as buildRePermitOrderData,
|
|
25
|
+
U as ensureWrappedToken,
|
|
26
|
+
c as eqIgnoreCase,
|
|
27
|
+
y as getConfig,
|
|
28
|
+
C as getExplorerUrl,
|
|
29
|
+
L as getMinChunkSizeUsd,
|
|
30
|
+
B as getNetwork,
|
|
31
|
+
k as getOrderExecutionRate,
|
|
32
|
+
F as getOrderFillDelayMillis,
|
|
33
|
+
M as getOrderLimitPriceRate,
|
|
34
|
+
b as getOrderType,
|
|
35
|
+
h as getPartnerChains,
|
|
36
|
+
W as getPartners,
|
|
37
|
+
w as getTriggerPricePerTrade,
|
|
38
|
+
x as isNativeAddress,
|
|
39
|
+
N as isTxRejected,
|
|
40
|
+
v as millisToDays,
|
|
41
|
+
f as millisToMinutes,
|
|
42
|
+
j as networks,
|
|
43
|
+
q as parseError,
|
|
44
|
+
H as shouldUnwrapOnly,
|
|
45
|
+
Q as shouldWrapOnly,
|
|
46
|
+
z as submitOrder,
|
|
47
|
+
G as toAmountUi,
|
|
48
|
+
V as toAmountWei,
|
|
49
|
+
J as useAddresses,
|
|
50
|
+
K as useAmountUi,
|
|
51
|
+
X as useCancelOrderMutation,
|
|
52
|
+
Y as useCancelOrderRefetchUntilStatusSynced,
|
|
53
|
+
Z as useCopyToClipboard,
|
|
54
|
+
$ as useDateFormat,
|
|
55
|
+
aa as useDerivedHistoryOrder,
|
|
56
|
+
sa as useDerivedOrder,
|
|
57
|
+
ea as useDisclaimerPanel,
|
|
58
|
+
ra as useDstTokenPanel,
|
|
59
|
+
ta as useDurationPanel,
|
|
60
|
+
ia as useExplorerLink,
|
|
61
|
+
ua as useFillDelayPanel,
|
|
62
|
+
na as useFormatNumber,
|
|
63
|
+
oa as useInputErrors,
|
|
64
|
+
da as useInvertTradePanel,
|
|
65
|
+
la as useLimitPricePanel,
|
|
66
|
+
Oa as useNetwork,
|
|
67
|
+
Pa as useOrderHistoryPanel,
|
|
68
|
+
Sa as usePartnerChains,
|
|
69
|
+
Ta as useSignOrder,
|
|
70
|
+
ma as useSubmitOrderButton,
|
|
71
|
+
pa as useSubmitOrderMutation,
|
|
72
|
+
Ra as useSubmitOrderPanel,
|
|
73
|
+
ga as useSwapExecution,
|
|
74
|
+
Aa as useTradesPanel,
|
|
75
|
+
Ea as useTriggerPricePanel
|
|
86
76
|
};
|