sprintify-ui 0.0.187 → 0.0.188

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.
@@ -10012,8 +10012,10 @@ const km = {
10012
10012
  x.value = ke, G();
10013
10013
  return;
10014
10014
  }
10015
+ if (c.name === null)
10016
+ throw new Error("Route name is required for history mode");
10015
10017
  const xe = d.resolve({
10016
- path: c.path,
10018
+ name: c.name,
10017
10019
  params: c.params
10018
10020
  }), D = dt.formatQueryString(ke), Z = xe.fullPath + "?" + D, X = q();
10019
10021
  if (dt.formatQueryString(X) != D) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.187",
3
+ "version": "0.0.188",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -390,8 +390,12 @@ function updateQuery(newQuery: DataTableQuery) {
390
390
  return;
391
391
  }
392
392
 
393
+ if (route.name === null) {
394
+ throw new Error('Route name is required for history mode');
395
+ }
396
+
393
397
  const newRoute = router.resolve({
394
- path: route.path,
398
+ name: route.name,
395
399
  params: route.params,
396
400
  });
397
401