@orbs-network/spot-react 1.1.13 → 1.1.14

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.
@@ -1,4 +1,4 @@
1
- import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DKShOYqU.js";
1
+ import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-CUYO_dMx.js";
2
2
  class S extends p {
3
3
  constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
4
4
  var o;
@@ -3249,7 +3249,7 @@ const Ib = async ({
3249
3249
  }) => (await Promise.all([
3250
3250
  s ? Ib({ chainId: n, signal: e, page: t, limit: r, filters: { accounts: [a], configs: s.twapConfig ? [s.twapConfig] : [] } }) : Promise.resolve([]),
3251
3251
  kb({ chainId: n, signal: e, account: a, exchange: s == null ? void 0 : s.adapter, isDev: o })
3252
- ]).then(([l, d]) => [...l, ...d])).sort((l, d) => d.createdAt - l.createdAt), Mb = "1.1.13", Rb = {
3252
+ ]).then(([l, d]) => [...l, ...d])).sort((l, d) => d.createdAt - l.createdAt), Mb = "1.1.14", Rb = {
3253
3253
  version: Mb
3254
3254
  }, ad = (e) => {
3255
3255
  let t;
@@ -9502,7 +9502,7 @@ async function bi(e, t) {
9502
9502
  });
9503
9503
  return Q === "0x" ? { data: void 0 } : { data: Q };
9504
9504
  } catch (F) {
9505
- const P = H5(F), { offchainLookup: M, offchainLookupSignature: L } = await import("./ccip-BFWceBrS.js");
9505
+ const P = H5(F), { offchainLookup: M, offchainLookupSignature: L } = await import("./ccip-aMcTWI00.js");
9506
9506
  if (e.ccipRead !== !1 && (P == null ? void 0 : P.slice(0, 10)) === L && C)
9507
9507
  return { data: await M(e, { data: P, to: C }) };
9508
9508
  throw v && (P == null ? void 0 : P.slice(0, 10)) === "0x101bb98d" ? new y2({ factory: f }) : cu(F, {
@@ -19209,7 +19209,7 @@ const ih = () => {
19209
19209
  submitOrderButton: d,
19210
19210
  derivedFormData: p,
19211
19211
  orderHistoryPanel: f,
19212
- submitOrderPanel: m,
19212
+ orderExecutionPanel: m,
19213
19213
  supportedChains: y,
19214
19214
  mutations: U
19215
19215
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@orbs-network/spot-react",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "Spot React Components - React components for Spot SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/spot-react.umd.cjs",
@@ -30,17 +30,17 @@ declare const _default: {
30
30
  ],
31
31
  "license": "MIT",
32
32
  "peerDependencies": {
33
- "react": "^18.0.0 || ^19.0.0",
34
- "react-dom": "^18.0.0 || ^19.0.0"
35
- },
36
- "dependencies": {
37
- "@orbs-network/spot-ui": "workspace:*",
38
33
  "@tanstack/react-query": "^5.90.12",
39
34
  "bignumber.js": "^9.3.1",
35
+ "react": "^18.0.0 || ^19.0.0",
36
+ "react-dom": "^18.0.0 || ^19.0.0",
40
37
  "react-error-boundary": "^6.0.0",
41
38
  "viem": "^2.43.3",
42
39
  "zustand": "^5.0.9"
43
40
  },
41
+ "dependencies": {
42
+ "@orbs-network/spot-ui": "workspace:*"
43
+ },
44
44
  "devDependencies": {
45
45
  "@types/react": "^19.0.2",
46
46
  "@types/react-dom": "^19.0.2",
@@ -26,8 +26,8 @@ type SpotData = {
26
26
  inputError: ReturnType<typeof useInputErrors>;
27
27
  submitOrderButton: ReturnType<typeof useSubmitOrderButton>;
28
28
  orderHistoryPanel: ReturnType<typeof useOrderHistoryPanel>;
29
+ orderExecutionPanel: ReturnType<typeof useSubmitOrderPanel>;
29
30
  derivedFormData: ReturnType<typeof useFormData>;
30
- submitOrderPanel: ReturnType<typeof useSubmitOrderPanel>;
31
31
  supportedChains: ReturnType<typeof usePartnerChains>;
32
32
  mutations: {
33
33
  cancelOrder: ReturnType<typeof useCancelOrderMutation>;
@@ -1 +1 @@
1
- {"version":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AoB,CAAC,CAAC;IAC3D,iBAAiB,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IAC3D,mBAAmB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAC5D,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IAChD,eAAe,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IACrD,SAAS,EAAE;QACT,WAAW,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;QACvD,SAAS,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;QAC3C,WAAW,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;QACvD,wBAAwB,EAAE,UAAU,CAClC,OAAO,sCAAsC,CAC9C,CAAC;KACH,CAAC;CACH,CAAC;AAIF,eAAO,MAAM,gBAAgB,GAAI,eAE9B;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,4CAoDA,CAAC;AAEF,eAAO,MAAM,OAAO,gBAMnB,CAAC"}
@@ -1,4 +1,4 @@
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-DKShOYqU.js";
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-CUYO_dMx.js";
2
2
  export {
3
3
  e as DISCLAIMER_URL,
4
4
  r as ERC20_ABI,