svelte-navigator-lite 1.1.4 → 1.1.5

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.
@@ -76,7 +76,7 @@ export function _createRouter(routeList = {}) {
76
76
  params[routeSegment.name] = urlSegment;
77
77
  }
78
78
  }
79
- if (match) {
79
+ if (match === true) { // not sure why I need an === true here but it doesnt work without it for some reason
80
80
  state.current = routeName;
81
81
  state.params = params;
82
82
  state.searchParams = Object.fromEntries(searchParams.entries());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-navigator-lite",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "A lightweight router for Svelte 5",
5
5
  "readme": "README.md",
6
6
  "repository": {