@tanstack/router-core 1.120.4-alpha.12 → 1.120.4-alpha.15

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": "@tanstack/router-core",
3
- "version": "1.120.4-alpha.12",
3
+ "version": "1.120.4-alpha.15",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
package/src/index.ts CHANGED
@@ -377,7 +377,6 @@ export {
377
377
  redirect,
378
378
  isRedirect,
379
379
  isResolvedRedirect,
380
- tsrRedirectHeaderKey,
381
380
  parseRedirect,
382
381
  } from './redirect'
383
382
 
package/src/redirect.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import type { NavigateOptions } from './link'
2
2
  import type { AnyRouter, RegisteredRouter } from './router'
3
3
 
4
- export const tsrRedirectHeaderKey = 'X-Tanstack-Router-Redirect-Options'
5
-
6
4
  export type AnyRedirect = Redirect<any, any, any, any, any>
7
5
 
8
6
  /**
package/src/router.ts CHANGED
@@ -844,6 +844,8 @@ export class RouterCore<
844
844
  // router can be used in a non-react environment if necessary
845
845
  startTransition: StartTransitionFn = (fn) => fn()
846
846
 
847
+ isShell = false
848
+
847
849
  update: UpdateFn<
848
850
  TRouteTree,
849
851
  TTrailingSlashOption,
@@ -932,6 +934,10 @@ export class RouterCore<
932
934
  'selector(:active-view-transition-type(a)',
933
935
  )
934
936
  }
937
+
938
+ if ((this.latestLocation.search as any).__TSS_SHELL) {
939
+ this.isShell = true
940
+ }
935
941
  }
936
942
 
937
943
  get state() {