@suspensive/react-query-4 3.19.3 → 3.19.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 (113) hide show
  1. package/dist/IsFetching.cjs +1 -1
  2. package/dist/IsFetching.cjs.map +1 -1
  3. package/dist/IsFetching.d.cts.map +1 -1
  4. package/dist/IsFetching.d.mts.map +1 -1
  5. package/dist/IsFetching.mjs +1 -1
  6. package/dist/IsFetching.mjs.map +1 -1
  7. package/dist/Mutation.cjs +1 -1
  8. package/dist/Mutation.cjs.map +1 -1
  9. package/dist/Mutation.d.cts.map +1 -1
  10. package/dist/Mutation.d.mts.map +1 -1
  11. package/dist/Mutation.mjs +1 -1
  12. package/dist/Mutation.mjs.map +1 -1
  13. package/dist/PrefetchInfiniteQuery.cjs.map +1 -1
  14. package/dist/PrefetchInfiniteQuery.d.cts.map +1 -1
  15. package/dist/PrefetchInfiniteQuery.d.mts.map +1 -1
  16. package/dist/PrefetchInfiniteQuery.mjs.map +1 -1
  17. package/dist/PrefetchQuery.cjs.map +1 -1
  18. package/dist/PrefetchQuery.d.cts.map +1 -1
  19. package/dist/PrefetchQuery.d.mts.map +1 -1
  20. package/dist/PrefetchQuery.mjs.map +1 -1
  21. package/dist/QueriesHydration.cjs +116 -2
  22. package/dist/QueriesHydration.cjs.map +1 -0
  23. package/dist/QueriesHydration.mjs +116 -2
  24. package/dist/QueriesHydration.mjs.map +1 -0
  25. package/dist/QueryClientConsumer.cjs.map +1 -1
  26. package/dist/QueryClientConsumer.d.cts.map +1 -1
  27. package/dist/QueryClientConsumer.d.mts.map +1 -1
  28. package/dist/QueryClientConsumer.mjs.map +1 -1
  29. package/dist/SuspenseInfiniteQuery.cjs +1 -1
  30. package/dist/SuspenseInfiniteQuery.cjs.map +1 -1
  31. package/dist/SuspenseInfiniteQuery.d.cts.map +1 -1
  32. package/dist/SuspenseInfiniteQuery.d.mts.map +1 -1
  33. package/dist/SuspenseInfiniteQuery.mjs +1 -1
  34. package/dist/SuspenseInfiniteQuery.mjs.map +1 -1
  35. package/dist/SuspenseQueries.cjs.map +1 -1
  36. package/dist/SuspenseQueries.d.cts.map +1 -1
  37. package/dist/SuspenseQueries.d.mts.map +1 -1
  38. package/dist/SuspenseQueries.mjs.map +1 -1
  39. package/dist/SuspenseQuery.cjs +1 -1
  40. package/dist/SuspenseQuery.cjs.map +1 -1
  41. package/dist/SuspenseQuery.d.cts.map +1 -1
  42. package/dist/SuspenseQuery.d.mts.map +1 -1
  43. package/dist/SuspenseQuery.mjs +1 -1
  44. package/dist/SuspenseQuery.mjs.map +1 -1
  45. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/asyncToGenerator.cjs +29 -0
  46. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/asyncToGenerator.mjs +28 -0
  47. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/defineProperty.cjs +14 -0
  48. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/defineProperty.mjs +14 -0
  49. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.cjs +27 -0
  50. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.mjs +27 -0
  51. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.cjs +15 -0
  52. package/dist/{objectWithoutProperties-CZk5Qmfh.mjs → _virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.mjs} +2 -12
  53. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutPropertiesLoose.cjs +14 -0
  54. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutPropertiesLoose.mjs +13 -0
  55. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPrimitive.cjs +16 -0
  56. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPrimitive.mjs +16 -0
  57. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPropertyKey.cjs +11 -0
  58. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPropertyKey.mjs +11 -0
  59. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/typeof.cjs +18 -0
  60. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/typeof.mjs +12 -0
  61. package/dist/components/ClientOnly.cjs +0 -1
  62. package/dist/components/ClientOnly.cjs.map +1 -1
  63. package/dist/components/ClientOnly.mjs.map +1 -1
  64. package/dist/createGetQueryClient.cjs +1 -1
  65. package/dist/createGetQueryClient.mjs +1 -1
  66. package/dist/index.cjs +1 -1
  67. package/dist/index.mjs +1 -1
  68. package/dist/usePrefetchInfiniteQuery.cjs.map +1 -1
  69. package/dist/usePrefetchInfiniteQuery.d.cts.map +1 -1
  70. package/dist/usePrefetchInfiniteQuery.d.mts.map +1 -1
  71. package/dist/usePrefetchInfiniteQuery.mjs.map +1 -1
  72. package/dist/usePrefetchQuery.cjs.map +1 -1
  73. package/dist/usePrefetchQuery.d.cts.map +1 -1
  74. package/dist/usePrefetchQuery.d.mts.map +1 -1
  75. package/dist/usePrefetchQuery.mjs.map +1 -1
  76. package/dist/useSuspenseInfiniteQuery.cjs.map +1 -1
  77. package/dist/useSuspenseInfiniteQuery.d.cts.map +1 -1
  78. package/dist/useSuspenseInfiniteQuery.d.mts.map +1 -1
  79. package/dist/useSuspenseInfiniteQuery.mjs.map +1 -1
  80. package/dist/useSuspenseQueries.cjs.map +1 -1
  81. package/dist/useSuspenseQueries.d.cts.map +1 -1
  82. package/dist/useSuspenseQueries.d.mts.map +1 -1
  83. package/dist/useSuspenseQueries.mjs.map +1 -1
  84. package/dist/useSuspenseQuery.cjs.map +1 -1
  85. package/dist/useSuspenseQuery.d.cts.map +1 -1
  86. package/dist/useSuspenseQuery.d.mts.map +1 -1
  87. package/dist/useSuspenseQuery.mjs.map +1 -1
  88. package/package.json +1 -1
  89. package/src/IsFetching.tsx +0 -1
  90. package/src/Mutation.tsx +0 -1
  91. package/src/PrefetchInfiniteQuery.tsx +0 -1
  92. package/src/PrefetchQuery.tsx +0 -1
  93. package/src/QueryClientConsumer.tsx +0 -1
  94. package/src/SuspenseInfiniteQuery.tsx +0 -1
  95. package/src/SuspenseQueries.tsx +0 -1
  96. package/src/SuspenseQuery.tsx +0 -1
  97. package/src/components/ClientOnly.tsx +0 -1
  98. package/src/usePrefetchInfiniteQuery.ts +0 -1
  99. package/src/usePrefetchQuery.ts +0 -1
  100. package/src/useSuspenseInfiniteQuery.ts +0 -1
  101. package/src/useSuspenseQueries.ts +0 -1
  102. package/src/useSuspenseQuery.ts +0 -1
  103. package/dist/QueriesHydration-B9tinfWA.cjs +0 -148
  104. package/dist/QueriesHydration-B9tinfWA.cjs.map +0 -1
  105. package/dist/QueriesHydration-MZQ7Oj60.mjs +0 -143
  106. package/dist/QueriesHydration-MZQ7Oj60.mjs.map +0 -1
  107. package/dist/components/ClientOnly.d.cts +0 -13
  108. package/dist/components/ClientOnly.d.cts.map +0 -1
  109. package/dist/components/ClientOnly.d.mts +0 -13
  110. package/dist/components/ClientOnly.d.mts.map +0 -1
  111. package/dist/objectSpread2-9HkiXZY2.cjs +0 -73
  112. package/dist/objectSpread2-BX3M3dlG.mjs +0 -67
  113. package/dist/objectWithoutProperties-CfjOeCpP.cjs +0 -31
@@ -0,0 +1,29 @@
1
+
2
+ //#region \0@oxc-project+runtime@0.115.0/helpers/asyncToGenerator.js
3
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
4
+ try {
5
+ var i = n[a](c), u = i.value;
6
+ } catch (n) {
7
+ e(n);
8
+ return;
9
+ }
10
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
11
+ }
12
+ function _asyncToGenerator(n) {
13
+ return function() {
14
+ var t = this, e = arguments;
15
+ return new Promise(function(r, o) {
16
+ var a = n.apply(t, e);
17
+ function _next(n) {
18
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
19
+ }
20
+ function _throw(n) {
21
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
22
+ }
23
+ _next(void 0);
24
+ });
25
+ };
26
+ }
27
+
28
+ //#endregion
29
+ exports._asyncToGenerator = _asyncToGenerator;
@@ -0,0 +1,28 @@
1
+ //#region \0@oxc-project+runtime@0.115.0/helpers/asyncToGenerator.js
2
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
3
+ try {
4
+ var i = n[a](c), u = i.value;
5
+ } catch (n) {
6
+ e(n);
7
+ return;
8
+ }
9
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
10
+ }
11
+ function _asyncToGenerator(n) {
12
+ return function() {
13
+ var t = this, e = arguments;
14
+ return new Promise(function(r, o) {
15
+ var a = n.apply(t, e);
16
+ function _next(n) {
17
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
18
+ }
19
+ function _throw(n) {
20
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
21
+ }
22
+ _next(void 0);
23
+ });
24
+ };
25
+ }
26
+
27
+ //#endregion
28
+ export { _asyncToGenerator };
@@ -0,0 +1,14 @@
1
+ const require_toPropertyKey = require('./toPropertyKey.cjs');
2
+
3
+ //#region \0@oxc-project+runtime@0.115.0/helpers/defineProperty.js
4
+ function _defineProperty(e, r, t) {
5
+ return (r = require_toPropertyKey.toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
6
+ value: t,
7
+ enumerable: !0,
8
+ configurable: !0,
9
+ writable: !0
10
+ }) : e[r] = t, e;
11
+ }
12
+
13
+ //#endregion
14
+ exports._defineProperty = _defineProperty;
@@ -0,0 +1,14 @@
1
+ import { toPropertyKey } from "./toPropertyKey.mjs";
2
+
3
+ //#region \0@oxc-project+runtime@0.115.0/helpers/defineProperty.js
4
+ function _defineProperty(e, r, t) {
5
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
6
+ value: t,
7
+ enumerable: !0,
8
+ configurable: !0,
9
+ writable: !0
10
+ }) : e[r] = t, e;
11
+ }
12
+
13
+ //#endregion
14
+ export { _defineProperty };
@@ -0,0 +1,27 @@
1
+ const require_defineProperty = require('./defineProperty.cjs');
2
+
3
+ //#region \0@oxc-project+runtime@0.115.0/helpers/objectSpread2.js
4
+ function ownKeys(e, r) {
5
+ var t = Object.keys(e);
6
+ if (Object.getOwnPropertySymbols) {
7
+ var o = Object.getOwnPropertySymbols(e);
8
+ r && (o = o.filter(function(r) {
9
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
10
+ })), t.push.apply(t, o);
11
+ }
12
+ return t;
13
+ }
14
+ function _objectSpread2(e) {
15
+ for (var r = 1; r < arguments.length; r++) {
16
+ var t = null != arguments[r] ? arguments[r] : {};
17
+ r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
18
+ require_defineProperty._defineProperty(e, r, t[r]);
19
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
20
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
21
+ });
22
+ }
23
+ return e;
24
+ }
25
+
26
+ //#endregion
27
+ exports._objectSpread2 = _objectSpread2;
@@ -0,0 +1,27 @@
1
+ import { _defineProperty } from "./defineProperty.mjs";
2
+
3
+ //#region \0@oxc-project+runtime@0.115.0/helpers/objectSpread2.js
4
+ function ownKeys(e, r) {
5
+ var t = Object.keys(e);
6
+ if (Object.getOwnPropertySymbols) {
7
+ var o = Object.getOwnPropertySymbols(e);
8
+ r && (o = o.filter(function(r) {
9
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
10
+ })), t.push.apply(t, o);
11
+ }
12
+ return t;
13
+ }
14
+ function _objectSpread2(e) {
15
+ for (var r = 1; r < arguments.length; r++) {
16
+ var t = null != arguments[r] ? arguments[r] : {};
17
+ r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
18
+ _defineProperty(e, r, t[r]);
19
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
20
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
21
+ });
22
+ }
23
+ return e;
24
+ }
25
+
26
+ //#endregion
27
+ export { _objectSpread2 };
@@ -0,0 +1,15 @@
1
+ const require_objectWithoutPropertiesLoose = require('./objectWithoutPropertiesLoose.cjs');
2
+
3
+ //#region \0@oxc-project+runtime@0.115.0/helpers/objectWithoutProperties.js
4
+ function _objectWithoutProperties(e, t) {
5
+ if (null == e) return {};
6
+ var o, r, i = require_objectWithoutPropertiesLoose._objectWithoutPropertiesLoose(e, t);
7
+ if (Object.getOwnPropertySymbols) {
8
+ var s = Object.getOwnPropertySymbols(e);
9
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
10
+ }
11
+ return i;
12
+ }
13
+
14
+ //#endregion
15
+ exports._objectWithoutProperties = _objectWithoutProperties;
@@ -1,15 +1,5 @@
1
- //#region \0@oxc-project+runtime@0.115.0/helpers/objectWithoutPropertiesLoose.js
2
- function _objectWithoutPropertiesLoose(r, e) {
3
- if (null == r) return {};
4
- var t = {};
5
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
6
- if (e.includes(n)) continue;
7
- t[n] = r[n];
8
- }
9
- return t;
10
- }
1
+ import { _objectWithoutPropertiesLoose } from "./objectWithoutPropertiesLoose.mjs";
11
2
 
12
- //#endregion
13
3
  //#region \0@oxc-project+runtime@0.115.0/helpers/objectWithoutProperties.js
14
4
  function _objectWithoutProperties(e, t) {
15
5
  if (null == e) return {};
@@ -22,4 +12,4 @@ function _objectWithoutProperties(e, t) {
22
12
  }
23
13
 
24
14
  //#endregion
25
- export { _objectWithoutProperties as t };
15
+ export { _objectWithoutProperties };
@@ -0,0 +1,14 @@
1
+
2
+ //#region \0@oxc-project+runtime@0.115.0/helpers/objectWithoutPropertiesLoose.js
3
+ function _objectWithoutPropertiesLoose(r, e) {
4
+ if (null == r) return {};
5
+ var t = {};
6
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
7
+ if (e.includes(n)) continue;
8
+ t[n] = r[n];
9
+ }
10
+ return t;
11
+ }
12
+
13
+ //#endregion
14
+ exports._objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
@@ -0,0 +1,13 @@
1
+ //#region \0@oxc-project+runtime@0.115.0/helpers/objectWithoutPropertiesLoose.js
2
+ function _objectWithoutPropertiesLoose(r, e) {
3
+ if (null == r) return {};
4
+ var t = {};
5
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
6
+ if (e.includes(n)) continue;
7
+ t[n] = r[n];
8
+ }
9
+ return t;
10
+ }
11
+
12
+ //#endregion
13
+ export { _objectWithoutPropertiesLoose };
@@ -0,0 +1,16 @@
1
+ const require_typeof = require('./typeof.cjs');
2
+
3
+ //#region \0@oxc-project+runtime@0.115.0/helpers/toPrimitive.js
4
+ function toPrimitive(t, r) {
5
+ if ("object" != require_typeof._typeof(t) || !t) return t;
6
+ var e = t[Symbol.toPrimitive];
7
+ if (void 0 !== e) {
8
+ var i = e.call(t, r || "default");
9
+ if ("object" != require_typeof._typeof(i)) return i;
10
+ throw new TypeError("@@toPrimitive must return a primitive value.");
11
+ }
12
+ return ("string" === r ? String : Number)(t);
13
+ }
14
+
15
+ //#endregion
16
+ exports.toPrimitive = toPrimitive;
@@ -0,0 +1,16 @@
1
+ import { _typeof } from "./typeof.mjs";
2
+
3
+ //#region \0@oxc-project+runtime@0.115.0/helpers/toPrimitive.js
4
+ function toPrimitive(t, r) {
5
+ if ("object" != _typeof(t) || !t) return t;
6
+ var e = t[Symbol.toPrimitive];
7
+ if (void 0 !== e) {
8
+ var i = e.call(t, r || "default");
9
+ if ("object" != _typeof(i)) return i;
10
+ throw new TypeError("@@toPrimitive must return a primitive value.");
11
+ }
12
+ return ("string" === r ? String : Number)(t);
13
+ }
14
+
15
+ //#endregion
16
+ export { toPrimitive };
@@ -0,0 +1,11 @@
1
+ const require_typeof = require('./typeof.cjs');
2
+ const require_toPrimitive = require('./toPrimitive.cjs');
3
+
4
+ //#region \0@oxc-project+runtime@0.115.0/helpers/toPropertyKey.js
5
+ function toPropertyKey(t) {
6
+ var i = require_toPrimitive.toPrimitive(t, "string");
7
+ return "symbol" == require_typeof._typeof(i) ? i : i + "";
8
+ }
9
+
10
+ //#endregion
11
+ exports.toPropertyKey = toPropertyKey;
@@ -0,0 +1,11 @@
1
+ import { _typeof } from "./typeof.mjs";
2
+ import { toPrimitive } from "./toPrimitive.mjs";
3
+
4
+ //#region \0@oxc-project+runtime@0.115.0/helpers/toPropertyKey.js
5
+ function toPropertyKey(t) {
6
+ var i = toPrimitive(t, "string");
7
+ return "symbol" == _typeof(i) ? i : i + "";
8
+ }
9
+
10
+ //#endregion
11
+ export { toPropertyKey };
@@ -0,0 +1,18 @@
1
+
2
+ //#region \0@oxc-project+runtime@0.115.0/helpers/typeof.js
3
+ function _typeof(o) {
4
+ "@babel/helpers - typeof";
5
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
6
+ return typeof o;
7
+ } : function(o) {
8
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
9
+ }, _typeof(o);
10
+ }
11
+
12
+ //#endregion
13
+ Object.defineProperty(exports, '_typeof', {
14
+ enumerable: true,
15
+ get: function () {
16
+ return _typeof;
17
+ }
18
+ });
@@ -0,0 +1,12 @@
1
+ //#region \0@oxc-project+runtime@0.115.0/helpers/typeof.js
2
+ function _typeof(o) {
3
+ "@babel/helpers - typeof";
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
5
+ return typeof o;
6
+ } : function(o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
10
+
11
+ //#endregion
12
+ export { _typeof };
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
3
  let react_jsx_runtime = require("react/jsx-runtime");
5
4
  let react = require("react");
6
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"ClientOnly.cjs","names":[],"sources":["../../src/components/ClientOnly.tsx"],"sourcesContent":["'use client'\n\nimport { useSyncExternalStore } from 'react'\n\nconst useIsClient = () => useSyncExternalStore(emptySubscribe, getSnapshot, getServerSnapshot)\n\nconst emptySubscribe = () => () => {}\nconst getSnapshot = () => true\nconst getServerSnapshot = () => false\n\nexport const ClientOnly = ({ children, fallback }: { children: React.ReactNode; fallback: React.ReactNode }) => (\n <>{useIsClient() ? children : fallback}</>\n)\n"],"mappings":";;;;;;;AAIA,MAAM,oDAAyC,gBAAgB,aAAa,kBAAkB;AAE9F,MAAM,6BAA6B;AACnC,MAAM,oBAAoB;AAC1B,MAAM,0BAA0B;AAEhC,MAAa,cAAc,EAAE,UAAU,eACrC,mFAAG,aAAa,GAAG,WAAW,UAAY"}
1
+ {"version":3,"file":"ClientOnly.cjs","names":[],"sources":["../../src/components/ClientOnly.tsx"],"sourcesContent":["'use client'\nimport { useSyncExternalStore } from 'react'\n\nconst useIsClient = () => useSyncExternalStore(emptySubscribe, getSnapshot, getServerSnapshot)\n\nconst emptySubscribe = () => () => {}\nconst getSnapshot = () => true\nconst getServerSnapshot = () => false\n\nexport const ClientOnly = ({ children, fallback }: { children: React.ReactNode; fallback: React.ReactNode }) => (\n <>{useIsClient() ? children : fallback}</>\n)\n"],"mappings":";;;;;;AAGA,MAAM,oDAAyC,gBAAgB,aAAa,kBAAkB;AAE9F,MAAM,6BAA6B;AACnC,MAAM,oBAAoB;AAC1B,MAAM,0BAA0B;AAEhC,MAAa,cAAc,EAAE,UAAU,eACrC,mFAAG,aAAa,GAAG,WAAW,UAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClientOnly.mjs","names":[],"sources":["../../src/components/ClientOnly.tsx"],"sourcesContent":["'use client'\n\nimport { useSyncExternalStore } from 'react'\n\nconst useIsClient = () => useSyncExternalStore(emptySubscribe, getSnapshot, getServerSnapshot)\n\nconst emptySubscribe = () => () => {}\nconst getSnapshot = () => true\nconst getServerSnapshot = () => false\n\nexport const ClientOnly = ({ children, fallback }: { children: React.ReactNode; fallback: React.ReactNode }) => (\n <>{useIsClient() ? children : fallback}</>\n)\n"],"mappings":";;;;;;AAIA,MAAM,oBAAoB,qBAAqB,gBAAgB,aAAa,kBAAkB;AAE9F,MAAM,6BAA6B;AACnC,MAAM,oBAAoB;AAC1B,MAAM,0BAA0B;AAEhC,MAAa,cAAc,EAAE,UAAU,eACrC,0CAAG,aAAa,GAAG,WAAW,UAAY"}
1
+ {"version":3,"file":"ClientOnly.mjs","names":[],"sources":["../../src/components/ClientOnly.tsx"],"sourcesContent":["'use client'\nimport { useSyncExternalStore } from 'react'\n\nconst useIsClient = () => useSyncExternalStore(emptySubscribe, getSnapshot, getServerSnapshot)\n\nconst emptySubscribe = () => () => {}\nconst getSnapshot = () => true\nconst getServerSnapshot = () => false\n\nexport const ClientOnly = ({ children, fallback }: { children: React.ReactNode; fallback: React.ReactNode }) => (\n <>{useIsClient() ? children : fallback}</>\n)\n"],"mappings":";;;;;;AAGA,MAAM,oBAAoB,qBAAqB,gBAAgB,aAAa,kBAAkB;AAE9F,MAAM,6BAA6B;AACnC,MAAM,oBAAoB;AAC1B,MAAM,0BAA0B;AAEhC,MAAa,cAAc,EAAE,UAAU,eACrC,0CAAG,aAAa,GAAG,WAAW,UAAY"}
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_objectSpread2 = require('./objectSpread2-9HkiXZY2.cjs');
2
+ const require_objectSpread2 = require('./_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.cjs');
3
3
  let _tanstack_react_query = require("@tanstack/react-query");
4
4
 
5
5
  //#region src/createGetQueryClient.ts
@@ -1,4 +1,4 @@
1
- import { t as _objectSpread2 } from "./objectSpread2-BX3M3dlG.mjs";
1
+ import { _objectSpread2 } from "./_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.mjs";
2
2
  import { QueryClient, isServer } from "@tanstack/react-query";
3
3
 
4
4
  //#region src/createGetQueryClient.ts
package/dist/index.cjs CHANGED
@@ -5,7 +5,7 @@ const require_usePrefetchInfiniteQuery = require('./usePrefetchInfiniteQuery.cjs
5
5
  const require_PrefetchInfiniteQuery = require('./PrefetchInfiniteQuery.cjs');
6
6
  const require_usePrefetchQuery = require('./usePrefetchQuery.cjs');
7
7
  const require_PrefetchQuery = require('./PrefetchQuery.cjs');
8
- const require_QueriesHydration = require('./QueriesHydration-B9tinfWA.cjs');
8
+ const require_QueriesHydration = require('./QueriesHydration.cjs');
9
9
  const require_QueryClientConsumer = require('./QueryClientConsumer.cjs');
10
10
  const require_SuspenseInfiniteQuery = require('./SuspenseInfiniteQuery.cjs');
11
11
  const require_SuspenseQueries = require('./SuspenseQueries.cjs');
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { usePrefetchInfiniteQuery } from "./usePrefetchInfiniteQuery.mjs";
4
4
  import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery.mjs";
5
5
  import { usePrefetchQuery } from "./usePrefetchQuery.mjs";
6
6
  import { PrefetchQuery } from "./PrefetchQuery.mjs";
7
- import { t as QueriesHydration } from "./QueriesHydration-MZQ7Oj60.mjs";
7
+ import { QueriesHydration } from "./QueriesHydration.mjs";
8
8
  import { QueryClientConsumer } from "./QueryClientConsumer.mjs";
9
9
  import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery.mjs";
10
10
  import { SuspenseQueries } from "./SuspenseQueries.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchInfiniteQuery.cjs","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchInfiniteQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}\n */\nexport function usePrefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchInfiniteQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;;AAQA,SAAgB,yBAKd,SAA4E;CAC5E,MAAM,yDAA8B;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,sBAAsB,QAAQ"}
1
+ {"version":3,"file":"usePrefetchInfiniteQuery.cjs","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":["'use client'\nimport { type FetchInfiniteQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}\n */\nexport function usePrefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchInfiniteQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;;AAOA,SAAgB,yBAKd,SAA4E;CAC5E,MAAM,yDAA8B;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,sBAAsB,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchInfiniteQuery.d.cts","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"mappings":";;;;;AAQA;;iBAAgB,wBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,yBAAA,CAA0B,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
1
+ {"version":3,"file":"usePrefetchInfiniteQuery.d.cts","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"mappings":";;;;;AAOA;;iBAAgB,wBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,yBAAA,CAA0B,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchInfiniteQuery.d.mts","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"mappings":";;;;;AAQA;;iBAAgB,wBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,yBAAA,CAA0B,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
1
+ {"version":3,"file":"usePrefetchInfiniteQuery.d.mts","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"mappings":";;;;;AAOA;;iBAAgB,wBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,yBAAA,CAA0B,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchInfiniteQuery.mjs","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchInfiniteQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}\n */\nexport function usePrefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchInfiniteQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;AAQA,SAAgB,yBAKd,SAA4E;CAC5E,MAAM,cAAc,gBAAgB;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,sBAAsB,QAAQ"}
1
+ {"version":3,"file":"usePrefetchInfiniteQuery.mjs","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":["'use client'\nimport { type FetchInfiniteQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}\n */\nexport function usePrefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchInfiniteQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;AAOA,SAAgB,yBAKd,SAA4E;CAC5E,MAAM,cAAc,gBAAgB;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,sBAAsB,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchQuery.cjs","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}\n */\nexport function usePrefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;;AAQA,SAAgB,iBAKd,SAAoE;CACpE,MAAM,yDAA8B;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,cAAc,QAAQ"}
1
+ {"version":3,"file":"usePrefetchQuery.cjs","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":["'use client'\nimport { type FetchQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}\n */\nexport function usePrefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;;AAOA,SAAgB,iBAKd,SAAoE;CACpE,MAAM,yDAA8B;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,cAAc,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchQuery.d.cts","names":[],"sources":["../src/usePrefetchQuery.ts"],"mappings":";;;;;AAQA;;iBAAgB,gBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,iBAAA,CAAkB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
1
+ {"version":3,"file":"usePrefetchQuery.d.cts","names":[],"sources":["../src/usePrefetchQuery.ts"],"mappings":";;;;;AAOA;;iBAAgB,gBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,iBAAA,CAAkB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchQuery.d.mts","names":[],"sources":["../src/usePrefetchQuery.ts"],"mappings":";;;;;AAQA;;iBAAgB,gBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,iBAAA,CAAkB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
1
+ {"version":3,"file":"usePrefetchQuery.d.mts","names":[],"sources":["../src/usePrefetchQuery.ts"],"mappings":";;;;;AAOA;;iBAAgB,gBAAA,mDAGN,YAAA,oBACU,QAAA,GAAW,QAAA,CAAA,CAC7B,OAAA,EAAS,iBAAA,CAAkB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrefetchQuery.mjs","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}\n */\nexport function usePrefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;AAQA,SAAgB,iBAKd,SAAoE;CACpE,MAAM,cAAc,gBAAgB;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,cAAc,QAAQ"}
1
+ {"version":3,"file":"usePrefetchQuery.mjs","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":["'use client'\nimport { type FetchQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}\n */\nexport function usePrefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchQuery(options)\n }\n}\n"],"mappings":";;;;;;;;;AAOA,SAAgB,iBAKd,SAAoE;CACpE,MAAM,cAAc,gBAAgB;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,cAAc,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseInfiniteQuery.cjs","names":["original_useSuspenseInfiniteQuery"],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport {\n type OmitKeyof,\n type QueryKey,\n type UseInfiniteQueryOptions,\n type WithRequired,\n useSuspenseInfiniteQuery as original_useSuspenseInfiniteQuery,\n} from '@tanstack/react-query'\n\nexport type { UseSuspenseInfiniteQueryResult } from '@tanstack/react-query'\n\nexport type UseSuspenseInfiniteQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>,\n 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'\n >,\n 'queryKey'\n>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.41.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseInfiniteQuery` from \\@tanstack/react-query@^4.41.0\n * @example\n * ```diff\n * - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'\n * + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseInfiniteQuery = original_useSuspenseInfiniteQuery\n"],"mappings":";;;;;;;;;;;;;;;AAkCA,MAAa,2BAA2BA"}
1
+ {"version":3,"file":"useSuspenseInfiniteQuery.cjs","names":["original_useSuspenseInfiniteQuery"],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":["'use client'\nimport {\n type OmitKeyof,\n type QueryKey,\n type UseInfiniteQueryOptions,\n type WithRequired,\n useSuspenseInfiniteQuery as original_useSuspenseInfiniteQuery,\n} from '@tanstack/react-query'\n\nexport type { UseSuspenseInfiniteQueryResult } from '@tanstack/react-query'\n\nexport type UseSuspenseInfiniteQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>,\n 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'\n >,\n 'queryKey'\n>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.41.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseInfiniteQuery` from \\@tanstack/react-query@^4.41.0\n * @example\n * ```diff\n * - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'\n * + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseInfiniteQuery = original_useSuspenseInfiniteQuery\n"],"mappings":";;;;;;;;;;;;;;;AAiCA,MAAa,2BAA2BA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseInfiniteQuery.d.cts","names":[],"sources":["../src/useSuspenseInfiniteQuery.ts"],"mappings":";;;KAYY,+BAAA,mDAGF,YAAA,oBACU,QAAA,GAAW,QAAA,IAC3B,YAAA,CACF,SAAA,CACE,uBAAA,CAAwB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,YAAA,EAAc,SAAA;AAPvE;;;;;;;;;AAAA,cAsBa,wBAAA,SAAwB,0BAAA"}
1
+ {"version":3,"file":"useSuspenseInfiniteQuery.d.cts","names":[],"sources":["../src/useSuspenseInfiniteQuery.ts"],"mappings":";;;KAWY,+BAAA,mDAGF,YAAA,oBACU,QAAA,GAAW,QAAA,IAC3B,YAAA,CACF,SAAA,CACE,uBAAA,CAAwB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,YAAA,EAAc,SAAA;AAPvE;;;;;;;;;AAAA,cAsBa,wBAAA,SAAwB,0BAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseInfiniteQuery.d.mts","names":[],"sources":["../src/useSuspenseInfiniteQuery.ts"],"mappings":";;;KAYY,+BAAA,mDAGF,YAAA,oBACU,QAAA,GAAW,QAAA,IAC3B,YAAA,CACF,SAAA,CACE,uBAAA,CAAwB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,YAAA,EAAc,SAAA;AAPvE;;;;;;;;;AAAA,cAsBa,wBAAA,SAAwB,0BAAA"}
1
+ {"version":3,"file":"useSuspenseInfiniteQuery.d.mts","names":[],"sources":["../src/useSuspenseInfiniteQuery.ts"],"mappings":";;;KAWY,+BAAA,mDAGF,YAAA,oBACU,QAAA,GAAW,QAAA,IAC3B,YAAA,CACF,SAAA,CACE,uBAAA,CAAwB,YAAA,EAAc,MAAA,EAAQ,KAAA,EAAO,YAAA,EAAc,SAAA;AAPvE;;;;;;;;;AAAA,cAsBa,wBAAA,SAAwB,0BAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseInfiniteQuery.mjs","names":["original_useSuspenseInfiniteQuery"],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport {\n type OmitKeyof,\n type QueryKey,\n type UseInfiniteQueryOptions,\n type WithRequired,\n useSuspenseInfiniteQuery as original_useSuspenseInfiniteQuery,\n} from '@tanstack/react-query'\n\nexport type { UseSuspenseInfiniteQueryResult } from '@tanstack/react-query'\n\nexport type UseSuspenseInfiniteQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>,\n 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'\n >,\n 'queryKey'\n>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.41.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseInfiniteQuery` from \\@tanstack/react-query@^4.41.0\n * @example\n * ```diff\n * - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'\n * + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseInfiniteQuery = original_useSuspenseInfiniteQuery\n"],"mappings":";;;;;;;;;;;;;;AAkCA,MAAa,2BAA2BA"}
1
+ {"version":3,"file":"useSuspenseInfiniteQuery.mjs","names":["original_useSuspenseInfiniteQuery"],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":["'use client'\nimport {\n type OmitKeyof,\n type QueryKey,\n type UseInfiniteQueryOptions,\n type WithRequired,\n useSuspenseInfiniteQuery as original_useSuspenseInfiniteQuery,\n} from '@tanstack/react-query'\n\nexport type { UseSuspenseInfiniteQueryResult } from '@tanstack/react-query'\n\nexport type UseSuspenseInfiniteQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>,\n 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'\n >,\n 'queryKey'\n>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.41.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseInfiniteQuery` from \\@tanstack/react-query@^4.41.0\n * @example\n * ```diff\n * - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'\n * + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseInfiniteQuery = original_useSuspenseInfiniteQuery\n"],"mappings":";;;;;;;;;;;;;;AAiCA,MAAa,2BAA2BA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQueries.cjs","names":["original_useSuspenseQueries"],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":["'use client'\n\nimport {\n type SuspenseQueriesOptions as original_SuspenseQueriesOptions,\n type SuspenseQueriesResults as original_SuspenseQueriesResults,\n useSuspenseQueries as original_useSuspenseQueries,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesOptions } from '@suspensive/react-query'\n * + import type { SuspenseQueriesOptions } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesOptions<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesOptions<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesResults` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesResults } from '@suspensive/react-query'\n * + import type { SuspenseQueriesResults } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesResults<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesResults<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQueries` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQueries } from '@suspensive/react-query'\n * + import { useSuspenseQueries } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQueries = original_useSuspenseQueries\n"],"mappings":";;;;;;;;;;;;;;;AA+CA,MAAa,qBAAqBA"}
1
+ {"version":3,"file":"useSuspenseQueries.cjs","names":["original_useSuspenseQueries"],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":["'use client'\nimport {\n type SuspenseQueriesOptions as original_SuspenseQueriesOptions,\n type SuspenseQueriesResults as original_SuspenseQueriesResults,\n useSuspenseQueries as original_useSuspenseQueries,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesOptions } from '@suspensive/react-query'\n * + import type { SuspenseQueriesOptions } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesOptions<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesOptions<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesResults` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesResults } from '@suspensive/react-query'\n * + import type { SuspenseQueriesResults } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesResults<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesResults<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQueries` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQueries } from '@suspensive/react-query'\n * + import { useSuspenseQueries } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQueries = original_useSuspenseQueries\n"],"mappings":";;;;;;;;;;;;;;;AA8CA,MAAa,qBAAqBA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQueries.d.cts","names":[],"sources":["../src/useSuspenseQueries.ts"],"mappings":";;;;;AAiBA;;;;;;;KAAY,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;;;;KAWpC,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;AAJhD;;;cAea,kBAAA,SAAkB,oBAAA"}
1
+ {"version":3,"file":"useSuspenseQueries.d.cts","names":[],"sources":["../src/useSuspenseQueries.ts"],"mappings":";;;;;AAgBA;;;;;;;KAAY,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;;;;KAWpC,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;AAJhD;;;cAea,kBAAA,SAAkB,oBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQueries.d.mts","names":[],"sources":["../src/useSuspenseQueries.ts"],"mappings":";;;;;AAiBA;;;;;;;KAAY,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;;;;KAWpC,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;AAJhD;;;cAea,kBAAA,SAAkB,oBAAA"}
1
+ {"version":3,"file":"useSuspenseQueries.d.mts","names":[],"sources":["../src/useSuspenseQueries.ts"],"mappings":";;;;;AAgBA;;;;;;;KAAY,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;;;;KAWpC,sBAAA,WACA,KAAA,uBACM,KAAA,2BACD,aAAA,iBACb,wBAAA,CAAgC,CAAA,EAAG,OAAA,EAAS,MAAA;;;;;;;AAJhD;;;cAea,kBAAA,SAAkB,oBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQueries.mjs","names":["original_useSuspenseQueries"],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":["'use client'\n\nimport {\n type SuspenseQueriesOptions as original_SuspenseQueriesOptions,\n type SuspenseQueriesResults as original_SuspenseQueriesResults,\n useSuspenseQueries as original_useSuspenseQueries,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesOptions } from '@suspensive/react-query'\n * + import type { SuspenseQueriesOptions } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesOptions<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesOptions<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesResults` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesResults } from '@suspensive/react-query'\n * + import type { SuspenseQueriesResults } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesResults<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesResults<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQueries` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQueries } from '@suspensive/react-query'\n * + import { useSuspenseQueries } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQueries = original_useSuspenseQueries\n"],"mappings":";;;;;;;;;;;;;;AA+CA,MAAa,qBAAqBA"}
1
+ {"version":3,"file":"useSuspenseQueries.mjs","names":["original_useSuspenseQueries"],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":["'use client'\nimport {\n type SuspenseQueriesOptions as original_SuspenseQueriesOptions,\n type SuspenseQueriesResults as original_SuspenseQueriesResults,\n useSuspenseQueries as original_useSuspenseQueries,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesOptions } from '@suspensive/react-query'\n * + import type { SuspenseQueriesOptions } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesOptions<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesOptions<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesResults` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesResults } from '@suspensive/react-query'\n * + import type { SuspenseQueriesResults } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesResults<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesResults<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQueries` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQueries } from '@suspensive/react-query'\n * + import { useSuspenseQueries } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQueries = original_useSuspenseQueries\n"],"mappings":";;;;;;;;;;;;;;AA8CA,MAAa,qBAAqBA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQuery.cjs","names":["original_useSuspenseQuery"],"sources":["../src/useSuspenseQuery.ts"],"sourcesContent":["'use client'\n\nimport {\n type UseSuspenseQueryOptions as original_UseSuspenseQueryOptions,\n type UseSuspenseQueryResult as original_UseSuspenseQueryResult,\n useSuspenseQuery as original_useSuspenseQuery,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryOptions } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryOptions } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryOptions = original_UseSuspenseQueryOptions\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryResult` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryResult } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryResult } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryResult = original_UseSuspenseQueryResult\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQuery` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQuery } from '@suspensive/react-query'\n * + import { useSuspenseQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQuery = original_useSuspenseQuery\n"],"mappings":";;;;;;;;;;;;;;;AAuCA,MAAa,mBAAmBA"}
1
+ {"version":3,"file":"useSuspenseQuery.cjs","names":["original_useSuspenseQuery"],"sources":["../src/useSuspenseQuery.ts"],"sourcesContent":["'use client'\nimport {\n type UseSuspenseQueryOptions as original_UseSuspenseQueryOptions,\n type UseSuspenseQueryResult as original_UseSuspenseQueryResult,\n useSuspenseQuery as original_useSuspenseQuery,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryOptions } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryOptions } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryOptions = original_UseSuspenseQueryOptions\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryResult` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryResult } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryResult } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryResult = original_UseSuspenseQueryResult\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQuery` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQuery } from '@suspensive/react-query'\n * + import { useSuspenseQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQuery = original_useSuspenseQuery\n"],"mappings":";;;;;;;;;;;;;;;AAsCA,MAAa,mBAAmBA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQuery.d.cts","names":[],"sources":["../src/useSuspenseQuery.ts"],"mappings":";;;;;AAiBA;;;;;AAWA;;KAXY,uBAAA,GAA0B,yBAAA;;;AAsBtC;;;;;;;KAXY,sBAAA,GAAyB,wBAAA;;;;;;;;;;cAWxB,gBAAA,SAAgB,kBAAA"}
1
+ {"version":3,"file":"useSuspenseQuery.d.cts","names":[],"sources":["../src/useSuspenseQuery.ts"],"mappings":";;;;;AAgBA;;;;;AAWA;;KAXY,uBAAA,GAA0B,yBAAA;;;AAsBtC;;;;;;;KAXY,sBAAA,GAAyB,wBAAA;;;;;;;;;;cAWxB,gBAAA,SAAgB,kBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQuery.d.mts","names":[],"sources":["../src/useSuspenseQuery.ts"],"mappings":";;;;;AAiBA;;;;;AAWA;;KAXY,uBAAA,GAA0B,yBAAA;;;AAsBtC;;;;;;;KAXY,sBAAA,GAAyB,wBAAA;;;;;;;;;;cAWxB,gBAAA,SAAgB,kBAAA"}
1
+ {"version":3,"file":"useSuspenseQuery.d.mts","names":[],"sources":["../src/useSuspenseQuery.ts"],"mappings":";;;;;AAgBA;;;;;AAWA;;KAXY,uBAAA,GAA0B,yBAAA;;;AAsBtC;;;;;;;KAXY,sBAAA,GAAyB,wBAAA;;;;;;;;;;cAWxB,gBAAA,SAAgB,kBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSuspenseQuery.mjs","names":["original_useSuspenseQuery"],"sources":["../src/useSuspenseQuery.ts"],"sourcesContent":["'use client'\n\nimport {\n type UseSuspenseQueryOptions as original_UseSuspenseQueryOptions,\n type UseSuspenseQueryResult as original_UseSuspenseQueryResult,\n useSuspenseQuery as original_useSuspenseQuery,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryOptions } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryOptions } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryOptions = original_UseSuspenseQueryOptions\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryResult` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryResult } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryResult } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryResult = original_UseSuspenseQueryResult\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQuery` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQuery } from '@suspensive/react-query'\n * + import { useSuspenseQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQuery = original_useSuspenseQuery\n"],"mappings":";;;;;;;;;;;;;;AAuCA,MAAa,mBAAmBA"}
1
+ {"version":3,"file":"useSuspenseQuery.mjs","names":["original_useSuspenseQuery"],"sources":["../src/useSuspenseQuery.ts"],"sourcesContent":["'use client'\nimport {\n type UseSuspenseQueryOptions as original_UseSuspenseQueryOptions,\n type UseSuspenseQueryResult as original_UseSuspenseQueryResult,\n useSuspenseQuery as original_useSuspenseQuery,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryOptions } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryOptions } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryOptions = original_UseSuspenseQueryOptions\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryResult` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryResult } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryResult } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryResult = original_UseSuspenseQueryResult\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQuery` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQuery } from '@suspensive/react-query'\n * + import { useSuspenseQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQuery = original_useSuspenseQuery\n"],"mappings":";;;;;;;;;;;;;;AAsCA,MAAa,mBAAmBA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suspensive/react-query-4",
3
- "version": "3.19.3",
3
+ "version": "3.19.5",
4
4
  "description": "Suspensive interfaces for @tanstack/react-query@4",
5
5
  "keywords": [
6
6
  "suspensive",
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { type QueryFilters, useIsFetching } from '@tanstack/react-query'
4
3
  import type { ReactNode } from 'react'
5
4
 
package/src/Mutation.tsx CHANGED
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { type UseMutationOptions, type UseMutationResult, useMutation } from '@tanstack/react-query'
4
3
  import type { ReactNode } from 'react'
5
4
 
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { type FetchInfiniteQueryOptions, type QueryKey } from '@tanstack/react-query'
4
3
  import { usePrefetchInfiniteQuery } from './usePrefetchInfiniteQuery'
5
4
 
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { type FetchQueryOptions, type QueryKey } from '@tanstack/react-query'
4
3
  import { usePrefetchQuery } from './usePrefetchQuery'
5
4
 
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { type QueryClient, useQueryClient } from '@tanstack/react-query'
4
3
  import type { Context, ReactNode } from 'react'
5
4
 
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { type QueryKey, type UseSuspenseInfiniteQueryResult, useSuspenseInfiniteQuery } from '@tanstack/react-query'
4
3
  import type { ReactNode } from 'react'
5
4
  import { type UseSuspenseInfiniteQueryOptions } from './useSuspenseInfiniteQuery'
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { type SuspenseQueriesOptions, type SuspenseQueriesResults, useSuspenseQueries } from '@tanstack/react-query'
4
3
  import type { ReactNode } from 'react'
5
4
 
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import {
4
3
  type QueryKey,
5
4
  type UseSuspenseQueryOptions,
@@ -1,5 +1,4 @@
1
1
  'use client'
2
-
3
2
  import { useSyncExternalStore } from 'react'
4
3
 
5
4
  const useIsClient = () => useSyncExternalStore(emptySubscribe, getSnapshot, getServerSnapshot)