rwsdk 1.0.0-beta.51 → 1.0.0-beta.52

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.
@@ -38,7 +38,7 @@ export async function navigate(href, options = { history: "push" }) {
38
38
  return;
39
39
  }
40
40
  saveScrollPosition(window.scrollX, window.scrollY);
41
- const url = window.location.origin + href;
41
+ const url = new URL(href, window.location.href);
42
42
  if (options.history === "push") {
43
43
  window.history.pushState({ path: href }, "", url);
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rwsdk",
3
- "version": "1.0.0-beta.51",
3
+ "version": "1.0.0-beta.52",
4
4
  "description": "Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime",
5
5
  "type": "module",
6
6
  "bin": {
@@ -154,13 +154,13 @@
154
154
  "license": "MIT",
155
155
  "dependencies": {
156
156
  "@ast-grep/napi": "~0.39.0",
157
- "@cloudflare/workers-types": "~4.20260124.0",
157
+ "@cloudflare/workers-types": "~4.20260127.0",
158
158
  "@mdx-js/mdx": "~3.1.1",
159
159
  "@puppeteer/browsers": "~2.10.0",
160
160
  "@types/decompress": "~4.2.7",
161
161
  "@types/fs-extra": "~11.0.4",
162
162
  "@types/glob": "^8.1.0",
163
- "@types/react": "~19.2.9",
163
+ "@types/react": "~19.2.10",
164
164
  "@types/react-dom": "~19.2.3",
165
165
  "@types/react-is": "~19.0.0",
166
166
  "@vitejs/plugin-react": "~5.0.0",
@@ -193,17 +193,17 @@
193
193
  "vite-tsconfig-paths": "~5.1.4"
194
194
  },
195
195
  "peerDependencies": {
196
- "@cloudflare/vite-plugin": "^1.21.2",
196
+ "@cloudflare/vite-plugin": "^1.22.0",
197
197
  "capnweb": "~0.2.0",
198
198
  "react": ">=19.2.0-0 <19.3.0 || >=19.3.0-0 <20.0.0",
199
199
  "react-dom": ">=19.2.0-0 <19.3.0 || >=19.3.0-0 <20.0.0",
200
200
  "react-server-dom-webpack": ">=19.2.0-0 <19.3.0 || >=19.3.0-0 <20.0.0",
201
201
  "vite": "^6.2.6 || 7.x",
202
- "wrangler": "^4.60.0"
202
+ "wrangler": "^4.61.0"
203
203
  },
204
- "packageManager": "pnpm@10.0.0+sha512.b8fef5494bd3fe4cbd4edabd0745df2ee5be3e4b0b8b08fa643aa3e4c6702ccc0f00d68fa8a8c9858a735a0032485a44990ed2810526c875e416f001b17df12b",
204
+ "packageManager": "pnpm@10.28.2",
205
205
  "devDependencies": {
206
- "@cloudflare/vite-plugin": "1.21.2",
206
+ "@cloudflare/vite-plugin": "1.22.0",
207
207
  "capnweb": "~0.2.0",
208
208
  "@types/debug": "~4.1.12",
209
209
  "@types/js-beautify": "~1.14.3",