@suspensive/react-query-4 3.15.0 → 3.15.1

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 (253) hide show
  1. package/dist/{ClientOnly-DH55RkfW.js → ClientOnly-P5h-7PhS.mjs} +1 -1
  2. package/dist/ClientOnly-P5h-7PhS.mjs.map +1 -0
  3. package/dist/{IsFetching-NswbU7_3.d.ts → IsFetching-3KG146_K.d.mts} +1 -1
  4. package/dist/IsFetching-3KG146_K.d.mts.map +1 -0
  5. package/dist/{IsFetching-DknEssbS.js → IsFetching-DWmZ80q2.mjs} +1 -1
  6. package/dist/IsFetching-DWmZ80q2.mjs.map +1 -0
  7. package/dist/{IsFetching-l4o1s8ne.d.cts → IsFetching-DZvSjDTq.d.cts} +3 -3
  8. package/dist/IsFetching-DZvSjDTq.d.cts.map +1 -0
  9. package/dist/IsFetching.d.cts +1 -1
  10. package/dist/IsFetching.d.mts +2 -0
  11. package/dist/IsFetching.mjs +6 -0
  12. package/dist/{Mutation-Br4thm3U.cjs → Mutation-B2H-fZYn.cjs} +2 -2
  13. package/dist/{Mutation-Br4thm3U.cjs.map → Mutation-B2H-fZYn.cjs.map} +1 -1
  14. package/dist/{Mutation-BAKlTp8b.d.cts → Mutation-CR3oXQ6p.d.mts} +3 -3
  15. package/dist/{Mutation-BAKlTp8b.d.cts.map → Mutation-CR3oXQ6p.d.mts.map} +1 -1
  16. package/dist/{Mutation-ChNqI8IT.js → Mutation-CkHa5_Af.mjs} +2 -2
  17. package/dist/Mutation-CkHa5_Af.mjs.map +1 -0
  18. package/dist/{Mutation-BXxdgixl.d.ts → Mutation-DClZyxmF.d.cts} +3 -3
  19. package/dist/Mutation-DClZyxmF.d.cts.map +1 -0
  20. package/dist/Mutation.cjs +2 -2
  21. package/dist/Mutation.d.cts +1 -1
  22. package/dist/Mutation.d.mts +2 -0
  23. package/dist/Mutation.mjs +7 -0
  24. package/dist/{PrefetchInfiniteQuery-Cxb0hoUW.d.cts → PrefetchInfiniteQuery-B9hGVsbw.d.cts} +3 -3
  25. package/dist/PrefetchInfiniteQuery-B9hGVsbw.d.cts.map +1 -0
  26. package/dist/{PrefetchInfiniteQuery-DUo4NQFu.js → PrefetchInfiniteQuery-C0eOVFlg.mjs} +2 -2
  27. package/dist/PrefetchInfiniteQuery-C0eOVFlg.mjs.map +1 -0
  28. package/dist/{PrefetchInfiniteQuery-XgWIoyZf.d.ts → PrefetchInfiniteQuery-DtZ7itiY.d.mts} +3 -3
  29. package/dist/PrefetchInfiniteQuery-DtZ7itiY.d.mts.map +1 -0
  30. package/dist/PrefetchInfiniteQuery.d.cts +1 -1
  31. package/dist/{PrefetchInfiniteQuery.d.ts → PrefetchInfiniteQuery.d.mts} +1 -1
  32. package/dist/PrefetchInfiniteQuery.mjs +7 -0
  33. package/dist/{PrefetchQuery-DsA87P_Q.js → PrefetchQuery-7QYRCNcB.mjs} +2 -2
  34. package/dist/PrefetchQuery-7QYRCNcB.mjs.map +1 -0
  35. package/dist/{PrefetchQuery-DRnHJ4fT.d.cts → PrefetchQuery-DJQ3O6jL.d.cts} +1 -1
  36. package/dist/PrefetchQuery-DJQ3O6jL.d.cts.map +1 -0
  37. package/dist/{PrefetchQuery-2dr_x_It.d.ts → PrefetchQuery-PoJ8NbtL.d.mts} +3 -3
  38. package/dist/PrefetchQuery-PoJ8NbtL.d.mts.map +1 -0
  39. package/dist/PrefetchQuery.d.cts +1 -1
  40. package/dist/PrefetchQuery.d.mts +2 -0
  41. package/dist/PrefetchQuery.mjs +7 -0
  42. package/dist/{QueriesHydration-BHPezuGG.js → QueriesHydration-C8w5Rm3q.mjs} +11 -11
  43. package/dist/QueriesHydration-C8w5Rm3q.mjs.map +1 -0
  44. package/dist/{QueriesHydration-rbK3VR-8.cjs → QueriesHydration-CJDH1B_7.cjs} +9 -9
  45. package/dist/QueriesHydration-CJDH1B_7.cjs.map +1 -0
  46. package/dist/{QueriesHydration-Bx45i-ZL.d.cts → QueriesHydration-COAxA2eo.d.cts} +4 -4
  47. package/dist/QueriesHydration-COAxA2eo.d.cts.map +1 -0
  48. package/dist/{QueriesHydration-DSt2bv0i.d.ts → QueriesHydration-CdvYxMoD.d.mts} +2 -2
  49. package/dist/QueriesHydration-CdvYxMoD.d.mts.map +1 -0
  50. package/dist/QueriesHydration.cjs +2 -2
  51. package/dist/QueriesHydration.d.cts +1 -1
  52. package/dist/QueriesHydration.d.mts +2 -0
  53. package/dist/QueriesHydration.mjs +5 -0
  54. package/dist/{QueryClientConsumer-1eSHq9w7.d.ts → QueryClientConsumer-BXcUnpLu.d.mts} +3 -3
  55. package/dist/QueryClientConsumer-BXcUnpLu.d.mts.map +1 -0
  56. package/dist/{QueryClientConsumer-Bnasmv9d.d.cts → QueryClientConsumer-BrLhJAim.d.cts} +3 -3
  57. package/dist/QueryClientConsumer-BrLhJAim.d.cts.map +1 -0
  58. package/dist/{QueryClientConsumer-CXreZ3Qo.js → QueryClientConsumer-DspevCdg.mjs} +1 -1
  59. package/dist/QueryClientConsumer-DspevCdg.mjs.map +1 -0
  60. package/dist/QueryClientConsumer.d.cts +1 -1
  61. package/dist/{QueryClientConsumer.d.ts → QueryClientConsumer.d.mts} +1 -1
  62. package/dist/{QueryClientConsumer.js → QueryClientConsumer.mjs} +1 -1
  63. package/dist/{SuspenseInfiniteQuery-BFEtd-lH.d.ts → SuspenseInfiniteQuery-BDTZAWs7.d.cts} +4 -4
  64. package/dist/SuspenseInfiniteQuery-BDTZAWs7.d.cts.map +1 -0
  65. package/dist/{SuspenseInfiniteQuery-KkCb1ti2.cjs → SuspenseInfiniteQuery-BZCYAjw-.cjs} +2 -2
  66. package/dist/{SuspenseInfiniteQuery-KkCb1ti2.cjs.map → SuspenseInfiniteQuery-BZCYAjw-.cjs.map} +1 -1
  67. package/dist/{SuspenseInfiniteQuery-d5K3FWJK.js → SuspenseInfiniteQuery-CTap1GdP.mjs} +2 -2
  68. package/dist/SuspenseInfiniteQuery-CTap1GdP.mjs.map +1 -0
  69. package/dist/{SuspenseInfiniteQuery-Dosv1q6b.d.cts → SuspenseInfiniteQuery-Dm9U1IPG.d.mts} +4 -4
  70. package/dist/SuspenseInfiniteQuery-Dm9U1IPG.d.mts.map +1 -0
  71. package/dist/SuspenseInfiniteQuery.cjs +2 -2
  72. package/dist/SuspenseInfiniteQuery.d.cts +2 -2
  73. package/dist/SuspenseInfiniteQuery.d.mts +3 -0
  74. package/dist/SuspenseInfiniteQuery.mjs +7 -0
  75. package/dist/{SuspenseQueries-U51bGPhv.d.ts → SuspenseQueries-DAXTYR9M.d.mts} +1 -1
  76. package/dist/{SuspenseQueries-BtZfqbQh.d.cts.map → SuspenseQueries-DAXTYR9M.d.mts.map} +1 -1
  77. package/dist/{SuspenseQueries-BtZfqbQh.d.cts → SuspenseQueries-GYiP7qAa.d.cts} +3 -3
  78. package/dist/SuspenseQueries-GYiP7qAa.d.cts.map +1 -0
  79. package/dist/{SuspenseQueries-BdrwpuQr.js → SuspenseQueries-dN78EqbL.mjs} +1 -1
  80. package/dist/SuspenseQueries-dN78EqbL.mjs.map +1 -0
  81. package/dist/SuspenseQueries.d.cts +1 -1
  82. package/dist/SuspenseQueries.d.mts +2 -0
  83. package/dist/SuspenseQueries.mjs +6 -0
  84. package/dist/{SuspenseQuery-Dzt7c7L0.cjs → SuspenseQuery-7Zbz551V.cjs} +2 -2
  85. package/dist/{SuspenseQuery-Dzt7c7L0.cjs.map → SuspenseQuery-7Zbz551V.cjs.map} +1 -1
  86. package/dist/{SuspenseQuery-CEZYDEoF.d.cts → SuspenseQuery-Bg3h1Es3.d.cts} +3 -3
  87. package/dist/SuspenseQuery-Bg3h1Es3.d.cts.map +1 -0
  88. package/dist/{SuspenseQuery-Owa-DnJP.js → SuspenseQuery-COzwc2gl.mjs} +2 -2
  89. package/dist/SuspenseQuery-COzwc2gl.mjs.map +1 -0
  90. package/dist/{SuspenseQuery-Bi9HwyhA.d.ts → SuspenseQuery-CjQ3EBKI.d.mts} +3 -3
  91. package/dist/SuspenseQuery-CjQ3EBKI.d.mts.map +1 -0
  92. package/dist/SuspenseQuery.cjs +2 -2
  93. package/dist/SuspenseQuery.d.cts +1 -1
  94. package/dist/SuspenseQuery.d.mts +2 -0
  95. package/dist/SuspenseQuery.mjs +7 -0
  96. package/dist/components/ClientOnly.d.cts +2 -2
  97. package/dist/components/{ClientOnly.d.ts → ClientOnly.d.mts} +1 -1
  98. package/dist/components/ClientOnly.d.mts.map +1 -0
  99. package/dist/components/ClientOnly.mjs +6 -0
  100. package/dist/index.cjs +5 -5
  101. package/dist/index.d.cts +17 -17
  102. package/dist/{index.d.ts → index.d.mts} +17 -17
  103. package/dist/index.mjs +21 -0
  104. package/dist/{infiniteQueryOptions-C6sg-DmH.d.cts → infiniteQueryOptions-B8E274sw.d.mts} +1 -1
  105. package/dist/infiniteQueryOptions-B8E274sw.d.mts.map +1 -0
  106. package/dist/{infiniteQueryOptions-DedMwRo_.js → infiniteQueryOptions-C27u8Ixn.mjs} +1 -1
  107. package/dist/infiniteQueryOptions-C27u8Ixn.mjs.map +1 -0
  108. package/dist/{infiniteQueryOptions-hV-8kk-O.d.ts → infiniteQueryOptions-DlBYY8gQ.d.cts} +1 -1
  109. package/dist/infiniteQueryOptions-DlBYY8gQ.d.cts.map +1 -0
  110. package/dist/infiniteQueryOptions.d.cts +1 -1
  111. package/dist/{infiniteQueryOptions.d.ts → infiniteQueryOptions.d.mts} +1 -1
  112. package/dist/{infiniteQueryOptions.js → infiniteQueryOptions.mjs} +1 -1
  113. package/dist/{mutationOptions-Bj0_hsC2.d.cts → mutationOptions-C9u4Q4VU.d.mts} +1 -1
  114. package/dist/{mutationOptions-Bj0_hsC2.d.cts.map → mutationOptions-C9u4Q4VU.d.mts.map} +1 -1
  115. package/dist/{mutationOptions-CxQSzp3a.d.ts → mutationOptions-Clj_vPii.d.cts} +1 -1
  116. package/dist/mutationOptions-Clj_vPii.d.cts.map +1 -0
  117. package/dist/{mutationOptions-BErIlU4L.js → mutationOptions-VOkWleB4.mjs} +1 -1
  118. package/dist/mutationOptions-VOkWleB4.mjs.map +1 -0
  119. package/dist/mutationOptions.d.cts +1 -1
  120. package/dist/mutationOptions.d.mts +2 -0
  121. package/dist/mutationOptions.mjs +3 -0
  122. package/dist/{objectWithoutProperties-wiuk62IC.cjs → objectWithoutProperties-DjGVB1dZ.cjs} +2 -2
  123. package/dist/{objectWithoutProperties-hKN8srXd.js → objectWithoutProperties-VHBPpeSg.mjs} +2 -2
  124. package/dist/{queryOptions-Dc7nh_PI.d.cts → queryOptions-D42SP_vE.d.mts} +1 -1
  125. package/dist/queryOptions-D42SP_vE.d.mts.map +1 -0
  126. package/dist/{queryOptions-BbIIVma_.js → queryOptions-WyeTyhoy.mjs} +1 -1
  127. package/dist/queryOptions-WyeTyhoy.mjs.map +1 -0
  128. package/dist/{queryOptions-J0Eukq3P.d.ts → queryOptions-Z6iEA5XS.d.cts} +1 -1
  129. package/dist/queryOptions-Z6iEA5XS.d.cts.map +1 -0
  130. package/dist/queryOptions.d.cts +1 -1
  131. package/dist/{queryOptions.d.ts → queryOptions.d.mts} +1 -1
  132. package/dist/queryOptions.mjs +3 -0
  133. package/dist/{usePrefetchInfiniteQuery-K7YH3Qy-.js → usePrefetchInfiniteQuery-DZiSAbIS.mjs} +1 -1
  134. package/dist/usePrefetchInfiniteQuery-DZiSAbIS.mjs.map +1 -0
  135. package/dist/{usePrefetchInfiniteQuery-DikULYWD.d.ts → usePrefetchInfiniteQuery-Db5oZ2b_.d.cts} +1 -1
  136. package/dist/usePrefetchInfiniteQuery-Db5oZ2b_.d.cts.map +1 -0
  137. package/dist/{usePrefetchInfiniteQuery-CySAkFGs.d.cts → usePrefetchInfiniteQuery-xFsVE7gF.d.mts} +1 -1
  138. package/dist/usePrefetchInfiniteQuery-xFsVE7gF.d.mts.map +1 -0
  139. package/dist/usePrefetchInfiniteQuery.d.cts +1 -1
  140. package/dist/{usePrefetchInfiniteQuery.d.ts → usePrefetchInfiniteQuery.d.mts} +1 -1
  141. package/dist/{usePrefetchInfiniteQuery.js → usePrefetchInfiniteQuery.mjs} +1 -1
  142. package/dist/{usePrefetchQuery-6ohVKCHb.d.ts → usePrefetchQuery-CIIwQHYI.d.mts} +1 -1
  143. package/dist/usePrefetchQuery-CIIwQHYI.d.mts.map +1 -0
  144. package/dist/{usePrefetchQuery-Crude5FC.d.cts → usePrefetchQuery-DoUOJZwe.d.cts} +1 -1
  145. package/dist/usePrefetchQuery-DoUOJZwe.d.cts.map +1 -0
  146. package/dist/{usePrefetchQuery-HaCGXPNG.js → usePrefetchQuery-RuK6ZS1I.mjs} +1 -1
  147. package/dist/usePrefetchQuery-RuK6ZS1I.mjs.map +1 -0
  148. package/dist/usePrefetchQuery.d.cts +1 -1
  149. package/dist/usePrefetchQuery.d.mts +2 -0
  150. package/dist/usePrefetchQuery.mjs +6 -0
  151. package/dist/{useSuspenseInfiniteQuery-CPSFNa3R.js → useSuspenseInfiniteQuery-BVmSR5yZ.mjs} +1 -1
  152. package/dist/useSuspenseInfiniteQuery-BVmSR5yZ.mjs.map +1 -0
  153. package/dist/{useSuspenseInfiniteQuery-Cu93Uy03.d.cts → useSuspenseInfiniteQuery-CMhbiMDc.d.cts} +1 -1
  154. package/dist/useSuspenseInfiniteQuery-CMhbiMDc.d.cts.map +1 -0
  155. package/dist/{useSuspenseInfiniteQuery-Bb0CuB92.d.ts → useSuspenseInfiniteQuery-Dvy7bTQq.d.mts} +1 -1
  156. package/dist/useSuspenseInfiniteQuery-Dvy7bTQq.d.mts.map +1 -0
  157. package/dist/useSuspenseInfiniteQuery.d.cts +1 -1
  158. package/dist/{useSuspenseInfiniteQuery.d.ts → useSuspenseInfiniteQuery.d.mts} +1 -1
  159. package/dist/{useSuspenseInfiniteQuery.js → useSuspenseInfiniteQuery.mjs} +1 -1
  160. package/dist/{useSuspenseQueries-B5ixNUu4.d.cts → useSuspenseQueries-DFtL_xO-.d.mts} +1 -1
  161. package/dist/useSuspenseQueries-DFtL_xO-.d.mts.map +1 -0
  162. package/dist/{useSuspenseQueries-DWeObNoR.d.ts → useSuspenseQueries-DNZH-duj.d.cts} +1 -1
  163. package/dist/useSuspenseQueries-DNZH-duj.d.cts.map +1 -0
  164. package/dist/{useSuspenseQueries-B9xL4GvG.js → useSuspenseQueries-DqT8AKu2.mjs} +1 -1
  165. package/dist/useSuspenseQueries-DqT8AKu2.mjs.map +1 -0
  166. package/dist/useSuspenseQueries.d.cts +1 -1
  167. package/dist/{useSuspenseQueries.d.ts → useSuspenseQueries.d.mts} +1 -1
  168. package/dist/useSuspenseQueries.mjs +6 -0
  169. package/dist/{useSuspenseQuery-CDzxlQHt.d.ts → useSuspenseQuery-07kIGch-.d.cts} +1 -1
  170. package/dist/{useSuspenseQuery-DKMYNG6m.d.cts.map → useSuspenseQuery-07kIGch-.d.cts.map} +1 -1
  171. package/dist/{useSuspenseQuery--Hz9YbA-.js → useSuspenseQuery-BvMsQ1Ho.mjs} +1 -1
  172. package/dist/useSuspenseQuery-BvMsQ1Ho.mjs.map +1 -0
  173. package/dist/{useSuspenseQuery-DKMYNG6m.d.cts → useSuspenseQuery-CMEH7kZ8.d.mts} +1 -1
  174. package/dist/useSuspenseQuery-CMEH7kZ8.d.mts.map +1 -0
  175. package/dist/useSuspenseQuery.d.cts +1 -1
  176. package/dist/{useSuspenseQuery.d.ts → useSuspenseQuery.d.mts} +1 -1
  177. package/dist/useSuspenseQuery.mjs +6 -0
  178. package/package.json +5 -5
  179. package/src/QueriesHydration.tsx +3 -3
  180. package/dist/ClientOnly-DH55RkfW.js.map +0 -1
  181. package/dist/IsFetching-DknEssbS.js.map +0 -1
  182. package/dist/IsFetching-NswbU7_3.d.ts.map +0 -1
  183. package/dist/IsFetching-l4o1s8ne.d.cts.map +0 -1
  184. package/dist/IsFetching.d.ts +0 -2
  185. package/dist/IsFetching.js +0 -6
  186. package/dist/Mutation-BXxdgixl.d.ts.map +0 -1
  187. package/dist/Mutation-ChNqI8IT.js.map +0 -1
  188. package/dist/Mutation.d.ts +0 -2
  189. package/dist/Mutation.js +0 -7
  190. package/dist/PrefetchInfiniteQuery-Cxb0hoUW.d.cts.map +0 -1
  191. package/dist/PrefetchInfiniteQuery-DUo4NQFu.js.map +0 -1
  192. package/dist/PrefetchInfiniteQuery-XgWIoyZf.d.ts.map +0 -1
  193. package/dist/PrefetchInfiniteQuery.js +0 -7
  194. package/dist/PrefetchQuery-2dr_x_It.d.ts.map +0 -1
  195. package/dist/PrefetchQuery-DRnHJ4fT.d.cts.map +0 -1
  196. package/dist/PrefetchQuery-DsA87P_Q.js.map +0 -1
  197. package/dist/PrefetchQuery.d.ts +0 -2
  198. package/dist/PrefetchQuery.js +0 -7
  199. package/dist/QueriesHydration-BHPezuGG.js.map +0 -1
  200. package/dist/QueriesHydration-Bx45i-ZL.d.cts.map +0 -1
  201. package/dist/QueriesHydration-DSt2bv0i.d.ts.map +0 -1
  202. package/dist/QueriesHydration-rbK3VR-8.cjs.map +0 -1
  203. package/dist/QueriesHydration.d.ts +0 -2
  204. package/dist/QueriesHydration.js +0 -5
  205. package/dist/QueryClientConsumer-1eSHq9w7.d.ts.map +0 -1
  206. package/dist/QueryClientConsumer-Bnasmv9d.d.cts.map +0 -1
  207. package/dist/QueryClientConsumer-CXreZ3Qo.js.map +0 -1
  208. package/dist/SuspenseInfiniteQuery-BFEtd-lH.d.ts.map +0 -1
  209. package/dist/SuspenseInfiniteQuery-Dosv1q6b.d.cts.map +0 -1
  210. package/dist/SuspenseInfiniteQuery-d5K3FWJK.js.map +0 -1
  211. package/dist/SuspenseInfiniteQuery.d.ts +0 -3
  212. package/dist/SuspenseInfiniteQuery.js +0 -7
  213. package/dist/SuspenseQueries-BdrwpuQr.js.map +0 -1
  214. package/dist/SuspenseQueries-U51bGPhv.d.ts.map +0 -1
  215. package/dist/SuspenseQueries.d.ts +0 -2
  216. package/dist/SuspenseQueries.js +0 -6
  217. package/dist/SuspenseQuery-Bi9HwyhA.d.ts.map +0 -1
  218. package/dist/SuspenseQuery-CEZYDEoF.d.cts.map +0 -1
  219. package/dist/SuspenseQuery-Owa-DnJP.js.map +0 -1
  220. package/dist/SuspenseQuery.d.ts +0 -2
  221. package/dist/SuspenseQuery.js +0 -7
  222. package/dist/components/ClientOnly.d.ts.map +0 -1
  223. package/dist/components/ClientOnly.js +0 -6
  224. package/dist/index.js +0 -21
  225. package/dist/infiniteQueryOptions-C6sg-DmH.d.cts.map +0 -1
  226. package/dist/infiniteQueryOptions-DedMwRo_.js.map +0 -1
  227. package/dist/infiniteQueryOptions-hV-8kk-O.d.ts.map +0 -1
  228. package/dist/mutationOptions-BErIlU4L.js.map +0 -1
  229. package/dist/mutationOptions-CxQSzp3a.d.ts.map +0 -1
  230. package/dist/mutationOptions.d.ts +0 -2
  231. package/dist/mutationOptions.js +0 -3
  232. package/dist/queryOptions-BbIIVma_.js.map +0 -1
  233. package/dist/queryOptions-Dc7nh_PI.d.cts.map +0 -1
  234. package/dist/queryOptions-J0Eukq3P.d.ts.map +0 -1
  235. package/dist/queryOptions.js +0 -3
  236. package/dist/usePrefetchInfiniteQuery-CySAkFGs.d.cts.map +0 -1
  237. package/dist/usePrefetchInfiniteQuery-DikULYWD.d.ts.map +0 -1
  238. package/dist/usePrefetchInfiniteQuery-K7YH3Qy-.js.map +0 -1
  239. package/dist/usePrefetchQuery-6ohVKCHb.d.ts.map +0 -1
  240. package/dist/usePrefetchQuery-Crude5FC.d.cts.map +0 -1
  241. package/dist/usePrefetchQuery-HaCGXPNG.js.map +0 -1
  242. package/dist/usePrefetchQuery.d.ts +0 -2
  243. package/dist/usePrefetchQuery.js +0 -6
  244. package/dist/useSuspenseInfiniteQuery-Bb0CuB92.d.ts.map +0 -1
  245. package/dist/useSuspenseInfiniteQuery-CPSFNa3R.js.map +0 -1
  246. package/dist/useSuspenseInfiniteQuery-Cu93Uy03.d.cts.map +0 -1
  247. package/dist/useSuspenseQueries-B5ixNUu4.d.cts.map +0 -1
  248. package/dist/useSuspenseQueries-B9xL4GvG.js.map +0 -1
  249. package/dist/useSuspenseQueries-DWeObNoR.d.ts.map +0 -1
  250. package/dist/useSuspenseQueries.js +0 -6
  251. package/dist/useSuspenseQuery--Hz9YbA-.js.map +0 -1
  252. package/dist/useSuspenseQuery-CDzxlQHt.d.ts.map +0 -1
  253. package/dist/useSuspenseQuery.js +0 -6
@@ -12,4 +12,4 @@ const ClientOnly = ({ children, fallback }) => /* @__PURE__ */ jsx(Fragment, { c
12
12
 
13
13
  //#endregion
14
14
  export { ClientOnly as t };
15
- //# sourceMappingURL=ClientOnly-DH55RkfW.js.map
15
+ //# sourceMappingURL=ClientOnly-P5h-7PhS.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientOnly-P5h-7PhS.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,WAAY"}
@@ -13,4 +13,4 @@ declare const IsFetching: ({
13
13
  }) => react_jsx_runtime0.JSX.Element;
14
14
  //#endregion
15
15
  export { IsFetching as t };
16
- //# sourceMappingURL=IsFetching-NswbU7_3.d.ts.map
16
+ //# sourceMappingURL=IsFetching-3KG146_K.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IsFetching-3KG146_K.d.mts","names":[],"sources":["../src/IsFetching.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAQa,cAAA,UAIZ,EAAA,CAAA;EAAA;CAAA,EAFE,YAEF,GAAA;EAJ0B,QAAA,EAAA,CAAA,UAAA,EAEgB,UAFhB,CAAA,OAEkC,aAFlC,CAAA,EAAA,GAEqD,SAFrD;CAExB,EAAA,GAAwF,kBAAA,CAAA,GAAA,CAAA,OAAxF"}
@@ -9,4 +9,4 @@ const IsFetching = ({ children }) => /* @__PURE__ */ jsx(Fragment, { children: c
9
9
 
10
10
  //#endregion
11
11
  export { IsFetching as t };
12
- //# sourceMappingURL=IsFetching-DknEssbS.js.map
12
+ //# sourceMappingURL=IsFetching-DWmZ80q2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IsFetching-DWmZ80q2.mjs","names":[],"sources":["../src/IsFetching.tsx"],"sourcesContent":["'use client'\n\nimport { type QueryFilters, useIsFetching } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\n/**\n * @experimental This is an experimental feature.\n */\nexport const IsFetching = ({\n children,\n}: QueryFilters & { children: (isFetching: ReturnType<typeof useIsFetching>) => ReactNode }) => (\n <>{children(useIsFetching())}</>\n)\n"],"mappings":";;;;;;;AAQA,MAAa,cAAc,EACzB,eAEA,0CAAG,SAAS,eAAe,CAAC,GAAI"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime7 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
  import { QueryFilters, useIsFetching } from "@tanstack/react-query";
3
3
  import { ReactNode } from "react";
4
4
 
@@ -10,7 +10,7 @@ declare const IsFetching: ({
10
10
  children
11
11
  }: QueryFilters & {
12
12
  children: (isFetching: ReturnType<typeof useIsFetching>) => ReactNode;
13
- }) => react_jsx_runtime7.JSX.Element;
13
+ }) => react_jsx_runtime6.JSX.Element;
14
14
  //#endregion
15
15
  export { IsFetching as t };
16
- //# sourceMappingURL=IsFetching-l4o1s8ne.d.cts.map
16
+ //# sourceMappingURL=IsFetching-DZvSjDTq.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IsFetching-DZvSjDTq.d.cts","names":[],"sources":["../src/IsFetching.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAQa,cAAA,UAIZ,EAAA,CAAA;EAAA;CAAA,EAFE,YAEF,GAAA;EAJ0B,QAAA,EAAA,CAAA,UAAA,EAEgB,UAFhB,CAAA,OAEkC,aAFlC,CAAA,EAAA,GAEqD,SAFrD;CAExB,EAAA,GAAwF,kBAAA,CAAA,GAAA,CAAA,OAAxF"}
@@ -1,2 +1,2 @@
1
- import { t as IsFetching } from "./IsFetching-l4o1s8ne.cjs";
1
+ import { t as IsFetching } from "./IsFetching-DZvSjDTq.cjs";
2
2
  export { IsFetching };
@@ -0,0 +1,2 @@
1
+ import { t as IsFetching } from "./IsFetching-3KG146_K.mjs";
2
+ export { IsFetching };
@@ -0,0 +1,6 @@
1
+ 'use client';
2
+
3
+
4
+ import { t as IsFetching } from "./IsFetching-DWmZ80q2.mjs";
5
+
6
+ export { IsFetching };
@@ -1,4 +1,4 @@
1
- const require_objectWithoutProperties = require('./objectWithoutProperties-wiuk62IC.cjs');
1
+ const require_objectWithoutProperties = require('./objectWithoutProperties-DjGVB1dZ.cjs');
2
2
  let __tanstack_react_query = require("@tanstack/react-query");
3
3
  let react_jsx_runtime = require("react/jsx-runtime");
4
4
 
@@ -16,4 +16,4 @@ Object.defineProperty(exports, 'Mutation', {
16
16
  return Mutation;
17
17
  }
18
18
  });
19
- //# sourceMappingURL=Mutation-Br4thm3U.cjs.map
19
+ //# sourceMappingURL=Mutation-B2H-fZYn.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mutation-Br4thm3U.cjs","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":["'use client'\n\nimport { type UseMutationOptions, type UseMutationResult, useMutation } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\nexport function Mutation<TData = unknown, TError = unknown, TVariables = void, TContext = unknown>({\n children,\n ...options\n}: UseMutationOptions<TData, TError, TVariables, TContext> & {\n children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode\n}) {\n return <>{children(useMutation(options))}</>\n}\n"],"mappings":";;;;;mBAME;AADF,SAAgB,SAAmF,MAKhG;KALgG,EACjG;AAKA,QAAO,mFAAG,2HAA6B,CAAC,GAAI"}
1
+ {"version":3,"file":"Mutation-B2H-fZYn.cjs","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":["'use client'\n\nimport { type UseMutationOptions, type UseMutationResult, useMutation } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\nexport function Mutation<TData = unknown, TError = unknown, TVariables = void, TContext = unknown>({\n children,\n ...options\n}: UseMutationOptions<TData, TError, TVariables, TContext> & {\n children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode\n}) {\n return <>{children(useMutation(options))}</>\n}\n"],"mappings":";;;;;mBAME;AADF,SAAgB,SAAmF,MAKhG;KALgG,EACjG;AAKA,QAAO,mFAAG,2HAA6B,CAAC,GAAI"}
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
1
  import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/Mutation.d.ts
@@ -8,7 +8,7 @@ declare function Mutation<TData = unknown, TError = unknown, TVariables = void,
8
8
  ...options
9
9
  }: UseMutationOptions<TData, TError, TVariables, TContext> & {
10
10
  children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode;
11
- }): react_jsx_runtime8.JSX.Element;
11
+ }): react_jsx_runtime0.JSX.Element;
12
12
  //#endregion
13
13
  export { Mutation as t };
14
- //# sourceMappingURL=Mutation-BAKlTp8b.d.cts.map
14
+ //# sourceMappingURL=Mutation-CR3oXQ6p.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mutation-BAKlTp8b.d.cts","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKgB;;;GAGb,mBAAmB,OAAO,QAAQ,YAAY;6BACpB,kBAAkB,OAAO,QAAQ,YAAY,cAAc;IACvF,kBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"Mutation-CR3oXQ6p.d.mts","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKgB;;;GAGb,mBAAmB,OAAO,QAAQ,YAAY;6BACpB,kBAAkB,OAAO,QAAQ,YAAY,cAAc;IACvF,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { t as _objectWithoutProperties } from "./objectWithoutProperties-hKN8srXd.js";
1
+ import { t as _objectWithoutProperties } from "./objectWithoutProperties-VHBPpeSg.mjs";
2
2
  import { useMutation } from "@tanstack/react-query";
3
3
  import { Fragment, jsx } from "react/jsx-runtime";
4
4
 
@@ -11,4 +11,4 @@ function Mutation(_ref) {
11
11
 
12
12
  //#endregion
13
13
  export { Mutation as t };
14
- //# sourceMappingURL=Mutation-ChNqI8IT.js.map
14
+ //# sourceMappingURL=Mutation-CkHa5_Af.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mutation-CkHa5_Af.mjs","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":["'use client'\n\nimport { type UseMutationOptions, type UseMutationResult, useMutation } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\nexport function Mutation<TData = unknown, TError = unknown, TVariables = void, TContext = unknown>({\n children,\n ...options\n}: UseMutationOptions<TData, TError, TVariables, TContext> & {\n children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode\n}) {\n return <>{children(useMutation(options))}</>\n}\n"],"mappings":";;;;;mBAME;AADF,SAAgB,SAAmF,MAKhG;KALgG,EACjG;AAKA,QAAO,0CAAG,SAAS,sDAAoB,CAAC,GAAI"}
@@ -1,5 +1,5 @@
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
1
2
  import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
2
- import * as react_jsx_runtime7 from "react/jsx-runtime";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/Mutation.d.ts
@@ -8,7 +8,7 @@ declare function Mutation<TData = unknown, TError = unknown, TVariables = void,
8
8
  ...options
9
9
  }: UseMutationOptions<TData, TError, TVariables, TContext> & {
10
10
  children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode;
11
- }): react_jsx_runtime7.JSX.Element;
11
+ }): react_jsx_runtime0.JSX.Element;
12
12
  //#endregion
13
13
  export { Mutation as t };
14
- //# sourceMappingURL=Mutation-BXxdgixl.d.ts.map
14
+ //# sourceMappingURL=Mutation-DClZyxmF.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mutation-DClZyxmF.d.cts","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKgB;;;GAGb,mBAAmB,OAAO,QAAQ,YAAY;6BACpB,kBAAkB,OAAO,QAAQ,YAAY,cAAc;IACvF,kBAAA,CAAA,GAAA,CAAA"}
package/dist/Mutation.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
 
4
- require('./objectWithoutProperties-wiuk62IC.cjs');
5
- const require_Mutation = require('./Mutation-Br4thm3U.cjs');
4
+ require('./objectWithoutProperties-DjGVB1dZ.cjs');
5
+ const require_Mutation = require('./Mutation-B2H-fZYn.cjs');
6
6
 
7
7
  exports.Mutation = require_Mutation.Mutation;
@@ -1,2 +1,2 @@
1
- import { t as Mutation } from "./Mutation-BAKlTp8b.cjs";
1
+ import { t as Mutation } from "./Mutation-DClZyxmF.cjs";
2
2
  export { Mutation };
@@ -0,0 +1,2 @@
1
+ import { t as Mutation } from "./Mutation-CR3oXQ6p.mjs";
2
+ export { Mutation };
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+
3
+
4
+ import "./objectWithoutProperties-VHBPpeSg.mjs";
5
+ import { t as Mutation } from "./Mutation-CkHa5_Af.mjs";
6
+
7
+ export { Mutation };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
2
2
  import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
3
3
 
4
4
  //#region src/PrefetchInfiniteQuery.d.ts
@@ -11,7 +11,7 @@ import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
11
11
  * <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />
12
12
  * ```
13
13
  */
14
- declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime6.JSX.Element;
14
+ declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime7.JSX.Element;
15
15
  //#endregion
16
16
  export { PrefetchInfiniteQuery as t };
17
- //# sourceMappingURL=PrefetchInfiniteQuery-Cxb0hoUW.d.cts.map
17
+ //# sourceMappingURL=PrefetchInfiniteQuery-B9hGVsbw.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrefetchInfiniteQuery-B9hGVsbw.d.cts","names":[],"sources":["../src/PrefetchInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAaA;;;;;AAKmD,iBALnC,qBAKmC,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAFzC,YAEyC,EAAA,kBAD/B,QAC+B,GADpB,QACoB,CAAA,CAAA,OAAA,EAAxC,yBAAwC,CAAd,YAAc,EAAA,MAAA,EAAQ,KAAR,EAAe,SAAf,CAAA,CAAA,EAAyB,kBAAA,CAAA,GAAA,CAAA,OAAzB"}
@@ -1,4 +1,4 @@
1
- import { t as usePrefetchInfiniteQuery } from "./usePrefetchInfiniteQuery-K7YH3Qy-.js";
1
+ import { t as usePrefetchInfiniteQuery } from "./usePrefetchInfiniteQuery-DZiSAbIS.mjs";
2
2
  import { Fragment, jsx } from "react/jsx-runtime";
3
3
 
4
4
  //#region src/PrefetchInfiniteQuery.tsx
@@ -17,4 +17,4 @@ function PrefetchInfiniteQuery(options) {
17
17
 
18
18
  //#endregion
19
19
  export { PrefetchInfiniteQuery as t };
20
- //# sourceMappingURL=PrefetchInfiniteQuery-DUo4NQFu.js.map
20
+ //# sourceMappingURL=PrefetchInfiniteQuery-C0eOVFlg.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrefetchInfiniteQuery-C0eOVFlg.mjs","names":[],"sources":["../src/PrefetchInfiniteQuery.tsx"],"sourcesContent":["'use client'\n\nimport { type FetchInfiniteQueryOptions, type QueryKey } from '@tanstack/react-query'\nimport { usePrefetchInfiniteQuery } from './usePrefetchInfiniteQuery'\n\n/**\n * A component that allows you to use `usePrefetchInfiniteQuery` in JSX, avoiding the limitations of React hooks.\n * @see {@link https://suspensive.org/docs/react-query/PrefetchInfiniteQuery Suspensive Docs}\n * @example\n * ```tsx\n * <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />\n * ```\n */\nexport function PrefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n usePrefetchInfiniteQuery(options)\n return <></>\n}\n"],"mappings":";;;;;;;;;;;;AAaA,SAAgB,sBAKd,SAA4E;AAC5E,0BAAyB,QAAQ;AACjC,QAAO,iCAAK"}
@@ -1,5 +1,5 @@
1
1
  import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/PrefetchInfiniteQuery.d.ts
5
5
 
@@ -11,7 +11,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
11
11
  * <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />
12
12
  * ```
13
13
  */
14
- declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime0.JSX.Element;
14
+ declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime1.JSX.Element;
15
15
  //#endregion
16
16
  export { PrefetchInfiniteQuery as t };
17
- //# sourceMappingURL=PrefetchInfiniteQuery-XgWIoyZf.d.ts.map
17
+ //# sourceMappingURL=PrefetchInfiniteQuery-DtZ7itiY.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrefetchInfiniteQuery-DtZ7itiY.d.mts","names":[],"sources":["../src/PrefetchInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAaA;;;;;AAKmD,iBALnC,qBAKmC,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAFzC,YAEyC,EAAA,kBAD/B,QAC+B,GADpB,QACoB,CAAA,CAAA,OAAA,EAAxC,yBAAwC,CAAd,YAAc,EAAA,MAAA,EAAQ,KAAR,EAAe,SAAf,CAAA,CAAA,EAAyB,kBAAA,CAAA,GAAA,CAAA,OAAzB"}
@@ -1,2 +1,2 @@
1
- import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-Cxb0hoUW.cjs";
1
+ import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-B9hGVsbw.cjs";
2
2
  export { PrefetchInfiniteQuery };
@@ -1,2 +1,2 @@
1
- import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-XgWIoyZf.js";
1
+ import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-DtZ7itiY.mjs";
2
2
  export { PrefetchInfiniteQuery };
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+
3
+
4
+ import "./usePrefetchInfiniteQuery-DZiSAbIS.mjs";
5
+ import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-C0eOVFlg.mjs";
6
+
7
+ export { PrefetchInfiniteQuery };
@@ -1,4 +1,4 @@
1
- import { t as usePrefetchQuery } from "./usePrefetchQuery-HaCGXPNG.js";
1
+ import { t as usePrefetchQuery } from "./usePrefetchQuery-RuK6ZS1I.mjs";
2
2
  import { Fragment, jsx } from "react/jsx-runtime";
3
3
 
4
4
  //#region src/PrefetchQuery.tsx
@@ -17,4 +17,4 @@ function PrefetchQuery(options) {
17
17
 
18
18
  //#endregion
19
19
  export { PrefetchQuery as t };
20
- //# sourceMappingURL=PrefetchQuery-DsA87P_Q.js.map
20
+ //# sourceMappingURL=PrefetchQuery-7QYRCNcB.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrefetchQuery-7QYRCNcB.mjs","names":[],"sources":["../src/PrefetchQuery.tsx"],"sourcesContent":["'use client'\n\nimport { type FetchQueryOptions, type QueryKey } from '@tanstack/react-query'\nimport { usePrefetchQuery } from './usePrefetchQuery'\n\n/**\n * A component that allows you to use usePrefetchQuery in JSX, avoiding the limitations of React hooks.\n * @see {@link https://suspensive.org/docs/react-query/PrefetchQuery Suspensive Docs}\n * @example\n * ```tsx\n * <PrefetchQuery queryKey={['queryKey']} queryFn={queryFn} />\n * ```\n */\nexport function PrefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n usePrefetchQuery(options)\n return <></>\n}\n"],"mappings":";;;;;;;;;;;;AAaA,SAAgB,cAKd,SAAoE;AACpE,kBAAiB,QAAQ;AACzB,QAAO,iCAAK"}
@@ -14,4 +14,4 @@ import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
14
14
  declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime0.JSX.Element;
15
15
  //#endregion
16
16
  export { PrefetchQuery as t };
17
- //# sourceMappingURL=PrefetchQuery-DRnHJ4fT.d.cts.map
17
+ //# sourceMappingURL=PrefetchQuery-DJQ3O6jL.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrefetchQuery-DJQ3O6jL.d.cts","names":[],"sources":["../src/PrefetchQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAaA;;;;;AAK2C,iBAL3B,aAK2B,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAFjC,YAEiC,EAAA,kBADvB,QACuB,GADZ,QACY,CAAA,CAAA,OAAA,EAAhC,iBAAgC,CAAd,YAAc,EAAA,MAAA,EAAQ,KAAR,EAAe,SAAf,CAAA,CAAA,EAAyB,kBAAA,CAAA,GAAA,CAAA,OAAzB"}
@@ -1,5 +1,5 @@
1
1
  import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/PrefetchQuery.d.ts
5
5
 
@@ -11,7 +11,7 @@ import * as react_jsx_runtime1 from "react/jsx-runtime";
11
11
  * <PrefetchQuery queryKey={['queryKey']} queryFn={queryFn} />
12
12
  * ```
13
13
  */
14
- declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime1.JSX.Element;
14
+ declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime3.JSX.Element;
15
15
  //#endregion
16
16
  export { PrefetchQuery as t };
17
- //# sourceMappingURL=PrefetchQuery-2dr_x_It.d.ts.map
17
+ //# sourceMappingURL=PrefetchQuery-PoJ8NbtL.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrefetchQuery-PoJ8NbtL.d.mts","names":[],"sources":["../src/PrefetchQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAaA;;;;;AAK2C,iBAL3B,aAK2B,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAFjC,YAEiC,EAAA,kBADvB,QACuB,GADZ,QACY,CAAA,CAAA,OAAA,EAAhC,iBAAgC,CAAd,YAAc,EAAA,MAAA,EAAQ,KAAR,EAAe,SAAf,CAAA,CAAA,EAAyB,kBAAA,CAAA,GAAA,CAAA,OAAzB"}
@@ -1,2 +1,2 @@
1
- import { t as PrefetchQuery } from "./PrefetchQuery-DRnHJ4fT.cjs";
1
+ import { t as PrefetchQuery } from "./PrefetchQuery-DJQ3O6jL.cjs";
2
2
  export { PrefetchQuery };
@@ -0,0 +1,2 @@
1
+ import { t as PrefetchQuery } from "./PrefetchQuery-PoJ8NbtL.mjs";
2
+ export { PrefetchQuery };
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+
3
+
4
+ import "./usePrefetchQuery-RuK6ZS1I.mjs";
5
+ import { t as PrefetchQuery } from "./PrefetchQuery-7QYRCNcB.mjs";
6
+
7
+ export { PrefetchQuery };
@@ -1,9 +1,9 @@
1
- import { t as _objectWithoutProperties } from "./objectWithoutProperties-hKN8srXd.js";
2
- import { t as ClientOnly } from "./ClientOnly-DH55RkfW.js";
3
- import { Hydrate, dehydrate } from "@tanstack/react-query";
1
+ import { t as _objectWithoutProperties } from "./objectWithoutProperties-VHBPpeSg.mjs";
2
+ import { t as ClientOnly } from "./ClientOnly-P5h-7PhS.mjs";
3
+ import { Hydrate, QueryClient, dehydrate } from "@tanstack/react-query";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
- //#region \0@oxc-project+runtime@0.96.0/helpers/typeof.js
6
+ //#region \0@oxc-project+runtime@0.97.0/helpers/typeof.js
7
7
  function _typeof(o) {
8
8
  "@babel/helpers - typeof";
9
9
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
@@ -14,7 +14,7 @@ function _typeof(o) {
14
14
  }
15
15
 
16
16
  //#endregion
17
- //#region \0@oxc-project+runtime@0.96.0/helpers/toPrimitive.js
17
+ //#region \0@oxc-project+runtime@0.97.0/helpers/toPrimitive.js
18
18
  function toPrimitive(t, r) {
19
19
  if ("object" != _typeof(t) || !t) return t;
20
20
  var e = t[Symbol.toPrimitive];
@@ -27,14 +27,14 @@ function toPrimitive(t, r) {
27
27
  }
28
28
 
29
29
  //#endregion
30
- //#region \0@oxc-project+runtime@0.96.0/helpers/toPropertyKey.js
30
+ //#region \0@oxc-project+runtime@0.97.0/helpers/toPropertyKey.js
31
31
  function toPropertyKey(t) {
32
32
  var i = toPrimitive(t, "string");
33
33
  return "symbol" == _typeof(i) ? i : i + "";
34
34
  }
35
35
 
36
36
  //#endregion
37
- //#region \0@oxc-project+runtime@0.96.0/helpers/defineProperty.js
37
+ //#region \0@oxc-project+runtime@0.97.0/helpers/defineProperty.js
38
38
  function _defineProperty(e, r, t) {
39
39
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
40
40
  value: t,
@@ -45,7 +45,7 @@ function _defineProperty(e, r, t) {
45
45
  }
46
46
 
47
47
  //#endregion
48
- //#region \0@oxc-project+runtime@0.96.0/helpers/objectSpread2.js
48
+ //#region \0@oxc-project+runtime@0.97.0/helpers/objectSpread2.js
49
49
  function ownKeys(e, r) {
50
50
  var t = Object.keys(e);
51
51
  if (Object.getOwnPropertySymbols) {
@@ -69,7 +69,7 @@ function _objectSpread2(e) {
69
69
  }
70
70
 
71
71
  //#endregion
72
- //#region \0@oxc-project+runtime@0.96.0/helpers/asyncToGenerator.js
72
+ //#region \0@oxc-project+runtime@0.97.0/helpers/asyncToGenerator.js
73
73
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
74
74
  try {
75
75
  var i = n[a](c), u = i.value;
@@ -172,7 +172,7 @@ function QueriesHydration(_x) {
172
172
  }
173
173
  function _QueriesHydration() {
174
174
  _QueriesHydration = _asyncToGenerator(function* (_ref) {
175
- let { queries, children, queryClient, skipSsrOnError = true } = _ref, props = _objectWithoutProperties(_ref, _excluded);
175
+ let { queries, children, queryClient = new QueryClient(), skipSsrOnError = true } = _ref, props = _objectWithoutProperties(_ref, _excluded);
176
176
  try {
177
177
  yield Promise.all(queries.map((query) => queryClient.ensureQueryData(query)));
178
178
  } catch (_unused) {
@@ -191,4 +191,4 @@ function _QueriesHydration() {
191
191
 
192
192
  //#endregion
193
193
  export { QueriesHydration as t };
194
- //# sourceMappingURL=QueriesHydration-BHPezuGG.js.map
194
+ //# sourceMappingURL=QueriesHydration-C8w5Rm3q.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueriesHydration-C8w5Rm3q.mjs","names":[],"sources":["../src/QueriesHydration.tsx"],"sourcesContent":["import {\n Hydrate,\n type HydrateProps,\n type OmitKeyof,\n QueryClient,\n type QueryOptions,\n type WithRequired,\n dehydrate,\n} from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\nimport { ClientOnly } from './components/ClientOnly'\n\n/**\n * A server component that fetches multiple queries on the server and hydrates them to the client.\n *\n * @experimental This component is experimental and may be changed or removed in the future.\n *\n * @description\n * QueriesHydration is designed for React Server Components (RSC).\n * It pre-fetches multiple queries on the server side and automatically hydrates\n * the data to the client, enabling seamless data synchronization between server and client.\n *\n * When errors occur during server-side fetching, the component gracefully falls back\n * to client-side rendering, ensuring your application remains resilient.\n *\n * @example\n * ```tsx\n * // app/page.tsx (Server Component)\n * import { Suspense } from 'react'\n * import { QueriesHydration } from '@suspensive/react-query'\n * import { queryOptions } from '@tanstack/react-query'\n *\n * const userQueryOptions = (userId: string) => queryOptions({\n * queryKey: ['user', userId],\n * queryFn: () => fetchUser(userId)\n * })\n *\n * const postsQueryOptions = () => queryOptions({\n * queryKey: ['posts'],\n * queryFn: () => fetchPosts()\n * })\n *\n * export default function Page({ userId }: { userId: string }) {\n * return (\n * <>\n * <Suspense fallback={<div>Loading user...</div>}>\n * <QueriesHydration queries={[userQueryOptions(userId)]}>\n * <UserProfile />\n * </QueriesHydration>\n * </Suspense>\n *\n * <Suspense fallback={<div>Loading posts...</div>}>\n * <QueriesHydration queries={[postsQueryOptions()]}>\n * <PostsList />\n * </QueriesHydration>\n * </Suspense>\n * </>\n * )\n * }\n * ```\n *\n * @example\n * ```tsx\n * // With custom error fallback\n * <Suspense fallback={<div>Loading user...</div>}>\n * <QueriesHydration\n * queries={[userQueryOptions(userId)]}\n * skipSsrOnError={{ fallback: <div>Fetching on client...</div> }}\n * >\n * <UserProfile />\n * </QueriesHydration>\n * </Suspense>\n * ```\n *\n * @see {@link https://suspensive.org/docs/react-query/QueriesHydration Documentation}\n */\nexport async function QueriesHydration({\n queries,\n children,\n queryClient = new QueryClient(),\n skipSsrOnError = true,\n ...props\n}: {\n /**\n * The QueryClient instance to use for fetching queries.\n */\n queryClient?: QueryClient\n /**\n * An array of query options to be fetched on the server. Each query must include a `queryKey`.\n */\n queries: WithRequired<QueryOptions<any, any, any, any>, 'queryKey'>[]\n /**\n * Controls error handling behavior:\n * - `true` (default): Skips SSR and falls back to client-side rendering when server fetch fails\n * - `false`: Proceeds with SSR without hydration (retry fetching on client component server rendering)\n * - `{ fallback: ReactNode }`: Skips SSR with custom fallback UI during client-side rendering\n */\n skipSsrOnError?:\n | boolean\n | {\n fallback: ReactNode\n }\n} & OmitKeyof<HydrateProps, 'state'>) {\n try {\n await Promise.all(queries.map((query) => queryClient.ensureQueryData(query)))\n } catch {\n if (skipSsrOnError) {\n return (\n <ClientOnly fallback={skipSsrOnError === true ? undefined : skipSsrOnError.fallback}>{children}</ClientOnly>\n )\n }\n }\n return (\n <Hydrate {...props} state={dehydrate(queryClient)}>\n {children}\n </Hydrate>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EE;CACA;CACA;CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAJF,SAAsB,iBAAiB;;;;wDA0BD;MA1BC,EACrC,SACA,UACA,cAAc,IAAI,aAAa,EAC/B,iBAAiB,eACd;AAsBH,MAAI;AACF,SAAM,QAAQ,IAAI,QAAQ,KAAK,UAAU,YAAY,gBAAgB,MAAM,CAAC,CAAC;oBACvE;AACN,OAAI,eACF,QACE,oBAAC;IAAW,UAAU,mBAAmB,OAAO,SAAY,eAAe;IAAW;KAAsB;;AAIlH,SACE,oBAAC,2CAAY;GAAO,OAAO,UAAU,YAAY;GAC9C;KACO"}
@@ -1,9 +1,9 @@
1
- const require_objectWithoutProperties = require('./objectWithoutProperties-wiuk62IC.cjs');
1
+ const require_objectWithoutProperties = require('./objectWithoutProperties-DjGVB1dZ.cjs');
2
2
  const require_ClientOnly = require('./ClientOnly-Dvf8t__-.cjs');
3
3
  let __tanstack_react_query = require("@tanstack/react-query");
4
4
  let react_jsx_runtime = require("react/jsx-runtime");
5
5
 
6
- //#region \0@oxc-project+runtime@0.96.0/helpers/typeof.js
6
+ //#region \0@oxc-project+runtime@0.97.0/helpers/typeof.js
7
7
  function _typeof(o) {
8
8
  "@babel/helpers - typeof";
9
9
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
@@ -14,7 +14,7 @@ function _typeof(o) {
14
14
  }
15
15
 
16
16
  //#endregion
17
- //#region \0@oxc-project+runtime@0.96.0/helpers/toPrimitive.js
17
+ //#region \0@oxc-project+runtime@0.97.0/helpers/toPrimitive.js
18
18
  function toPrimitive(t, r) {
19
19
  if ("object" != _typeof(t) || !t) return t;
20
20
  var e = t[Symbol.toPrimitive];
@@ -27,14 +27,14 @@ function toPrimitive(t, r) {
27
27
  }
28
28
 
29
29
  //#endregion
30
- //#region \0@oxc-project+runtime@0.96.0/helpers/toPropertyKey.js
30
+ //#region \0@oxc-project+runtime@0.97.0/helpers/toPropertyKey.js
31
31
  function toPropertyKey(t) {
32
32
  var i = toPrimitive(t, "string");
33
33
  return "symbol" == _typeof(i) ? i : i + "";
34
34
  }
35
35
 
36
36
  //#endregion
37
- //#region \0@oxc-project+runtime@0.96.0/helpers/defineProperty.js
37
+ //#region \0@oxc-project+runtime@0.97.0/helpers/defineProperty.js
38
38
  function _defineProperty(e, r, t) {
39
39
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
40
40
  value: t,
@@ -45,7 +45,7 @@ function _defineProperty(e, r, t) {
45
45
  }
46
46
 
47
47
  //#endregion
48
- //#region \0@oxc-project+runtime@0.96.0/helpers/objectSpread2.js
48
+ //#region \0@oxc-project+runtime@0.97.0/helpers/objectSpread2.js
49
49
  function ownKeys(e, r) {
50
50
  var t = Object.keys(e);
51
51
  if (Object.getOwnPropertySymbols) {
@@ -69,7 +69,7 @@ function _objectSpread2(e) {
69
69
  }
70
70
 
71
71
  //#endregion
72
- //#region \0@oxc-project+runtime@0.96.0/helpers/asyncToGenerator.js
72
+ //#region \0@oxc-project+runtime@0.97.0/helpers/asyncToGenerator.js
73
73
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
74
74
  try {
75
75
  var i = n[a](c), u = i.value;
@@ -172,7 +172,7 @@ function QueriesHydration(_x) {
172
172
  }
173
173
  function _QueriesHydration() {
174
174
  _QueriesHydration = _asyncToGenerator(function* (_ref) {
175
- let { queries, children, queryClient, skipSsrOnError = true } = _ref, props = require_objectWithoutProperties._objectWithoutProperties(_ref, _excluded);
175
+ let { queries, children, queryClient = new __tanstack_react_query.QueryClient(), skipSsrOnError = true } = _ref, props = require_objectWithoutProperties._objectWithoutProperties(_ref, _excluded);
176
176
  try {
177
177
  yield Promise.all(queries.map((query) => queryClient.ensureQueryData(query)));
178
178
  } catch (_unused) {
@@ -196,4 +196,4 @@ Object.defineProperty(exports, 'QueriesHydration', {
196
196
  return QueriesHydration;
197
197
  }
198
198
  });
199
- //# sourceMappingURL=QueriesHydration-rbK3VR-8.cjs.map
199
+ //# sourceMappingURL=QueriesHydration-CJDH1B_7.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueriesHydration-CJDH1B_7.cjs","names":["QueryClient","ClientOnly","Hydrate"],"sources":["../src/QueriesHydration.tsx"],"sourcesContent":["import {\n Hydrate,\n type HydrateProps,\n type OmitKeyof,\n QueryClient,\n type QueryOptions,\n type WithRequired,\n dehydrate,\n} from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\nimport { ClientOnly } from './components/ClientOnly'\n\n/**\n * A server component that fetches multiple queries on the server and hydrates them to the client.\n *\n * @experimental This component is experimental and may be changed or removed in the future.\n *\n * @description\n * QueriesHydration is designed for React Server Components (RSC).\n * It pre-fetches multiple queries on the server side and automatically hydrates\n * the data to the client, enabling seamless data synchronization between server and client.\n *\n * When errors occur during server-side fetching, the component gracefully falls back\n * to client-side rendering, ensuring your application remains resilient.\n *\n * @example\n * ```tsx\n * // app/page.tsx (Server Component)\n * import { Suspense } from 'react'\n * import { QueriesHydration } from '@suspensive/react-query'\n * import { queryOptions } from '@tanstack/react-query'\n *\n * const userQueryOptions = (userId: string) => queryOptions({\n * queryKey: ['user', userId],\n * queryFn: () => fetchUser(userId)\n * })\n *\n * const postsQueryOptions = () => queryOptions({\n * queryKey: ['posts'],\n * queryFn: () => fetchPosts()\n * })\n *\n * export default function Page({ userId }: { userId: string }) {\n * return (\n * <>\n * <Suspense fallback={<div>Loading user...</div>}>\n * <QueriesHydration queries={[userQueryOptions(userId)]}>\n * <UserProfile />\n * </QueriesHydration>\n * </Suspense>\n *\n * <Suspense fallback={<div>Loading posts...</div>}>\n * <QueriesHydration queries={[postsQueryOptions()]}>\n * <PostsList />\n * </QueriesHydration>\n * </Suspense>\n * </>\n * )\n * }\n * ```\n *\n * @example\n * ```tsx\n * // With custom error fallback\n * <Suspense fallback={<div>Loading user...</div>}>\n * <QueriesHydration\n * queries={[userQueryOptions(userId)]}\n * skipSsrOnError={{ fallback: <div>Fetching on client...</div> }}\n * >\n * <UserProfile />\n * </QueriesHydration>\n * </Suspense>\n * ```\n *\n * @see {@link https://suspensive.org/docs/react-query/QueriesHydration Documentation}\n */\nexport async function QueriesHydration({\n queries,\n children,\n queryClient = new QueryClient(),\n skipSsrOnError = true,\n ...props\n}: {\n /**\n * The QueryClient instance to use for fetching queries.\n */\n queryClient?: QueryClient\n /**\n * An array of query options to be fetched on the server. Each query must include a `queryKey`.\n */\n queries: WithRequired<QueryOptions<any, any, any, any>, 'queryKey'>[]\n /**\n * Controls error handling behavior:\n * - `true` (default): Skips SSR and falls back to client-side rendering when server fetch fails\n * - `false`: Proceeds with SSR without hydration (retry fetching on client component server rendering)\n * - `{ fallback: ReactNode }`: Skips SSR with custom fallback UI during client-side rendering\n */\n skipSsrOnError?:\n | boolean\n | {\n fallback: ReactNode\n }\n} & OmitKeyof<HydrateProps, 'state'>) {\n try {\n await Promise.all(queries.map((query) => queryClient.ensureQueryData(query)))\n } catch {\n if (skipSsrOnError) {\n return (\n <ClientOnly fallback={skipSsrOnError === true ? undefined : skipSsrOnError.fallback}>{children}</ClientOnly>\n )\n }\n }\n return (\n <Hydrate {...props} state={dehydrate(queryClient)}>\n {children}\n </Hydrate>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EE;CACA;CACA;CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAJF,SAAsB,iBAAiB;;;;wDA0BD;MA1BC,EACrC,SACA,UACA,cAAc,IAAIA,oCAAa,EAC/B,iBAAiB,eACd;AAsBH,MAAI;AACF,SAAM,QAAQ,IAAI,QAAQ,KAAK,UAAU,YAAY,gBAAgB,MAAM,CAAC,CAAC;oBACvE;AACN,OAAI,eACF,QACE,2CAACC;IAAW,UAAU,mBAAmB,OAAO,SAAY,eAAe;IAAW;KAAsB;;AAIlH,SACE,2CAACC,kEAAY;GAAO,6CAAiB,YAAY;GAC9C;KACO"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
  import { HydrateProps, OmitKeyof, QueryClient, QueryOptions, WithRequired } from "@tanstack/react-query";
3
3
  import { ReactNode } from "react";
4
4
 
@@ -78,7 +78,7 @@ declare function QueriesHydration({
78
78
  /**
79
79
  * The QueryClient instance to use for fetching queries.
80
80
  */
81
- queryClient: QueryClient;
81
+ queryClient?: QueryClient;
82
82
  /**
83
83
  * An array of query options to be fetched on the server. Each query must include a `queryKey`.
84
84
  */
@@ -92,7 +92,7 @@ declare function QueriesHydration({
92
92
  skipSsrOnError?: boolean | {
93
93
  fallback: ReactNode;
94
94
  };
95
- } & OmitKeyof<HydrateProps, 'state'>): Promise<react_jsx_runtime0.JSX.Element>;
95
+ } & OmitKeyof<HydrateProps, 'state'>): Promise<react_jsx_runtime1.JSX.Element>;
96
96
  //#endregion
97
97
  export { QueriesHydration as t };
98
- //# sourceMappingURL=QueriesHydration-Bx45i-ZL.d.cts.map
98
+ //# sourceMappingURL=QueriesHydration-COAxA2eo.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueriesHydration-COAxA2eo.d.cts","names":[],"sources":["../src/QueriesHydration.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AA4EA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsB,gBAAA;;;;;;;;;;gBAUN;;;;WAIL,aAAa;;;;;;;;cAUN;;IAEd,UAAU,yBAAsB,QAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -78,7 +78,7 @@ declare function QueriesHydration({
78
78
  /**
79
79
  * The QueryClient instance to use for fetching queries.
80
80
  */
81
- queryClient: QueryClient;
81
+ queryClient?: QueryClient;
82
82
  /**
83
83
  * An array of query options to be fetched on the server. Each query must include a `queryKey`.
84
84
  */
@@ -95,4 +95,4 @@ declare function QueriesHydration({
95
95
  } & OmitKeyof<HydrateProps, 'state'>): Promise<react_jsx_runtime2.JSX.Element>;
96
96
  //#endregion
97
97
  export { QueriesHydration as t };
98
- //# sourceMappingURL=QueriesHydration-DSt2bv0i.d.ts.map
98
+ //# sourceMappingURL=QueriesHydration-CdvYxMoD.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueriesHydration-CdvYxMoD.d.mts","names":[],"sources":["../src/QueriesHydration.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AA4EA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsB,gBAAA;;;;;;;;;;gBAUN;;;;WAIL,aAAa;;;;;;;;cAUN;;IAEd,UAAU,yBAAsB,QAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,5 +1,5 @@
1
- require('./objectWithoutProperties-wiuk62IC.cjs');
1
+ require('./objectWithoutProperties-DjGVB1dZ.cjs');
2
2
  require('./ClientOnly-Dvf8t__-.cjs');
3
- const require_QueriesHydration = require('./QueriesHydration-rbK3VR-8.cjs');
3
+ const require_QueriesHydration = require('./QueriesHydration-CJDH1B_7.cjs');
4
4
 
5
5
  exports.QueriesHydration = require_QueriesHydration.QueriesHydration;
@@ -1,2 +1,2 @@
1
- import { t as QueriesHydration } from "./QueriesHydration-Bx45i-ZL.cjs";
1
+ import { t as QueriesHydration } from "./QueriesHydration-COAxA2eo.cjs";
2
2
  export { QueriesHydration };
@@ -0,0 +1,2 @@
1
+ import { t as QueriesHydration } from "./QueriesHydration-CdvYxMoD.mjs";
2
+ export { QueriesHydration };
@@ -0,0 +1,5 @@
1
+ import "./objectWithoutProperties-VHBPpeSg.mjs";
2
+ import "./ClientOnly-P5h-7PhS.mjs";
3
+ import { t as QueriesHydration } from "./QueriesHydration-C8w5Rm3q.mjs";
4
+
5
+ export { QueriesHydration };
@@ -1,5 +1,5 @@
1
1
  import { QueryClient } from "@tanstack/react-query";
2
- import * as react_jsx_runtime3 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
3
3
  import { Context, ReactNode } from "react";
4
4
 
5
5
  //#region src/QueryClientConsumer.d.ts
@@ -12,7 +12,7 @@ declare function QueryClientConsumer({
12
12
  }: {
13
13
  children: (queryClient: QueryClient) => ReactNode;
14
14
  context?: Context<QueryClient | undefined>;
15
- }): react_jsx_runtime3.JSX.Element;
15
+ }): react_jsx_runtime4.JSX.Element;
16
16
  //#endregion
17
17
  export { QueryClientConsumer as t };
18
- //# sourceMappingURL=QueryClientConsumer-1eSHq9w7.d.ts.map
18
+ //# sourceMappingURL=QueryClientConsumer-BXcUnpLu.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryClientConsumer-BXcUnpLu.d.mts","names":[],"sources":["../src/QueryClientConsumer.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAQgB,iBAAA,mBAAA,CAAmB;EAAA,QAAA;EAAA;CAAA,EAAA;EACjC,QAAA,EAAA,CAAA,WAAA,EAGwB,WAHxB,EAAA,GAGwC,SAHxC;EACA,OAAA,CAAA,EAGU,OAHV,CAGkB,WAHlB,GAAA,SAAA,CAAA;CAEwB,CAAA,EAEzB,kBAAA,CAAA,GAAA,CAAA,OAFyB"}