@thi.ng/rstream 7.2.45 → 8.0.0

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/tween.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Fn2 } from "@thi.ng/api";
2
- import { ISubscribable } from "./api.js";
2
+ import { type ISubscribable } from "./api.js";
3
3
  /**
4
4
  * Takes an existing stream/subscription `src` and attaches new
5
5
  * subscription which interpolates between incoming values from `src`
package/view.d.ts CHANGED
@@ -41,7 +41,7 @@ export declare const fromViewUnsafe: <T>(atom: ReadonlyAtom<any>, opts: FromView
41
41
  /**
42
42
  * Similar to {@link fromAtom}, but creates a type checked, eager derived view
43
43
  * for a nested value in an Atom-like state container and yields stream of its
44
- * value changes.
44
+ * value changes. See {@link fromViewUnsafe} for unchecked version.
45
45
  *
46
46
  * @remarks
47
47
  * Stream value type is inferred from target path or (if given), the result type
package/view.js CHANGED
@@ -43,5 +43,5 @@ export function fromView(atom, opts) {
43
43
  isActive = false;
44
44
  view.release();
45
45
  };
46
- });
46
+ }, opts);
47
47
  }