@orbs-network/spot-react 1.0.1 → 1.1.0

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