gorsee 0.2.12 → 0.2.13
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { navigate, prefetch } from "./router.js";
|
|
1
2
|
function isTypedRouteOptions(value) {
|
|
2
3
|
return "params" in value || "search" in value || "hash" in value;
|
|
3
4
|
}
|
|
@@ -67,11 +68,9 @@ export function createTypedRoute(path) {
|
|
|
67
68
|
}
|
|
68
69
|
export function typedNavigate(target, paramsOrOptions = {}) {
|
|
69
70
|
const url = typedLink(target, paramsOrOptions);
|
|
70
|
-
return
|
|
71
|
+
return Promise.resolve().then(() => navigate(url));
|
|
71
72
|
}
|
|
72
73
|
export function typedPrefetch(target, paramsOrOptions = {}) {
|
|
73
74
|
const url = typedLink(target, paramsOrOptions);
|
|
74
|
-
return
|
|
75
|
-
m.prefetch(url);
|
|
76
|
-
});
|
|
75
|
+
return Promise.resolve().then(() => prefetch(url));
|
|
77
76
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gorsee",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"description": "AI-first reactive full-stack TypeScript framework for deterministic human and agent collaboration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "bun@1.3.9",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"backend:candidate:evidence:verify": "bun run compiler:evidence:verify && bun run build:evidence:verify && node scripts/backend-candidate-evidence-check.mjs && node scripts/backend-default-switch-review-check.mjs && node scripts/backend-switch-evidence-check.mjs"
|
|
134
134
|
},
|
|
135
135
|
"engines": {
|
|
136
|
-
"bun": "
|
|
136
|
+
"bun": "1.3.9"
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
139
|
"alien-signals": "3.1.2",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"typescript": "5.9.3"
|
|
144
144
|
},
|
|
145
145
|
"devDependencies": {
|
|
146
|
-
"@types/bun": "
|
|
146
|
+
"@types/bun": "1.3.10",
|
|
147
147
|
"playwright": "1.58.2"
|
|
148
148
|
},
|
|
149
149
|
"types": "./dist-pkg/index.d.ts"
|