@octanejs/tanstack-query 0.1.53 → 0.1.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/tanstack-query",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -43,7 +43,7 @@
43
43
  "@tanstack/query-core": "5.102.8"
44
44
  },
45
45
  "peerDependencies": {
46
- "octane": "^0.1.51 || ^0.2.0"
46
+ "octane": "^0.4.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@tanstack/react-query": "5.102.8",
@@ -59,9 +59,9 @@
59
59
  "@types/react": "^19.2.17",
60
60
  "@types/react-dom": "^19.2.3",
61
61
  "@tanstack/query-persist-client-core": "5.102.8",
62
- "octane": "0.2.16",
63
- "@octanejs/testing-library": "0.1.51",
64
- "@octanejs/react-error-boundary": "0.1.33"
62
+ "octane": "0.4.0",
63
+ "@octanejs/testing-library": "0.1.53",
64
+ "@octanejs/react-error-boundary": "0.1.35"
65
65
  },
66
66
  "scripts": {
67
67
  "test": "vitest run --root ../.. --project tanstack-query --project tanstack-query-adapted --project tanstack-query-adapted-ssr --project tanstack-query-differential --project tanstack-query-ssr",
@@ -13,5 +13,5 @@ export function QueryClientProvider(props: QueryClientProviderProps) @{
13
13
  props.client.unmount();
14
14
  };
15
15
  }, [props.client]);
16
- <QueryClientContext.Provider value={props.client}>{props.children}</QueryClientContext.Provider>
16
+ <QueryClientContext value={props.client}>{props.children}</QueryClientContext>
17
17
  }
@@ -16,7 +16,5 @@ export function QueryErrorResetBoundary(props: QueryErrorResetBoundaryProps) @{
16
16
  typeof props.children === 'function' && !isChildrenBlock(props.children)
17
17
  ? props.children(value)
18
18
  : props.children;
19
- <QueryErrorResetBoundaryContext.Provider
20
- value={value}
21
- >{resolved}</QueryErrorResetBoundaryContext.Provider>
19
+ <QueryErrorResetBoundaryContext value={value}>{resolved}</QueryErrorResetBoundaryContext>
22
20
  }
@@ -10,4 +10,4 @@ export function useIsRestoring(): boolean {
10
10
  }
11
11
 
12
12
  // `<IsRestoringProvider value={true}>…` — octane's built-in context Provider.
13
- export const IsRestoringProvider = IsRestoringContext.Provider;
13
+ export const IsRestoringProvider = IsRestoringContext;