@orbs-network/spot-react 1.1.10 → 1.1.12
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-CnqN8Tqy.js → ccip-Dot5nDzd.js} +1 -1
- package/dist/{index-BQK488sZ.js → index-CwyugC0G.js} +28284 -28334
- package/dist/spot-react/package.json.d.ts +1 -1
- package/dist/spot-react/src/consts.d.ts +0 -5
- package/dist/spot-react/src/consts.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/helper-hooks.d.ts +0 -9
- package/dist/spot-react/src/hooks/helper-hooks.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-disclaimer-message.d.ts +5 -0
- package/dist/spot-react/src/hooks/use-disclaimer-message.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-dst-amount.d.ts +2 -2
- package/dist/spot-react/src/hooks/use-dst-token-panel.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-fees.d.ts +1 -0
- package/dist/spot-react/src/hooks/use-fees.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/{use-order.d.ts → use-form-data.d.ts} +3 -2
- package/dist/spot-react/src/hooks/use-form-data.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-input-with-percentage.d.ts +1 -1
- package/dist/spot-react/src/hooks/use-limit-price-panel.d.ts +7 -6
- 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 +1 -1
- package/dist/spot-react/src/hooks/{use-invert-trade-panel.d.ts → use-price-panel.d.ts} +2 -2
- package/dist/spot-react/src/hooks/use-price-panel.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-spot.d.ts +44 -0
- package/dist/spot-react/src/hooks/use-spot.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-src-amount.d.ts +1 -1
- package/dist/spot-react/src/hooks/use-submit-order-panel.d.ts +10 -16
- 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 +3 -4
- package/dist/spot-react/src/hooks/use-swap-execution.d.ts.map +1 -1
- package/dist/spot-react/src/hooks/use-trades.d.ts +2 -2
- 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 +8 -10
- 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 +3 -3
- package/dist/spot-react/src/index.d.ts +3 -19
- 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 +1 -1
- package/dist/spot-react/src/store.d.ts.map +1 -1
- package/dist/spot-react/src/types.d.ts +2 -3
- package/dist/spot-react/src/types.d.ts.map +1 -1
- package/dist/spot-react.js +44 -66
- package/dist/spot-react.umd.cjs +43 -43
- package/package.json +2 -2
- package/dist/spot-react/src/hooks/use-disclaimer-panel.d.ts +0 -5
- package/dist/spot-react/src/hooks/use-disclaimer-panel.d.ts.map +0 -1
- package/dist/spot-react/src/hooks/use-invert-trade-panel.d.ts.map +0 -1
- package/dist/spot-react/src/hooks/use-order.d.ts.map +0 -1
package/dist/spot-react.js
CHANGED
|
@@ -1,76 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as e, V as r, U as t, I as i, M as o, N as n, L as u, K as d, Q as O, o as l, O as R, p as S, P as p, W as T, G as _, S as g, Z as E, Y as A, X as I, T as P, v as m, a2 as U, A as L, q as B, a8 as y, t as W, x as k, C as w, E as x, D as C, a5 as M, y as D, r as c, F as h, z as F, a1 as N, a3 as v, a4 as Q, R as b, a0 as f, a7 as j, a6 as q, w as z, $ as G, _ as H, j as V, h as J, k as K, m as X, u as Y, n as Z } from "./index-CwyugC0G.js";
|
|
2
2
|
export {
|
|
3
|
-
e as
|
|
4
|
-
r as
|
|
5
|
-
t as
|
|
6
|
-
i as
|
|
7
|
-
|
|
8
|
-
n as
|
|
9
|
-
|
|
10
|
-
l as ORBS_SLTP_FAQ_URL,
|
|
3
|
+
e as DISCLAIMER_URL,
|
|
4
|
+
r as ERC20_ABI,
|
|
5
|
+
t as IWETH_ABI,
|
|
6
|
+
i as InputErrors,
|
|
7
|
+
o as Module,
|
|
8
|
+
n as ORBS_LOGO,
|
|
9
|
+
u as ORBS_SLTP_FAQ_URL,
|
|
11
10
|
d as ORBS_TWAP_FAQ_URL,
|
|
12
11
|
O as ORBS_WEBSITE_URL,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
l as OrderFilter,
|
|
13
|
+
R as OrderStatus,
|
|
14
|
+
S as OrderType,
|
|
15
|
+
p as Partners,
|
|
16
|
+
T as REPERMIT_ABI,
|
|
17
|
+
_ as SPOT_VERSION,
|
|
19
18
|
g as SpotProvider,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
E as Steps,
|
|
20
|
+
A as SwapStatus,
|
|
21
|
+
I as TWAP_ABI,
|
|
22
|
+
P as TimeUnit,
|
|
23
|
+
m as buildRePermitOrderData,
|
|
25
24
|
U as ensureWrappedToken,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
L as eqIgnoreCase,
|
|
26
|
+
B as getConfig,
|
|
27
|
+
y as getExplorerUrl,
|
|
28
|
+
W as getMinChunkSizeUsd,
|
|
29
|
+
k as getNetwork,
|
|
30
|
+
w as getOrderExecutionRate,
|
|
31
|
+
x as getOrderFillDelayMillis,
|
|
32
|
+
C as getOrderLimitPriceRate,
|
|
33
|
+
M as getOrderType,
|
|
34
|
+
D as getPartnerChains,
|
|
35
|
+
c as getPartners,
|
|
36
|
+
h as getTriggerPriceRate,
|
|
37
|
+
F as isNativeAddress,
|
|
39
38
|
N as isTxRejected,
|
|
40
39
|
v as millisToDays,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
Q as millisToMinutes,
|
|
41
|
+
b as networks,
|
|
42
|
+
f as parseError,
|
|
43
|
+
j as shouldUnwrapOnly,
|
|
44
|
+
q as shouldWrapOnly,
|
|
46
45
|
z as submitOrder,
|
|
47
46
|
G as toAmountUi,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
la as useInvertTradePanel,
|
|
65
|
-
da as useLimitPricePanel,
|
|
66
|
-
Oa as useNetwork,
|
|
67
|
-
Pa as useOrderHistoryPanel,
|
|
68
|
-
Sa as usePartnerChains,
|
|
69
|
-
Ta as useSignOrder,
|
|
70
|
-
Ra as useSubmitOrderButton,
|
|
71
|
-
ma as useSubmitOrderMutation,
|
|
72
|
-
pa as useSubmitOrderPanel,
|
|
73
|
-
ga as useSwapExecution,
|
|
74
|
-
Aa as useTradesPanel,
|
|
75
|
-
Ea as useTriggerPricePanel
|
|
47
|
+
H as toAmountWei,
|
|
48
|
+
V as useAmountUi,
|
|
49
|
+
J as useDerivedHistoryOrder,
|
|
50
|
+
K as useExplorerLink,
|
|
51
|
+
X as useNetwork,
|
|
52
|
+
Y as useSpot,
|
|
53
|
+
Z as useSwapExecution
|
|
76
54
|
};
|