@manyducks.co/dolla 0.69.1 → 0.69.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/lib/index.js CHANGED
@@ -715,9 +715,9 @@ function computed(...args) {
715
715
  if (typeof compute !== "function") {
716
716
  throw new TypeError(`Final argument must be a function. Got ${typeOf(compute)}: ${compute}`);
717
717
  }
718
- args = args.flat();
718
+ args = args.flat().map(readable);
719
719
  if (args.length < 1) {
720
- throw new Error(`Must pass at least one state before the callback function.`);
720
+ throw new Error(`Must pass at least one value before the callback function.`);
721
721
  }
722
722
  const readables = args;
723
723
  if (readables.length === 1) {