@typed/router 0.11.6 → 0.11.7

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.
@@ -64,7 +64,7 @@ exports.Router = Object.assign(Context.Tag('@typed/router/Router'), {
64
64
  });
65
65
  exports.outlet = html_1.RenderContext.withFx(({ environment }) => exports.Router.withFx((r) => environment === 'browser'
66
66
  ? r.outlet
67
- : (0, Function_1.pipe)(r.outlet, Fx.skipWhile((x) => x === null), Fx.take(1))));
67
+ : (0, Function_1.pipe)(r.outlet, Fx.skipUntil((x) => x !== null), Fx.take(1))));
68
68
  exports.currentPath = exports.Router.withFx((r) => r.currentPath);
69
69
  function provideContext(environment) {
70
70
  return (router) => {
package/dist/router.js CHANGED
@@ -38,7 +38,7 @@ export const Router = Object.assign(Context.Tag('@typed/router/Router'), {
38
38
  });
39
39
  export const outlet = RenderContext.withFx(({ environment }) => Router.withFx((r) => environment === 'browser'
40
40
  ? r.outlet
41
- : pipe(r.outlet, Fx.skipWhile((x) => x === null), Fx.take(1))));
41
+ : pipe(r.outlet, Fx.skipUntil((x) => x !== null), Fx.take(1))));
42
42
  export const currentPath = Router.withFx((r) => r.currentPath);
43
43
  export function provideContext(environment) {
44
44
  return (router) => {