wao 0.2.3 → 0.2.4

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/cjs/ao.js CHANGED
@@ -118,13 +118,17 @@ var AO = /*#__PURE__*/function () {
118
118
  _result = _connect.result,
119
119
  _message = _connect.message,
120
120
  _spawn = _connect.spawn,
121
- _dryrun = _connect.dryrun;
121
+ _dryrun = _connect.dryrun,
122
+ _monitor = _connect.monitor,
123
+ _unmonitor = _connect.unmonitor;
122
124
  this.assign = _assign;
123
125
  this.result = _result;
124
126
  this.results = _results;
125
127
  this.message = _message;
126
128
  this.spawn = _spawn;
127
129
  this.dryrun = _dryrun;
130
+ this.monitor = _monitor;
131
+ this.unmonitor = _unmonitor;
128
132
  } else {
129
133
  this.assign = _aoconnect.assign;
130
134
  this.result = _aoconnect.result;
@@ -132,6 +136,8 @@ var AO = /*#__PURE__*/function () {
132
136
  this.message = _aoconnect.message;
133
137
  this.spawn = _aoconnect.spawn;
134
138
  this.dryrun = _aoconnect.dryrun;
139
+ this.monitor = _aoconnect.monitor;
140
+ this.unmonitor = _aoconnect.unmonitor;
135
141
  }
136
142
  this.module = module;
137
143
  this.scheduler = scheduler;
@@ -1326,11 +1332,11 @@ var AO = /*#__PURE__*/function () {
1326
1332
  }
1327
1333
  });
1328
1334
  i = 0;
1329
- _iterator9 = _createForOfIteratorHelper(!loads ? [{
1335
+ _iterator9 = _createForOfIteratorHelper(!loads ? src_data ? [{
1330
1336
  data: src_data,
1331
1337
  src: src,
1332
1338
  fills: fills
1333
- }] : loads);
1339
+ }] : [] : loads);
1334
1340
  try {
1335
1341
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
1336
1342
  v = _step9.value;