@typed/router 0.8.0 → 0.8.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed/router",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -21,14 +21,14 @@
21
21
  "dependencies": {
22
22
  "@effect/data": "^0.11.7",
23
23
  "@effect/io": "^0.19.2",
24
- "@typed/context": "0.8.0",
25
- "@typed/dom": "8.8.0",
26
- "@typed/fx": "1.8.0",
27
- "@typed/html": "3.8.0",
24
+ "@typed/context": "0.8.2",
25
+ "@typed/dom": "8.8.2",
26
+ "@typed/fx": "1.8.2",
27
+ "@typed/html": "3.8.2",
28
28
  "@typed/path": "0.3.0",
29
29
  "@typed/route": "0.6.0"
30
30
  },
31
- "gitHead": "7baa08a653259f97ebd4b0d7b8ce4f1bbe2a5997",
31
+ "gitHead": "e5c6ea681a6a17e20432f8db76ebe67dd3d8ec07",
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
package/src/router.ts CHANGED
@@ -110,7 +110,7 @@ export const Router = Object.assign(Context.Tag<Router>('@typed/router/Router'),
110
110
  const router: Router<R, E, P> = {
111
111
  route,
112
112
  currentPath,
113
- params: pipe(currentPath, Fx.switchMapEffect(route.match), Fx.compact, Fx.skipRepeats),
113
+ params: pipe(currentPath, Fx.switchMapEffect(route.match), Fx.compact, Fx.hold),
114
114
  outlet,
115
115
  createPath: createPath as Router<R, P>['createPath'],
116
116
  define: <R2, E2, Path2 extends string>(other: Route.Route<R2, E2, Path2>) =>