@tanstack/router-core 0.0.1-beta.149 → 0.0.1-beta.150

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/router-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "0.0.1-beta.149",
4
+ "version": "0.0.1-beta.150",
5
5
  "license": "MIT",
6
6
  "repository": "tanstack/router",
7
7
  "homepage": "https://tanstack.com/router",
@@ -43,7 +43,7 @@
43
43
  "tiny-invariant": "^1.3.1",
44
44
  "tiny-warning": "^1.0.3",
45
45
  "@gisatcz/cross-package-react-context": "^0.2.0",
46
- "@tanstack/react-store": "0.0.1-beta.149"
46
+ "@tanstack/react-store": "0.0.1-beta.150"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "rollup --config rollup.config.js",
package/src/router.ts CHANGED
@@ -791,6 +791,10 @@ export class Router<
791
791
  }
792
792
  })()
793
793
 
794
+ Object.assign(match, {
795
+ ...searchInfo,
796
+ })
797
+
794
798
  const contextInfo = (() => {
795
799
  try {
796
800
  const routeContext =
@@ -817,7 +821,6 @@ export class Router<
817
821
  })()
818
822
 
819
823
  Object.assign(match, {
820
- ...searchInfo,
821
824
  ...contextInfo,
822
825
  })
823
826
  })
@@ -836,7 +839,7 @@ export class Router<
836
839
 
837
840
  if (!opts?.preload) {
838
841
  resolvedMatches.forEach((match) => {
839
- // Update each match with its latest url data
842
+ // Update each match with its latest route data
840
843
  this.setRouteMatch(match.id, (s) => ({
841
844
  ...s,
842
845
  routeSearch: match.routeSearch,