@solidjs/router 0.10.0-beta.7 → 0.10.0-beta.8

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.
@@ -80,7 +80,7 @@ function toAction(fn, url) {
80
80
  };
81
81
  const uri = new URL(url, "http://sar");
82
82
  uri.searchParams.set("args", hashKey(args));
83
- return toAction(newFn, uri.toString());
83
+ return toAction(newFn, uri.pathname + uri.search);
84
84
  };
85
85
  fn.url = url;
86
86
  if (!isServer) {
package/dist/index.js CHANGED
@@ -961,7 +961,7 @@ function toAction(fn, url) {
961
961
  };
962
962
  const uri = new URL(url, "http://sar");
963
963
  uri.searchParams.set("args", hashKey(args));
964
- return toAction(newFn, uri.toString());
964
+ return toAction(newFn, uri.pathname + uri.search);
965
965
  };
966
966
  fn.url = url;
967
967
  if (!isServer) {
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "Ryan Turnquist"
7
7
  ],
8
8
  "license": "MIT",
9
- "version": "0.10.0-beta.7",
9
+ "version": "0.10.0-beta.8",
10
10
  "homepage": "https://github.com/solidjs/solid-router#readme",
11
11
  "repository": {
12
12
  "type": "git",