@simpleapps-com/augur-hooks 0.1.3 → 0.1.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.
@@ -0,0 +1,275 @@
1
+ import * as _simpleapps_com_augur_utils from '@simpleapps-com/augur-utils';
2
+ import { TPriceData, TInvMastDoc, TCategory, TItemDetails, TProductCategory, TProductItem, TItemsFilters } from '@simpleapps-com/augur-utils';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { ReactNode } from 'react';
5
+
6
+ /**
7
+ * Minimal type for the augur-api SDK instance.
8
+ * Consumers provide their concrete AugurAPI instance; we keep the type
9
+ * loose so augur-hooks doesn't need to depend directly on the SDK package.
10
+ */
11
+ type AugurApiClient = any;
12
+ interface AugurHooksProviderProps {
13
+ api: AugurApiClient;
14
+ children: ReactNode;
15
+ }
16
+ /**
17
+ * Provides the augur-api SDK instance to all hooks in the tree.
18
+ *
19
+ * ```tsx
20
+ * import { AugurAPI } from "@simpleapps-com/augur-api";
21
+ * const api = new AugurAPI({ baseUrl: "...", token: "..." });
22
+ *
23
+ * <AugurHooksProvider api={api}>
24
+ * <App />
25
+ * </AugurHooksProvider>
26
+ * ```
27
+ */
28
+ declare function AugurHooksProvider({ api, children }: AugurHooksProviderProps): react_jsx_runtime.JSX.Element;
29
+ /**
30
+ * Returns the augur-api SDK instance from context.
31
+ * Throws if called outside of `<AugurHooksProvider>`.
32
+ */
33
+ declare function useAugurApi(): AugurApiClient;
34
+
35
+ /**
36
+ * Hook-specific types that don't belong in augur-utils.
37
+ * These describe hook parameters and API response shapes.
38
+ */
39
+ /** Parameters for product search queries. */
40
+ type PageData = {
41
+ categoryIdList?: string;
42
+ filters?: [string, string][];
43
+ limit: number;
44
+ page: number;
45
+ offset: number;
46
+ q: string;
47
+ sortBy: string;
48
+ tagslist?: string;
49
+ itemCategoryUid?: number;
50
+ };
51
+ /** A single search suggestion from OpenSearch. */
52
+ type SearchSuggestion = {
53
+ suggestionsUid: number;
54
+ queryStringUid: number;
55
+ suggestionsString: string;
56
+ suggestionsMetaphone: string | null;
57
+ avgTotalResults: number;
58
+ dateCreated: string;
59
+ dateLastModified: string;
60
+ updateCd: number;
61
+ statusCd: number;
62
+ processCd: number;
63
+ score: number;
64
+ };
65
+ /** Response shape from the search suggestions endpoint. */
66
+ type SearchSuggestionsResponse = {
67
+ count: number;
68
+ data: SearchSuggestion[];
69
+ message: string;
70
+ options: unknown[];
71
+ params: unknown[];
72
+ status: number;
73
+ total: number;
74
+ totalResults: number;
75
+ };
76
+ /** API options for item category queries. */
77
+ interface GetItemCategoryApiOptions {
78
+ childrenFilter?: string;
79
+ childrenLimit?: number;
80
+ childrenOffset?: number;
81
+ classId5List?: string;
82
+ filters?: Record<string, string>;
83
+ orderBy?: string;
84
+ path?: string;
85
+ productCollection?: string;
86
+ rootItemCategoryId?: string;
87
+ }
88
+
89
+ declare const PRICE_CACHE_OPTIONS: {
90
+ readonly refetchOnReconnect: true;
91
+ readonly refetchOnWindowFocus: false;
92
+ readonly meta: {
93
+ readonly persist: true;
94
+ };
95
+ readonly staleTime: number;
96
+ readonly gcTime: number;
97
+ };
98
+ /**
99
+ * Generates a consistent query key for item price queries.
100
+ * Usable in both client hooks and server-side prefetch.
101
+ */
102
+ declare const getItemPriceKey: (itemId: string | undefined, customerId: string | number | undefined, quantity?: number) => readonly ["price", string, string | number | undefined, number];
103
+ /**
104
+ * Query options for item price. Accepts the SDK instance so it works
105
+ * in both client (via provider) and server (via direct construction).
106
+ */
107
+ declare const getItemPriceOptions: (api: AugurApiClient, itemId: string | undefined, customerId: string | number | undefined, quantity?: number) => {
108
+ refetchOnReconnect: true;
109
+ refetchOnWindowFocus: false;
110
+ meta: {
111
+ readonly persist: true;
112
+ };
113
+ staleTime: number;
114
+ gcTime: number;
115
+ queryKey: readonly ["price", string, string | number | undefined, number];
116
+ queryFn: () => Promise<TPriceData>;
117
+ };
118
+
119
+ declare const INV_MAST_DOC_CACHE_OPTIONS: {
120
+ readonly staleTime: number;
121
+ readonly gcTime: number;
122
+ };
123
+ /**
124
+ * Generates a consistent query key for inv mast doc queries.
125
+ * Usable in both client hooks and server-side prefetch.
126
+ */
127
+ declare const getInvMastDocKey: (invMastUid: number, itemId: string, includePricing: "Y" | "N") => readonly ["invMastDoc", number, string, "Y" | "N"];
128
+ /**
129
+ * Query options for inv mast doc. Accepts the SDK instance so it works
130
+ * in both client (via provider) and server (via direct construction).
131
+ */
132
+ declare const getInvMastDocOptions: (api: AugurApiClient, invMastUid: number, itemId: string, includePricing: "Y" | "N") => {
133
+ staleTime: number;
134
+ gcTime: number;
135
+ queryKey: readonly ["invMastDoc", number, string, "Y" | "N"];
136
+ queryFn: () => Promise<TInvMastDoc>;
137
+ };
138
+
139
+ declare const CATEGORY_CACHE_OPTIONS: {
140
+ readonly staleTime: number;
141
+ readonly gcTime: number;
142
+ };
143
+ type ItemCategoryQueryKey = readonly [
144
+ "itemCategory",
145
+ number,
146
+ GetItemCategoryApiOptions | undefined
147
+ ];
148
+ /**
149
+ * Generates a consistent query key for item category queries.
150
+ * Usable in both client hooks and server-side prefetch.
151
+ */
152
+ declare const getItemCategoryKey: (itemCategoryUid: number, apiOptions?: GetItemCategoryApiOptions) => ItemCategoryQueryKey;
153
+ /**
154
+ * Query options for item category. Accepts the SDK instance so it works
155
+ * in both client (via provider) and server (via direct construction).
156
+ */
157
+ declare const getItemCategoryOptions: (api: AugurApiClient, itemCategoryUid: number, apiOptions?: GetItemCategoryApiOptions) => {
158
+ staleTime: number;
159
+ gcTime: number;
160
+ queryKey: ItemCategoryQueryKey;
161
+ queryFn: () => Promise<TCategory>;
162
+ };
163
+
164
+ declare const INV_MAST_CACHE_OPTIONS: {
165
+ readonly staleTime: number;
166
+ readonly gcTime: number;
167
+ };
168
+ declare const getInvMastKey: (invMastUid: number, itemId: string) => readonly ["invMast", number, string];
169
+ declare const getInvMastOptions: (api: AugurApiClient, invMastUid: number, itemId: string) => {
170
+ staleTime: number;
171
+ gcTime: number;
172
+ queryKey: readonly ["invMast", number, string];
173
+ queryFn: () => Promise<TItemDetails>;
174
+ };
175
+
176
+ declare const getInvMastStockKey: (invMastUid: number | string) => readonly ["invMastStock", string | number];
177
+ declare const getInvMastStockOptions: (api: AugurApiClient, invMastUid: number | string) => {
178
+ staleTime: number;
179
+ gcTime: number;
180
+ queryKey: readonly ["invMastStock", string | number];
181
+ queryFn: () => Promise<number>;
182
+ };
183
+
184
+ type ProductCategoryResponse = {
185
+ itemCategoryDesc: string;
186
+ childrenTotal: number;
187
+ children: TProductCategory[];
188
+ categoryImage: string | null;
189
+ };
190
+ declare const getProductCategoryKey: (itemCategoryUid: number | string | null) => readonly ["productCategory", string | number | null];
191
+ declare const getProductCategoryOptions: (api: AugurApiClient, itemCategoryUid: number | string) => {
192
+ staleTime: number;
193
+ gcTime: number;
194
+ queryKey: readonly ["productCategory", string | number | null];
195
+ queryFn: () => Promise<ProductCategoryResponse>;
196
+ };
197
+
198
+ declare const getItemDetailsKey: (itemId: number | string) => readonly ["itemDetails", string | number];
199
+ declare const getItemDetailsOptions: (api: AugurApiClient, itemId: number | string) => {
200
+ staleTime: number;
201
+ gcTime: number;
202
+ queryKey: readonly ["itemDetails", string | number];
203
+ queryFn: () => Promise<TItemDetails>;
204
+ };
205
+
206
+ declare const getItemAttributesKey: (itemCategoryUid: number | string | null) => readonly ["itemAttributes", string | number | null];
207
+ declare const getItemAttributesOptions: (api: AugurApiClient, itemCategoryUid: number | string) => {
208
+ staleTime: number;
209
+ gcTime: number;
210
+ queryKey: readonly ["itemAttributes", string | number | null];
211
+ queryFn: () => Promise<any>;
212
+ };
213
+
214
+ type ProductSearchResponse = {
215
+ items: TProductItem[];
216
+ totalResults: number;
217
+ };
218
+ /**
219
+ * Generates a consistent query key for product search queries.
220
+ */
221
+ declare const getProductSearchKey: (pageData: PageData) => readonly ["productSearch", string, number, number, string, number | undefined];
222
+ /**
223
+ * Query options for product search. Accepts the SDK instance so it works
224
+ * in both client (via provider) and server (via direct construction).
225
+ */
226
+ declare const getProductSearchOptions: (api: AugurApiClient, pageData: PageData) => {
227
+ staleTime: number;
228
+ gcTime: number;
229
+ queryKey: readonly ["productSearch", string, number, number, string, number | undefined];
230
+ queryFn: () => Promise<ProductSearchResponse>;
231
+ };
232
+
233
+ declare const SEARCH_SUGGESTIONS_CACHE_OPTIONS: {
234
+ readonly staleTime: number;
235
+ readonly gcTime: number;
236
+ };
237
+ /**
238
+ * Generates a consistent query key for search suggestion queries.
239
+ */
240
+ declare const getSearchSuggestionsKey: (query: string, limit: number, offset: number) => readonly ["searchSuggestions", string, number, number];
241
+ /**
242
+ * Query options for search suggestions. Accepts the SDK instance so it works
243
+ * in both client (via provider) and server (via direct construction).
244
+ */
245
+ declare const getSearchSuggestionsOptions: (api: AugurApiClient, query: string, limit?: number, offset?: number) => {
246
+ staleTime: number;
247
+ gcTime: number;
248
+ queryKey: readonly ["searchSuggestions", string, number, number];
249
+ queryFn: () => Promise<SearchSuggestionsResponse>;
250
+ };
251
+
252
+ /**
253
+ * Get cart pricing query options for prefetching or parent components.
254
+ */
255
+ declare function getCartPricingQueryOptions(api: AugurApiClient, cartLines: Array<{
256
+ itemId: string;
257
+ quantity: number;
258
+ }>, customerId: string | number | undefined): {
259
+ enabled: boolean;
260
+ refetchOnReconnect: true;
261
+ refetchOnWindowFocus: false;
262
+ meta: {
263
+ readonly persist: true;
264
+ };
265
+ staleTime: number;
266
+ gcTime: number;
267
+ queryKey: readonly ["price", string, string | number | undefined, number];
268
+ queryFn: () => Promise<_simpleapps_com_augur_utils.TPriceData>;
269
+ }[];
270
+
271
+ declare const getCategoryItemsInfiniteKey: (itemCategoryUid: number, itemsFilters: TItemsFilters) => readonly ["categoryItemsInfinite", number, string];
272
+
273
+ declare const getItemSearchInfiniteKey: (itemsFilters: TItemsFilters, itemCategoryUid?: number | string) => readonly ["itemSearchInfinite", string, string | number | undefined];
274
+
275
+ export { type AugurApiClient as A, getSearchSuggestionsKey as B, CATEGORY_CACHE_OPTIONS as C, getSearchSuggestionsOptions as D, useAugurApi as E, type GetItemCategoryApiOptions as G, INV_MAST_CACHE_OPTIONS as I, type PageData as P, type SearchSuggestionsResponse as S, type SearchSuggestion as a, AugurHooksProvider as b, INV_MAST_DOC_CACHE_OPTIONS as c, PRICE_CACHE_OPTIONS as d, SEARCH_SUGGESTIONS_CACHE_OPTIONS as e, getCategoryItemsInfiniteKey as f, getCartPricingQueryOptions as g, getInvMastDocKey as h, getInvMastDocOptions as i, getInvMastKey as j, getInvMastOptions as k, getInvMastStockKey as l, getInvMastStockOptions as m, getItemAttributesKey as n, getItemAttributesOptions as o, getItemCategoryKey as p, getItemCategoryOptions as q, getItemDetailsKey as r, getItemDetailsOptions as s, getItemPriceKey as t, getItemPriceOptions as u, getItemSearchInfiniteKey as v, getProductCategoryKey as w, getProductCategoryOptions as x, getProductSearchKey as y, getProductSearchOptions as z };
@@ -0,0 +1,61 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+ var _chunkMRQREI4Lcjs = require('./chunk-MRQREI4L.cjs');
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+ exports.CATEGORY_CACHE_OPTIONS = _chunkMRQREI4Lcjs.CATEGORY_CACHE_OPTIONS; exports.INV_MAST_CACHE_OPTIONS = _chunkMRQREI4Lcjs.INV_MAST_CACHE_OPTIONS; exports.INV_MAST_DOC_CACHE_OPTIONS = _chunkMRQREI4Lcjs.INV_MAST_DOC_CACHE_OPTIONS; exports.PRICE_CACHE_OPTIONS = _chunkMRQREI4Lcjs.PRICE_CACHE_OPTIONS; exports.SEARCH_SUGGESTIONS_CACHE_OPTIONS = _chunkMRQREI4Lcjs.SEARCH_SUGGESTIONS_CACHE_OPTIONS; exports.getCartPricingQueryOptions = _chunkMRQREI4Lcjs.getCartPricingQueryOptions; exports.getCategoryItemsInfiniteKey = _chunkMRQREI4Lcjs.getCategoryItemsInfiniteKey; exports.getInvMastDocKey = _chunkMRQREI4Lcjs.getInvMastDocKey; exports.getInvMastDocOptions = _chunkMRQREI4Lcjs.getInvMastDocOptions; exports.getInvMastKey = _chunkMRQREI4Lcjs.getInvMastKey; exports.getInvMastOptions = _chunkMRQREI4Lcjs.getInvMastOptions; exports.getInvMastStockKey = _chunkMRQREI4Lcjs.getInvMastStockKey; exports.getInvMastStockOptions = _chunkMRQREI4Lcjs.getInvMastStockOptions; exports.getItemAttributesKey = _chunkMRQREI4Lcjs.getItemAttributesKey; exports.getItemAttributesOptions = _chunkMRQREI4Lcjs.getItemAttributesOptions; exports.getItemCategoryKey = _chunkMRQREI4Lcjs.getItemCategoryKey; exports.getItemCategoryOptions = _chunkMRQREI4Lcjs.getItemCategoryOptions; exports.getItemDetailsKey = _chunkMRQREI4Lcjs.getItemDetailsKey; exports.getItemDetailsOptions = _chunkMRQREI4Lcjs.getItemDetailsOptions; exports.getItemPriceKey = _chunkMRQREI4Lcjs.getItemPriceKey; exports.getItemPriceOptions = _chunkMRQREI4Lcjs.getItemPriceOptions; exports.getItemSearchInfiniteKey = _chunkMRQREI4Lcjs.getItemSearchInfiniteKey; exports.getProductCategoryKey = _chunkMRQREI4Lcjs.getProductCategoryKey; exports.getProductCategoryOptions = _chunkMRQREI4Lcjs.getProductCategoryOptions; exports.getProductSearchKey = _chunkMRQREI4Lcjs.getProductSearchKey; exports.getProductSearchOptions = _chunkMRQREI4Lcjs.getProductSearchOptions; exports.getSearchSuggestionsKey = _chunkMRQREI4Lcjs.getSearchSuggestionsKey; exports.getSearchSuggestionsOptions = _chunkMRQREI4Lcjs.getSearchSuggestionsOptions;
61
+ //# sourceMappingURL=server.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/augur-packages/augur-packages/packages/augur-hooks/dist/server.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+gEAAC","file":"/home/runner/work/augur-packages/augur-packages/packages/augur-hooks/dist/server.cjs"}
@@ -0,0 +1,4 @@
1
+ export { A as AugurApiClient, C as CATEGORY_CACHE_OPTIONS, I as INV_MAST_CACHE_OPTIONS, c as INV_MAST_DOC_CACHE_OPTIONS, d as PRICE_CACHE_OPTIONS, P as PageData, e as SEARCH_SUGGESTIONS_CACHE_OPTIONS, g as getCartPricingQueryOptions, f as getCategoryItemsInfiniteKey, h as getInvMastDocKey, i as getInvMastDocOptions, j as getInvMastKey, k as getInvMastOptions, l as getInvMastStockKey, m as getInvMastStockOptions, n as getItemAttributesKey, o as getItemAttributesOptions, p as getItemCategoryKey, q as getItemCategoryOptions, r as getItemDetailsKey, s as getItemDetailsOptions, t as getItemPriceKey, u as getItemPriceOptions, v as getItemSearchInfiniteKey, w as getProductCategoryKey, x as getProductCategoryOptions, y as getProductSearchKey, z as getProductSearchOptions, B as getSearchSuggestionsKey, D as getSearchSuggestionsOptions } from './server-ZsiDw2HO.cjs';
2
+ import '@simpleapps-com/augur-utils';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
@@ -0,0 +1,4 @@
1
+ export { A as AugurApiClient, C as CATEGORY_CACHE_OPTIONS, I as INV_MAST_CACHE_OPTIONS, c as INV_MAST_DOC_CACHE_OPTIONS, d as PRICE_CACHE_OPTIONS, P as PageData, e as SEARCH_SUGGESTIONS_CACHE_OPTIONS, g as getCartPricingQueryOptions, f as getCategoryItemsInfiniteKey, h as getInvMastDocKey, i as getInvMastDocOptions, j as getInvMastKey, k as getInvMastOptions, l as getInvMastStockKey, m as getInvMastStockOptions, n as getItemAttributesKey, o as getItemAttributesOptions, p as getItemCategoryKey, q as getItemCategoryOptions, r as getItemDetailsKey, s as getItemDetailsOptions, t as getItemPriceKey, u as getItemPriceOptions, v as getItemSearchInfiniteKey, w as getProductCategoryKey, x as getProductCategoryOptions, y as getProductSearchKey, z as getProductSearchOptions, B as getSearchSuggestionsKey, D as getSearchSuggestionsOptions } from './server-ZsiDw2HO.js';
2
+ import '@simpleapps-com/augur-utils';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
package/dist/server.js ADDED
@@ -0,0 +1,61 @@
1
+ import {
2
+ CATEGORY_CACHE_OPTIONS,
3
+ INV_MAST_CACHE_OPTIONS,
4
+ INV_MAST_DOC_CACHE_OPTIONS,
5
+ PRICE_CACHE_OPTIONS,
6
+ SEARCH_SUGGESTIONS_CACHE_OPTIONS,
7
+ getCartPricingQueryOptions,
8
+ getCategoryItemsInfiniteKey,
9
+ getInvMastDocKey,
10
+ getInvMastDocOptions,
11
+ getInvMastKey,
12
+ getInvMastOptions,
13
+ getInvMastStockKey,
14
+ getInvMastStockOptions,
15
+ getItemAttributesKey,
16
+ getItemAttributesOptions,
17
+ getItemCategoryKey,
18
+ getItemCategoryOptions,
19
+ getItemDetailsKey,
20
+ getItemDetailsOptions,
21
+ getItemPriceKey,
22
+ getItemPriceOptions,
23
+ getItemSearchInfiniteKey,
24
+ getProductCategoryKey,
25
+ getProductCategoryOptions,
26
+ getProductSearchKey,
27
+ getProductSearchOptions,
28
+ getSearchSuggestionsKey,
29
+ getSearchSuggestionsOptions
30
+ } from "./chunk-V3RMLU3V.js";
31
+ export {
32
+ CATEGORY_CACHE_OPTIONS,
33
+ INV_MAST_CACHE_OPTIONS,
34
+ INV_MAST_DOC_CACHE_OPTIONS,
35
+ PRICE_CACHE_OPTIONS,
36
+ SEARCH_SUGGESTIONS_CACHE_OPTIONS,
37
+ getCartPricingQueryOptions,
38
+ getCategoryItemsInfiniteKey,
39
+ getInvMastDocKey,
40
+ getInvMastDocOptions,
41
+ getInvMastKey,
42
+ getInvMastOptions,
43
+ getInvMastStockKey,
44
+ getInvMastStockOptions,
45
+ getItemAttributesKey,
46
+ getItemAttributesOptions,
47
+ getItemCategoryKey,
48
+ getItemCategoryOptions,
49
+ getItemDetailsKey,
50
+ getItemDetailsOptions,
51
+ getItemPriceKey,
52
+ getItemPriceOptions,
53
+ getItemSearchInfiniteKey,
54
+ getProductCategoryKey,
55
+ getProductCategoryOptions,
56
+ getProductSearchKey,
57
+ getProductSearchOptions,
58
+ getSearchSuggestionsKey,
59
+ getSearchSuggestionsOptions
60
+ };
61
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleapps-com/augur-hooks",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Cross-platform React Query hooks and Zustand stores for Augur ecommerce sites",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -15,6 +15,11 @@
15
15
  "import": "./dist/index.js",
16
16
  "require": "./dist/index.cjs"
17
17
  },
18
+ "./server": {
19
+ "types": "./dist/server.d.ts",
20
+ "import": "./dist/server.js",
21
+ "require": "./dist/server.cjs"
22
+ },
18
23
  "./web": {
19
24
  "types": "./dist/web.d.ts",
20
25
  "import": "./dist/web.js",
@@ -26,10 +31,10 @@
26
31
  "dist"
27
32
  ],
28
33
  "dependencies": {
29
- "@simpleapps-com/augur-utils": "0.1.3"
34
+ "@simpleapps-com/augur-utils": "0.1.5"
30
35
  },
31
36
  "peerDependencies": {
32
- "@simpleapps-com/augur-api": "^0.9.0",
37
+ "@simpleapps-com/augur-api": "^0.9.6",
33
38
  "@tanstack/react-query": "^5.80.0",
34
39
  "@tanstack/react-query-persist-client": "^5.80.0",
35
40
  "react": "^19.0.0",
@@ -38,7 +43,6 @@
38
43
  "devDependencies": {
39
44
  "@tanstack/react-query": "^5.80.0",
40
45
  "@testing-library/react": "^16.3.2",
41
- "@testing-library/react-hooks": "^8.0.1",
42
46
  "@types/node": "^22.0.0",
43
47
  "@types/react": "^19.0.0",
44
48
  "@types/react-dom": "^19.0.0",