@suspensive/react-query-4 3.0.0-next.1 → 3.0.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -48,8 +48,8 @@ var __copyProps = (to, from, except, desc) => {
48
48
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
49
49
 
50
50
  // src/index.ts
51
- var src_exports = {};
52
- __export(src_exports, {
51
+ var index_exports = {};
52
+ __export(index_exports, {
53
53
  Mutation: () => Mutation,
54
54
  PrefetchInfiniteQuery: () => PrefetchInfiniteQuery,
55
55
  PrefetchQuery: () => PrefetchQuery,
@@ -65,7 +65,7 @@ __export(src_exports, {
65
65
  useSuspenseQueries: () => useSuspenseQueries,
66
66
  useSuspenseQuery: () => useSuspenseQuery
67
67
  });
68
- module.exports = __toCommonJS(src_exports);
68
+ module.exports = __toCommonJS(index_exports);
69
69
 
70
70
  // src/queryOptions.ts
71
71
  function queryOptions(options) {
@@ -1,4 +1,4 @@
1
- import { UseInfiniteQueryResult, InfiniteData, QueryKey, UseInfiniteQueryOptions } from '@tanstack/react-query';
1
+ import { QueryKey, UseInfiniteQueryOptions, UseInfiniteQueryResult, InfiniteData } from '@tanstack/react-query';
2
2
  import { O as OmitKeyof } from './OmitKeyof-CFsZLI4k.cjs';
3
3
 
4
4
  interface UseSuspenseInfiniteQueryResult<TData = unknown, TError = unknown> extends OmitKeyof<UseInfiniteQueryResult<TData, TError>, keyof Pick<UseInfiniteQueryResult<TData, TError>, 'isPlaceholderData'>> {
@@ -1,4 +1,4 @@
1
- import { UseInfiniteQueryResult, InfiniteData, QueryKey, UseInfiniteQueryOptions } from '@tanstack/react-query';
1
+ import { QueryKey, UseInfiniteQueryOptions, UseInfiniteQueryResult, InfiniteData } from '@tanstack/react-query';
2
2
  import { O as OmitKeyof } from './OmitKeyof-CFsZLI4k.js';
3
3
 
4
4
  interface UseSuspenseInfiniteQueryResult<TData = unknown, TError = unknown> extends OmitKeyof<UseInfiniteQueryResult<TData, TError>, keyof Pick<UseInfiniteQueryResult<TData, TError>, 'isPlaceholderData'>> {
@@ -1,4 +1,4 @@
1
- import { UseQueryOptions, QueryFunction } from '@tanstack/react-query';
1
+ import { QueryFunction, UseQueryOptions } from '@tanstack/react-query';
2
2
  import { UseSuspenseQueryOptions, UseSuspenseQueryResult } from './useSuspenseQuery.cjs';
3
3
  import './OmitKeyof-CFsZLI4k.cjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { UseQueryOptions, QueryFunction } from '@tanstack/react-query';
1
+ import { QueryFunction, UseQueryOptions } from '@tanstack/react-query';
2
2
  import { UseSuspenseQueryOptions, UseSuspenseQueryResult } from './useSuspenseQuery.js';
3
3
  import './OmitKeyof-CFsZLI4k.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { UseQueryResult, QueryKey, UseQueryOptions } from '@tanstack/react-query';
1
+ import { QueryKey, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
2
  import { O as OmitKeyof } from './OmitKeyof-CFsZLI4k.cjs';
3
3
 
4
4
  interface UseSuspenseQueryResult<TData = unknown, TError = unknown> extends OmitKeyof<UseQueryResult<TData, TError>, keyof Pick<UseQueryResult, 'isPlaceholderData'>> {
@@ -1,4 +1,4 @@
1
- import { UseQueryResult, QueryKey, UseQueryOptions } from '@tanstack/react-query';
1
+ import { QueryKey, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
2
  import { O as OmitKeyof } from './OmitKeyof-CFsZLI4k.js';
3
3
 
4
4
  interface UseSuspenseQueryResult<TData = unknown, TError = unknown> extends OmitKeyof<UseQueryResult<TData, TError>, keyof Pick<UseQueryResult, 'isPlaceholderData'>> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suspensive/react-query-4",
3
- "version": "3.0.0-next.1",
3
+ "version": "3.0.0-next.3",
4
4
  "description": "Suspensive interfaces for @tanstack/react-query@4",
5
5
  "keywords": [
6
6
  "suspensive",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "devDependencies": {
42
42
  "@tanstack/react-query": "^4.36.1",
43
- "@types/react": "^19.0.7",
43
+ "@types/react": "^19.0.4",
44
44
  "react": "^19.0.0",
45
45
  "@suspensive/eslint-config": "0.0.0",
46
46
  "@suspensive/tsconfig": "0.0.0-development",