@subako-ai/react-router 0.1.1 → 0.1.3
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.
- package/README.md +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ every render. Close over one — `location: () => location.pathname` — and the
|
|
|
72
72
|
binding reports the page the app was on when the tool was declared: the model
|
|
73
73
|
navigates, is told it is still where it started, and navigates again. The ref
|
|
74
74
|
above always holds the current render's path, so the read is live whether or not
|
|
75
|
-
the tool is
|
|
75
|
+
the tool is memoized. `window.location.pathname` works too, minus the router's
|
|
76
76
|
`basename` if it has one.
|
|
77
77
|
|
|
78
78
|
## `routesOf`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@subako-ai/react-router",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "React Router as a navigate tool for Subako sessions",
|
|
5
5
|
"homepage": "https://subako.ai",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"react-router": "^7.12.0",
|
|
26
26
|
"typescript": "^5.9.3",
|
|
27
|
-
"@subako-ai/sdk": "0.1.
|
|
28
|
-
"@subako-ai/tools": "0.1.
|
|
27
|
+
"@subako-ai/sdk": "0.1.3",
|
|
28
|
+
"@subako-ai/tools": "0.1.3"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react-router": ">=6.4.0",
|
|
32
|
-
"@subako-ai/tools": "^0.1.
|
|
32
|
+
"@subako-ai/tools": "^0.1.3"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=22"
|