@instockng/storefront-ui 1.0.11 → 1.0.13
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/components/Checkout.d.ts.map +1 -1
- package/dist/components/ShoppingCart.d.ts.map +1 -1
- package/dist/contexts/CartContext.d.ts +2 -0
- package/dist/contexts/CartContext.d.ts.map +1 -1
- package/dist/index10.mjs +70 -70
- package/dist/index101.mjs +1 -1
- package/dist/index102.mjs +3 -3
- package/dist/index103.mjs +3 -3
- package/dist/index105.mjs +1 -1
- package/dist/index111.mjs +1 -1
- package/dist/index29.mjs +1 -1
- package/dist/index3.mjs +83 -78
- package/dist/index30.mjs +1 -1
- package/dist/index31.mjs +1 -1
- package/dist/index32.mjs +1 -1
- package/dist/index42.mjs +17 -17
- package/dist/index43.mjs +2 -2
- package/dist/index44.mjs +1 -1
- package/dist/index45.mjs +1 -1
- package/dist/index46.mjs +1 -1
- package/dist/index47.mjs +1 -1
- package/dist/index48.mjs +1 -1
- package/dist/index49.mjs +1 -1
- package/dist/index50.mjs +1 -1
- package/dist/index51.mjs +1 -1
- package/dist/index52.mjs +1 -1
- package/dist/index53.mjs +1 -1
- package/dist/index54.mjs +1 -1
- package/dist/index58.mjs +2 -2
- package/dist/index59.mjs +3 -4
- package/dist/index60.mjs +2 -4
- package/dist/index61.mjs +5 -2
- package/dist/index62.mjs +231 -30
- package/dist/index63.mjs +5 -42
- package/dist/index64.mjs +127 -228
- package/dist/index65.mjs +66 -4
- package/dist/index66.mjs +77 -124
- package/dist/index67.mjs +26 -65
- package/dist/index68.mjs +6 -84
- package/dist/index69.mjs +72 -26
- package/dist/index70.mjs +3 -8
- package/dist/index71.mjs +2 -75
- package/dist/index72.mjs +82 -3
- package/dist/index73.mjs +54 -2
- package/dist/index74.mjs +5 -82
- package/dist/index75.mjs +4 -53
- package/dist/index76.mjs +178 -5
- package/dist/index77.mjs +53 -5
- package/dist/index78.mjs +68 -178
- package/dist/index79.mjs +31 -50
- package/dist/index8.mjs +8 -7
- package/dist/index80.mjs +43 -69
- package/dist/index81.mjs +2 -2
- package/dist/index82.mjs +1 -1
- package/dist/index83.mjs +6 -6
- package/dist/index84.mjs +2 -2
- package/dist/index85.mjs +2 -2
- package/dist/index87.mjs +2 -2
- package/dist/index88.mjs +2 -2
- package/dist/index89.mjs +1 -1
- package/dist/index91.mjs +4 -4
- package/dist/index92.mjs +3 -3
- package/dist/index93.mjs +12 -30
- package/dist/index94.mjs +7 -11
- package/dist/index95.mjs +30 -3
- package/dist/index96.mjs +10 -3
- package/dist/index97.mjs +4 -13
- package/dist/index98.mjs +4 -7
- package/dist/index99.mjs +1 -1
- package/dist/test-utils/MockCartProvider.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Checkout.tsx +9 -1
- package/src/components/ShoppingCart.tsx +1 -0
- package/src/contexts/CartContext.tsx +51 -24
- package/src/test-utils/MockCartProvider.tsx +8 -0
package/dist/index3.mjs
CHANGED
|
@@ -1,145 +1,150 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { createContext as
|
|
2
|
+
import { jsxs as z, jsx as B } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as J, useState as w, useRef as C, useEffect as c, useCallback as r, useContext as Q } from "react";
|
|
4
4
|
import "./index18.mjs";
|
|
5
|
-
import { useGetCart as
|
|
5
|
+
import { useGetCart as V, useCreateCart as W, useAddCartItem as X, useUpdateCartItem as Z, useRemoveCartItem as $, useApplyDiscount as b, useRemoveDiscount as tt, useUpdateCart as et, useCheckoutCart as rt } from "./index29.mjs";
|
|
6
6
|
import "@tanstack/react-query";
|
|
7
|
-
import { ShoppingCart as
|
|
8
|
-
const
|
|
9
|
-
function
|
|
10
|
-
const [t,
|
|
7
|
+
import { ShoppingCart as ot } from "./index8.mjs";
|
|
8
|
+
const u = "oms_cart_id", A = J(null);
|
|
9
|
+
function mt({ children: i, brandSlug: s, initialCartId: m, shoppingCartProps: E }) {
|
|
10
|
+
const [t, a] = w(m || null), [p, I] = w(!1), [M, g] = w(!1), y = C(!1), h = C(!1), l = C(!1);
|
|
11
11
|
c(() => {
|
|
12
12
|
g(!0);
|
|
13
13
|
}, []), c(() => {
|
|
14
|
-
if (
|
|
14
|
+
if (m || y.current) return;
|
|
15
|
+
y.current = !0;
|
|
15
16
|
const n = new URLSearchParams(window.location.search).get("cartId");
|
|
16
17
|
if (n) {
|
|
17
|
-
|
|
18
|
+
a(n);
|
|
18
19
|
return;
|
|
19
20
|
}
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
}, [
|
|
23
|
-
const { data:
|
|
21
|
+
const S = localStorage.getItem(u);
|
|
22
|
+
S && a(S);
|
|
23
|
+
}, [m]);
|
|
24
|
+
const { data: R, isLoading: x, error: f, refetch: o } = V(t || "", {
|
|
24
25
|
enabled: !!t,
|
|
25
26
|
retry: !1
|
|
26
27
|
// Don't retry on failure - cart might be invalid/expired
|
|
27
|
-
}),
|
|
28
|
+
}), d = W({
|
|
28
29
|
onSuccess: (e) => {
|
|
29
30
|
if ("error" in e) {
|
|
30
31
|
console.error("Failed to create cart:", e.error);
|
|
31
32
|
return;
|
|
32
33
|
}
|
|
33
|
-
|
|
34
|
+
a(e.id);
|
|
34
35
|
},
|
|
35
36
|
onError: (e) => {
|
|
36
37
|
console.error("Failed to create cart:", e);
|
|
37
|
-
}
|
|
38
|
+
},
|
|
39
|
+
retry: 10
|
|
38
40
|
});
|
|
39
41
|
c(() => {
|
|
40
|
-
if (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
42
|
+
if (h.current) return;
|
|
43
|
+
h.current = !0;
|
|
44
|
+
const e = setTimeout(() => {
|
|
45
|
+
!(typeof window < "u" ? localStorage.getItem(u) : null) && !m && d.mutate(s);
|
|
46
|
+
}, 150);
|
|
47
|
+
return () => clearTimeout(e);
|
|
47
48
|
}, []), c(() => {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}));
|
|
51
|
-
}, [
|
|
52
|
-
const
|
|
49
|
+
f && t && !l.current && (l.current = !0, console.warn("Cart fetch failed, creating new cart:", f), a(null), typeof window < "u" && localStorage.removeItem(u), setTimeout(() => {
|
|
50
|
+
d.mutate(s), l.current = !1;
|
|
51
|
+
}, 100));
|
|
52
|
+
}, [f, t, s]);
|
|
53
|
+
const N = X(t || "", {
|
|
53
54
|
onSuccess: () => o()
|
|
54
|
-
}), P =
|
|
55
|
+
}), P = Z(t || "", {
|
|
55
56
|
onSuccess: () => o()
|
|
56
|
-
}),
|
|
57
|
+
}), F = $(t || "", {
|
|
57
58
|
onSuccess: () => o()
|
|
58
|
-
}),
|
|
59
|
+
}), T = b(t || "", {
|
|
59
60
|
onSuccess: () => o()
|
|
60
|
-
}), U =
|
|
61
|
+
}), U = tt(t || "", {
|
|
61
62
|
onSuccess: () => o()
|
|
62
|
-
}), _ =
|
|
63
|
-
onSuccess: () => o()
|
|
64
|
-
|
|
63
|
+
}), _ = et(t || "", {
|
|
64
|
+
onSuccess: () => o(),
|
|
65
|
+
retry: 3
|
|
66
|
+
}), k = rt(t || "");
|
|
65
67
|
c(() => {
|
|
66
|
-
t && typeof window < "u" && localStorage.setItem(
|
|
68
|
+
t && typeof window < "u" && localStorage.setItem(u, t);
|
|
67
69
|
}, [t]);
|
|
68
|
-
const
|
|
70
|
+
const L = r(
|
|
69
71
|
async (e, n) => {
|
|
70
72
|
if (!t) throw new Error("No cart ID");
|
|
71
|
-
await
|
|
73
|
+
await N.mutateAsync({ sku: e, quantity: n });
|
|
72
74
|
},
|
|
73
75
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
74
76
|
[t]
|
|
75
|
-
),
|
|
77
|
+
), j = r(
|
|
76
78
|
async (e, n) => {
|
|
77
79
|
if (!t) throw new Error("No cart ID");
|
|
78
80
|
await P.mutateAsync({ itemId: e, quantity: n });
|
|
79
81
|
},
|
|
80
82
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
81
83
|
[t]
|
|
82
|
-
),
|
|
84
|
+
), O = r(
|
|
83
85
|
async (e) => {
|
|
84
86
|
if (!t) throw new Error("No cart ID");
|
|
85
|
-
await
|
|
87
|
+
await F.mutateAsync(e);
|
|
86
88
|
},
|
|
87
89
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
88
90
|
[t]
|
|
89
|
-
),
|
|
91
|
+
), G = r(
|
|
90
92
|
async (e) => {
|
|
91
93
|
if (!t) throw new Error("No cart ID");
|
|
92
|
-
await
|
|
94
|
+
await T.mutateAsync({ code: e });
|
|
93
95
|
},
|
|
94
96
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
95
97
|
[t]
|
|
96
|
-
),
|
|
98
|
+
), H = r(async () => {
|
|
97
99
|
if (!t) throw new Error("No cart ID");
|
|
98
100
|
await U.mutateAsync();
|
|
99
|
-
}, [t]),
|
|
100
|
-
|
|
101
|
-
}, []),
|
|
102
|
-
|
|
103
|
-
}, []),
|
|
104
|
-
|
|
105
|
-
}, []),
|
|
106
|
-
|
|
101
|
+
}, [t]), v = r(() => {
|
|
102
|
+
a(null), typeof window < "u" && localStorage.removeItem(u);
|
|
103
|
+
}, []), K = r(() => {
|
|
104
|
+
v(), d.mutate(s);
|
|
105
|
+
}, [s]), Y = r(() => {
|
|
106
|
+
I(!0);
|
|
107
|
+
}, []), D = r(() => {
|
|
108
|
+
I(!1);
|
|
109
|
+
}, []), q = {
|
|
110
|
+
cart: R || null,
|
|
107
111
|
cartId: t,
|
|
108
|
-
isLoading:
|
|
109
|
-
error:
|
|
112
|
+
isLoading: x,
|
|
113
|
+
error: f,
|
|
110
114
|
updateCartMutation: _,
|
|
111
|
-
checkoutMutation:
|
|
112
|
-
addItem:
|
|
113
|
-
updateItem:
|
|
114
|
-
removeItem:
|
|
115
|
-
applyDiscount:
|
|
116
|
-
removeDiscount:
|
|
117
|
-
clearCart:
|
|
115
|
+
checkoutMutation: k,
|
|
116
|
+
addItem: L,
|
|
117
|
+
updateItem: j,
|
|
118
|
+
removeItem: O,
|
|
119
|
+
applyDiscount: G,
|
|
120
|
+
removeDiscount: H,
|
|
121
|
+
clearCart: v,
|
|
122
|
+
clearAndCreateNewCart: K,
|
|
118
123
|
refetch: o,
|
|
119
|
-
isOpen:
|
|
120
|
-
open:
|
|
121
|
-
close:
|
|
124
|
+
isOpen: p,
|
|
125
|
+
open: Y,
|
|
126
|
+
close: D
|
|
122
127
|
};
|
|
123
|
-
return /* @__PURE__ */
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
128
|
+
return /* @__PURE__ */ z(A.Provider, { value: q, children: [
|
|
129
|
+
i,
|
|
130
|
+
M && /* @__PURE__ */ B(
|
|
131
|
+
ot,
|
|
127
132
|
{
|
|
128
|
-
isOpen:
|
|
129
|
-
onClose:
|
|
130
|
-
...
|
|
133
|
+
isOpen: p,
|
|
134
|
+
onClose: D,
|
|
135
|
+
...E
|
|
131
136
|
}
|
|
132
137
|
)
|
|
133
138
|
] });
|
|
134
139
|
}
|
|
135
|
-
function
|
|
136
|
-
const
|
|
137
|
-
if (!
|
|
140
|
+
function ft() {
|
|
141
|
+
const i = Q(A);
|
|
142
|
+
if (!i)
|
|
138
143
|
throw new Error("useCart must be used within CartProvider");
|
|
139
|
-
return
|
|
144
|
+
return i;
|
|
140
145
|
}
|
|
141
146
|
export {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
147
|
+
A as CartContext,
|
|
148
|
+
mt as CartProvider,
|
|
149
|
+
ft as useCart
|
|
145
150
|
};
|
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 "./
|
|
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 "./
|
|
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
package/dist/index42.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import a from "./
|
|
3
|
-
import p from "./
|
|
4
|
-
import m from "./
|
|
5
|
-
import i from "./
|
|
6
|
-
import f from "./
|
|
7
|
-
import l from "./
|
|
8
|
-
import c from "./
|
|
9
|
-
import d from "./
|
|
10
|
-
import u from "./
|
|
11
|
-
import { VERSION as x } from "./
|
|
12
|
-
import C from "./
|
|
13
|
-
import A from "./
|
|
14
|
-
import E from "./
|
|
15
|
-
import O from "./
|
|
16
|
-
import S from "./
|
|
17
|
-
import H from "./
|
|
18
|
-
import T from "./
|
|
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 "./
|
|
6
|
-
import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
3
|
-
import { __module as v } from "./
|
|
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
|
-
|
|
3
|
-
|
|
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
|
-
|
|
6
|
+
e as getDefaultExportFromCjs
|
|
8
7
|
};
|
package/dist/index60.mjs
CHANGED