@instockng/storefront-ui 1.0.4 → 1.0.5

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 (58) hide show
  1. package/dist/contexts/CartContext.d.ts.map +1 -1
  2. package/dist/index101.mjs +1 -1
  3. package/dist/index102.mjs +3 -3
  4. package/dist/index103.mjs +3 -3
  5. package/dist/index111.mjs +1 -1
  6. package/dist/index29.mjs +1 -1
  7. package/dist/index3.mjs +36 -32
  8. package/dist/index30.mjs +1 -1
  9. package/dist/index31.mjs +1 -1
  10. package/dist/index32.mjs +1 -1
  11. package/dist/index42.mjs +17 -17
  12. package/dist/index43.mjs +2 -2
  13. package/dist/index44.mjs +1 -1
  14. package/dist/index45.mjs +1 -1
  15. package/dist/index46.mjs +1 -1
  16. package/dist/index47.mjs +1 -1
  17. package/dist/index48.mjs +1 -1
  18. package/dist/index49.mjs +1 -1
  19. package/dist/index50.mjs +1 -1
  20. package/dist/index51.mjs +1 -1
  21. package/dist/index52.mjs +1 -1
  22. package/dist/index53.mjs +1 -1
  23. package/dist/index54.mjs +1 -1
  24. package/dist/index58.mjs +2 -2
  25. package/dist/index59.mjs +3 -4
  26. package/dist/index60.mjs +2 -4
  27. package/dist/index61.mjs +5 -2
  28. package/dist/index62.mjs +231 -30
  29. package/dist/index63.mjs +5 -42
  30. package/dist/index64.mjs +127 -228
  31. package/dist/index65.mjs +66 -4
  32. package/dist/index66.mjs +77 -124
  33. package/dist/index67.mjs +26 -65
  34. package/dist/index68.mjs +6 -84
  35. package/dist/index69.mjs +72 -26
  36. package/dist/index70.mjs +3 -8
  37. package/dist/index71.mjs +2 -75
  38. package/dist/index72.mjs +82 -3
  39. package/dist/index73.mjs +54 -2
  40. package/dist/index74.mjs +5 -82
  41. package/dist/index75.mjs +4 -53
  42. package/dist/index76.mjs +178 -5
  43. package/dist/index77.mjs +53 -5
  44. package/dist/index78.mjs +68 -178
  45. package/dist/index79.mjs +31 -50
  46. package/dist/index80.mjs +43 -69
  47. package/dist/index81.mjs +1 -1
  48. package/dist/index82.mjs +1 -1
  49. package/dist/index83.mjs +5 -5
  50. package/dist/index85.mjs +2 -2
  51. package/dist/index87.mjs +2 -2
  52. package/dist/index89.mjs +1 -1
  53. package/dist/index91.mjs +4 -4
  54. package/dist/index92.mjs +3 -3
  55. package/dist/index93.mjs +1 -1
  56. package/dist/index94.mjs +3 -3
  57. package/dist/index99.mjs +1 -1
  58. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"CartContext.d.ts","sourceRoot":"","sources":["../../src/contexts/CartContext.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,EAAkD,SAAS,EAAe,MAAM,OAAO,CAAC;AAC/F,OAAO,EAGL,aAAa,EAMb,eAAe,EACf,KAAK,IAAI,EACV,MAAM,iBAAiB,CAAC;AAKzB,UAAU,gBAAgB;IACxB,wBAAwB;IACxB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,mDAAmD;IACnD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,oBAAoB;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,gDAAgD;IAChD,kBAAkB,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;IACrD,+CAA+C;IAC/C,gBAAgB,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IACrD,8BAA8B;IAC9B,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,2BAA2B;IAC3B,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,4BAA4B;IAC5B,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAA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D;IAClD,iBAAiB,CAAC,EAAE,IAAI,CAAC,OAAO,4BAA4B,EAAE,iBAAiB,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC;CACxG;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,EAAE,iBAAiB,2CAgLxG;AAED;;GAEG;AACH,wBAAgB,OAAO,qBAMtB"}
package/dist/index101.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import i from "./index108.mjs";
3
3
  import m from "./index109.mjs";
4
- import f from "./index64.mjs";
4
+ import f from "./index62.mjs";
5
5
  const h = (t, o, a = 3) => {
6
6
  let r = 0;
7
7
  const c = i(50, 250);
package/dist/index102.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
  import n from "./index88.mjs";
3
- import m from "./index64.mjs";
3
+ import m from "./index62.mjs";
4
4
  import c from "./index110.mjs";
5
5
  import h from "./index111.mjs";
6
6
  import w from "./index84.mjs";
7
- import b from "./index67.mjs";
8
- import C from "./index78.mjs";
7
+ import b from "./index65.mjs";
8
+ import C from "./index76.mjs";
9
9
  import g from "./index81.mjs";
10
10
  const E = (a) => {
11
11
  const e = b({}, a);
package/dist/index103.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import a from "./index70.mjs";
3
- import s from "./index75.mjs";
4
- import m from "./index64.mjs";
2
+ import a from "./index68.mjs";
3
+ import s from "./index73.mjs";
4
+ import m from "./index62.mjs";
5
5
  const h = (e, t) => {
6
6
  const { length: l } = e = e ? e.filter(Boolean) : [];
7
7
  if (t || l) {
package/dist/index111.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import r from "./index64.mjs";
2
+ import r from "./index62.mjs";
3
3
  import c from "./index88.mjs";
4
4
  const p = c.hasStandardBrowserEnv ? (
5
5
  // Standard browser envs support document.cookie
package/dist/index29.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as s, useMutation as i } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as o } from "./index59.mjs";
3
+ import { useQueryUnwrapped as o } from "./index61.mjs";
4
4
  import { queryKeys as r } from "./index26.mjs";
5
5
  import { updateCart as c, createCart as l, applyDiscount as y, removeDiscount as m, addCartItem as C, updateCartItem as p, removeCartItem as q, checkoutCart as d, fetchCart as f } from "./index23.mjs";
6
6
  function b(e, t) {
package/dist/index3.mjs CHANGED
@@ -1,28 +1,28 @@
1
1
  'use client';
2
2
  import { jsxs as L, jsx as O } from "react/jsx-runtime";
3
- import { createContext as F, useState as v, useEffect as m, useCallback as o, useContext as G } from "react";
3
+ import { createContext as F, useState as p, useEffect as m, useCallback as o, useContext as G } from "react";
4
4
  import "./index18.mjs";
5
5
  import { useCreateCart as K, useGetCart as T, useAddCartItem as Y, useUpdateCartItem as q, useRemoveCartItem as z, useApplyDiscount as B, useRemoveDiscount as H, useUpdateCart as J, useCheckoutCart as Q } from "./index29.mjs";
6
6
  import "@tanstack/react-query";
7
7
  import { ShoppingCart as V } from "./index8.mjs";
8
- const u = "oms_cart_id", D = F(null);
9
- function ot({ children: a, brandSlug: f, initialCartId: s, shoppingCartProps: g }) {
10
- const [t, i] = v(() => {
8
+ const u = "oms_cart_id", C = F(null);
9
+ function ot({ children: a, brandSlug: f, initialCartId: s, shoppingCartProps: I }) {
10
+ const [t, i] = p(() => {
11
11
  if (s) return s;
12
12
  if (typeof window < "u") {
13
13
  const n = new URLSearchParams(window.location.search).get("cartId");
14
14
  return n || localStorage.getItem(u);
15
15
  }
16
16
  return null;
17
- }), [d, l] = v(!1), w = K({
17
+ }), [d, l] = p(!1), y = K({
18
18
  onSuccess: (e) => {
19
19
  "error" in e || i(e.id);
20
20
  }
21
21
  });
22
22
  m(() => {
23
- !t && !s && w.mutate(f);
24
- }, [t, s, f, w]);
25
- const { data: A, isLoading: E, error: c, refetch: r } = T(t || "", {
23
+ !t && !s && y.mutate(f);
24
+ }, [t, s, f]);
25
+ const { data: h, isLoading: S, error: c, refetch: r } = T(t || "", {
26
26
  enabled: !!t,
27
27
  retry: !1
28
28
  // Don't retry on failure - cart might be invalid/expired
@@ -30,15 +30,15 @@ function ot({ children: a, brandSlug: f, initialCartId: s, shoppingCartProps: g
30
30
  m(() => {
31
31
  c && t && (console.warn("Cart fetch failed, creating new cart:", c), i(null), typeof window < "u" && localStorage.removeItem(u));
32
32
  }, [c, t]);
33
- const p = Y(t || "", {
33
+ const v = Y(t || "", {
34
34
  onSuccess: () => r()
35
- }), C = q(t || "", {
35
+ }), D = q(t || "", {
36
36
  onSuccess: () => r()
37
- }), I = z(t || "", {
37
+ }), g = z(t || "", {
38
38
  onSuccess: () => r()
39
- }), y = B(t || "", {
39
+ }), A = B(t || "", {
40
40
  onSuccess: () => r()
41
- }), h = H(t || "", {
41
+ }), E = H(t || "", {
42
42
  onSuccess: () => r()
43
43
  }), M = J(t || "", {
44
44
  onSuccess: () => r()
@@ -49,40 +49,44 @@ function ot({ children: a, brandSlug: f, initialCartId: s, shoppingCartProps: g
49
49
  const P = o(
50
50
  async (e, n) => {
51
51
  if (!t) throw new Error("No cart ID");
52
- await p.mutateAsync({ sku: e, quantity: n });
52
+ await v.mutateAsync({ sku: e, quantity: n });
53
53
  },
54
- [t, p]
54
+ // eslint-disable-next-line react-hooks/exhaustive-deps
55
+ [t]
55
56
  ), N = o(
56
57
  async (e, n) => {
57
58
  if (!t) throw new Error("No cart ID");
58
- await C.mutateAsync({ itemId: e, quantity: n });
59
+ await D.mutateAsync({ itemId: e, quantity: n });
59
60
  },
60
- [t, C]
61
+ // eslint-disable-next-line react-hooks/exhaustive-deps
62
+ [t]
61
63
  ), R = o(
62
64
  async (e) => {
63
65
  if (!t) throw new Error("No cart ID");
64
- await I.mutateAsync(e);
66
+ await g.mutateAsync(e);
65
67
  },
66
- [t, I]
68
+ // eslint-disable-next-line react-hooks/exhaustive-deps
69
+ [t]
67
70
  ), U = o(
68
71
  async (e) => {
69
72
  if (!t) throw new Error("No cart ID");
70
- await y.mutateAsync({ code: e });
73
+ await A.mutateAsync({ code: e });
71
74
  },
72
- [t, y]
75
+ // eslint-disable-next-line react-hooks/exhaustive-deps
76
+ [t]
73
77
  ), _ = o(async () => {
74
78
  if (!t) throw new Error("No cart ID");
75
- await h.mutateAsync();
76
- }, [t, h]), k = o(() => {
79
+ await E.mutateAsync();
80
+ }, [t]), k = o(() => {
77
81
  i(null), typeof window < "u" && localStorage.removeItem(u);
78
82
  }, []), b = o(() => {
79
83
  l(!0);
80
- }, []), S = o(() => {
84
+ }, []), w = o(() => {
81
85
  l(!1);
82
86
  }, []), j = {
83
- cart: A || null,
87
+ cart: h || null,
84
88
  cartId: t,
85
- isLoading: E,
89
+ isLoading: S,
86
90
  error: c,
87
91
  updateCartMutation: M,
88
92
  checkoutMutation: x,
@@ -95,28 +99,28 @@ function ot({ children: a, brandSlug: f, initialCartId: s, shoppingCartProps: g
95
99
  refetch: r,
96
100
  isOpen: d,
97
101
  open: b,
98
- close: S
102
+ close: w
99
103
  };
100
- return /* @__PURE__ */ L(D.Provider, { value: j, children: [
104
+ return /* @__PURE__ */ L(C.Provider, { value: j, children: [
101
105
  a,
102
106
  /* @__PURE__ */ O(
103
107
  V,
104
108
  {
105
109
  isOpen: d,
106
- onClose: S,
107
- ...g
110
+ onClose: w,
111
+ ...I
108
112
  }
109
113
  )
110
114
  ] });
111
115
  }
112
116
  function rt() {
113
- const a = G(D);
117
+ const a = G(C);
114
118
  if (!a)
115
119
  throw new Error("useCart must be used within CartProvider");
116
120
  return a;
117
121
  }
118
122
  export {
119
- D as CartContext,
123
+ C as CartContext,
120
124
  ot as CartProvider,
121
125
  rt as useCart
122
126
  };
package/dist/index30.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useMutation as t } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as u } from "./index59.mjs";
3
+ import { useQueryUnwrapped as u } from "./index61.mjs";
4
4
  import { queryKeys as n } from "./index26.mjs";
5
5
  import { confirmOrder as i, fetchOrder as m } from "./index24.mjs";
6
6
  function y(e, r, o) {
package/dist/index31.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as u } from "./index59.mjs";
2
+ import { useQueryUnwrapped as u } from "./index61.mjs";
3
3
  import { queryKeys as t } from "./index26.mjs";
4
4
  import { fetchProductsByBrand as o, fetchProductBySlug as c } from "./index22.mjs";
5
5
  function n(r, e) {
package/dist/index32.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as o } from "./index59.mjs";
2
+ import { useQueryUnwrapped as o } from "./index61.mjs";
3
3
  import { queryKeys as i } from "./index26.mjs";
4
4
  import { fetchDeliveryZones as t } from "./index25.mjs";
5
5
  function p(e, r) {
package/dist/index42.mjs CHANGED
@@ -1,21 +1,21 @@
1
1
  'use client';
2
- import a from "./index64.mjs";
3
- import p from "./index65.mjs";
4
- import m from "./index66.mjs";
5
- import i from "./index67.mjs";
6
- import f from "./index68.mjs";
7
- import l from "./index69.mjs";
8
- import c from "./index70.mjs";
9
- import d from "./index71.mjs";
10
- import u from "./index72.mjs";
11
- import { VERSION as x } from "./index73.mjs";
12
- import C from "./index74.mjs";
13
- import A from "./index75.mjs";
14
- import E from "./index76.mjs";
15
- import O from "./index77.mjs";
16
- import S from "./index78.mjs";
17
- import H from "./index79.mjs";
18
- import T from "./index80.mjs";
2
+ import a from "./index62.mjs";
3
+ import p from "./index63.mjs";
4
+ import m from "./index64.mjs";
5
+ import i from "./index65.mjs";
6
+ import f from "./index66.mjs";
7
+ import l from "./index67.mjs";
8
+ import c from "./index68.mjs";
9
+ import d from "./index69.mjs";
10
+ import u from "./index70.mjs";
11
+ import { VERSION as x } from "./index71.mjs";
12
+ import C from "./index72.mjs";
13
+ import A from "./index73.mjs";
14
+ import E from "./index74.mjs";
15
+ import O from "./index75.mjs";
16
+ import S from "./index76.mjs";
17
+ import H from "./index77.mjs";
18
+ import T from "./index78.mjs";
19
19
  function n(o) {
20
20
  const t = new m(o), e = p(m.prototype.request, t);
21
21
  return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
package/dist/index43.mjs CHANGED
@@ -2,8 +2,8 @@
2
2
  var p = Object.defineProperty;
3
3
  var k = (r, e, i) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i;
4
4
  var h = (r, e, i) => k(r, typeof e != "symbol" ? e + "" : e, i);
5
- import { serialize as j } from "./index62.mjs";
6
- import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./index63.mjs";
5
+ import { serialize as j } from "./index79.mjs";
6
+ import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./index80.mjs";
7
7
  var v = (r, e) => new Proxy(() => {
8
8
  }, {
9
9
  get(t, s) {
package/dist/index44.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as m } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as p } from "./index59.mjs";
3
+ import { useQueryUnwrapped as p } from "./index61.mjs";
4
4
  import { createAdminRpcClients as d, authHeaders as c } from "./index21.mjs";
5
5
  import { queryKeys as i } from "./index26.mjs";
6
6
  import { useApiConfig as l } from "./index19.mjs";
package/dist/index45.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as m } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as b } from "./index59.mjs";
3
+ import { useQueryUnwrapped as b } from "./index61.mjs";
4
4
  import { createAdminRpcClients as u, authHeaders as c } from "./index21.mjs";
5
5
  import { queryKeys as o } from "./index26.mjs";
6
6
  import { useApiConfig as d } from "./index19.mjs";
package/dist/index46.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as p, useMutation as y } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as m } from "./index59.mjs";
3
+ import { useQueryUnwrapped as m } from "./index61.mjs";
4
4
  import { createAdminRpcClients as a, authHeaders as c } from "./index21.mjs";
5
5
  import { queryKeys as i } from "./index26.mjs";
6
6
  import { useApiConfig as d } from "./index19.mjs";
package/dist/index47.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as v } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as m } from "./index59.mjs";
3
+ import { useQueryUnwrapped as m } from "./index61.mjs";
4
4
  import { createAdminRpcClients as u, authHeaders as c } from "./index21.mjs";
5
5
  import { queryKeys as i } from "./index26.mjs";
6
6
  import { useApiConfig as d } from "./index19.mjs";
package/dist/index48.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as w, useMutation as y } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as d } from "./index59.mjs";
3
+ import { useQueryUnwrapped as d } from "./index61.mjs";
4
4
  import { createAdminRpcClients as i, authHeaders as c } from "./index21.mjs";
5
5
  import { queryKeys as u } from "./index26.mjs";
6
6
  import { useApiConfig as l } from "./index19.mjs";
package/dist/index49.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as d, useMutation as v } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as l } from "./index59.mjs";
3
+ import { useQueryUnwrapped as l } from "./index61.mjs";
4
4
  import { createAdminRpcClients as u, authHeaders as c } from "./index21.mjs";
5
5
  import { queryKeys as s } from "./index26.mjs";
6
6
  import { useApiConfig as y } from "./index19.mjs";
package/dist/index50.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as i } from "./index59.mjs";
2
+ import { useQueryUnwrapped as i } from "./index61.mjs";
3
3
  import { createAdminRpcClients as n, authHeaders as u } from "./index21.mjs";
4
4
  import { queryKeys as m } from "./index26.mjs";
5
5
  import { useApiConfig as a } from "./index19.mjs";
package/dist/index51.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as s } from "./index59.mjs";
2
+ import { useQueryUnwrapped as s } from "./index61.mjs";
3
3
  import { createAdminRpcClients as i, authHeaders as u } from "./index21.mjs";
4
4
  import { queryKeys as c } from "./index26.mjs";
5
5
  import { useApiConfig as d } from "./index19.mjs";
package/dist/index52.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as l, useMutation as y } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as c } from "./index59.mjs";
3
+ import { useQueryUnwrapped as c } from "./index61.mjs";
4
4
  import { createAdminRpcClients as s, authHeaders as o } from "./index21.mjs";
5
5
  import { queryKeys as i } from "./index26.mjs";
6
6
  import { useApiConfig as u } from "./index19.mjs";
package/dist/index53.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as l, useMutation as y } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as C } from "./index59.mjs";
3
+ import { useQueryUnwrapped as C } from "./index61.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as a } from "./index21.mjs";
5
5
  import { queryKeys as r } from "./index26.mjs";
6
6
  import { useApiConfig as d } from "./index19.mjs";
package/dist/index54.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as v } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as m } from "./index59.mjs";
3
+ import { useQueryUnwrapped as m } from "./index61.mjs";
4
4
  import { createAdminRpcClients as u, authHeaders as l } from "./index21.mjs";
5
5
  import { queryKeys as o } from "./index26.mjs";
6
6
  import { useApiConfig as c } from "./index19.mjs";
package/dist/index58.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { getDefaultExportFromCjs as d } from "./index60.mjs";
3
- import { __module as v } from "./index61.mjs";
2
+ import { getDefaultExportFromCjs as d } from "./index59.mjs";
3
+ import { __module as v } from "./index60.mjs";
4
4
  v.exports = function(n) {
5
5
  return g(m(n), n);
6
6
  };
package/dist/index59.mjs CHANGED
@@ -1,8 +1,7 @@
1
1
  'use client';
2
- import { useQuery as e } from "@tanstack/react-query";
3
- function n(r) {
4
- return e(r);
2
+ function e(t) {
3
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
5
4
  }
6
5
  export {
7
- n as useQueryUnwrapped
6
+ e as getDefaultExportFromCjs
8
7
  };
package/dist/index60.mjs CHANGED
@@ -1,7 +1,5 @@
1
1
  'use client';
2
- function e(t) {
3
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4
- }
2
+ var o = { exports: {} };
5
3
  export {
6
- e as getDefaultExportFromCjs
4
+ o as __module
7
5
  };
package/dist/index61.mjs CHANGED
@@ -1,5 +1,8 @@
1
1
  'use client';
2
- var o = { exports: {} };
2
+ import { useQuery as e } from "@tanstack/react-query";
3
+ function n(r) {
4
+ return e(r);
5
+ }
3
6
  export {
4
- o as __module
7
+ n as useQueryUnwrapped
5
8
  };