@octanejs/tanstack-router 0.3.7 → 0.3.9

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-router",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -86,13 +86,13 @@
86
86
  "isbot": "^5.1.22"
87
87
  },
88
88
  "peerDependencies": {
89
- "octane": "^0.21.0"
89
+ "octane": "^0.23.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@tanstack/react-router": "1.170.41",
93
- "@tsrx/react": "^0.4.5",
93
+ "@tsrx/react": "^0.5.3",
94
94
  "esbuild": "^0.28.1",
95
- "octane": "0.21.0",
95
+ "octane": "0.23.0",
96
96
  "react": "19.2.7",
97
97
  "react-dom": "19.2.7",
98
98
  "vitest": "^4.1.10"
package/src/Body.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { HYDRATION_RANGE_BOUNDARY, createElement } from 'octane';
1
+ import { createElement } from 'octane';
2
+ import { HYDRATION_RANGE_BOUNDARY } from 'octane/internal/client';
2
3
  import { isServer } from '@tanstack/router-core/isServer';
3
4
  import { useRouter } from './context';
4
5
  import type { ComponentBody } from 'octane';
@@ -1,6 +1,6 @@
1
1
  'use strong';
2
2
 
3
- import { HYDRATION_RANGE_BOUNDARY } from 'octane';
3
+ import { HYDRATION_RANGE_BOUNDARY } from 'octane/internal/client';
4
4
  import type { BodyProps } from '../Body';
5
5
 
6
6
  // This boundary returns the authored children directly, as the ordinary Body
@@ -1,7 +1,6 @@
1
1
  'use strong';
2
2
 
3
3
  import {
4
- __runOnCatch,
5
4
  CompiledOutlet as CompiledComponent,
6
5
  CompiledContext,
7
6
  Hydrate,
@@ -10,6 +9,7 @@ import {
10
9
  useLayoutEffect,
11
10
  useRef,
12
11
  } from 'octane';
12
+ import { __runOnCatch } from 'octane/internal/client';
13
13
  import { never } from 'octane/hydration';
14
14
  import type { AnyRouter, NotFoundError } from '@tanstack/router-core';
15
15
  import { isNotFound, rootRouteId, setupScrollRestoration } from '@tanstack/router-core';
@@ -10,7 +10,8 @@
10
10
  // IntersectionObserver, 'render' once on mount), the click handler (navigate
11
11
  // with replace/resetScroll/hashScrollIntoView/viewTransition/startTransition/
12
12
  // ignoreBlocker forwarded), and data-status/data-transitioning reflection.
13
- import { __useCommittedState, useRef, useEffect, useCallback } from 'octane';
13
+ import { useRef, useEffect, useCallback } from 'octane';
14
+ import { __useCommittedState } from 'octane/internal/client';
14
15
  import {
15
16
  deepEqual,
16
17
  exactPathTest,