mol_wire_pub 1.0.51 → 1.0.54

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/node.test.js CHANGED
@@ -2647,7 +2647,7 @@ var $;
2647
2647
  const bu = this.track_on();
2648
2648
  let result;
2649
2649
  try {
2650
- result = this.task.call(this.host, ...this.slice(0, this.pub_from));
2650
+ result = this.task.call(this.host, ...(this.pub_from ? this.slice(0, this.pub_from) : []));
2651
2651
  if (result instanceof Promise) {
2652
2652
  const put = (res) => {
2653
2653
  if (this.cache === result)