@hatchet-dev/typescript-sdk 1.0.5 → 1.0.6
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/package.json +1 -1
- package/step.js +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
package/step.js
CHANGED
|
@@ -361,14 +361,14 @@ class Context {
|
|
|
361
361
|
bulkRunChildren(children) {
|
|
362
362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
363
363
|
const runs = yield this.bulkRunNoWaitChildren(children);
|
|
364
|
-
const res = runs.map((run, index) => {
|
|
364
|
+
const res = runs.map((run, index) => __awaiter(this, void 0, void 0, function* () {
|
|
365
365
|
const wf = children[index].workflow;
|
|
366
366
|
if (wf instanceof declaration_1.TaskWorkflowDeclaration) {
|
|
367
367
|
// eslint-disable-next-line no-underscore-dangle
|
|
368
|
-
return run.output[wf._standalone_task_name];
|
|
368
|
+
return (yield run.output)[wf._standalone_task_name];
|
|
369
369
|
}
|
|
370
370
|
return run.output;
|
|
371
|
-
});
|
|
371
|
+
}));
|
|
372
372
|
return Promise.all(res);
|
|
373
373
|
});
|
|
374
374
|
}
|
|
@@ -439,7 +439,7 @@ class Context {
|
|
|
439
439
|
// eslint-disable-next-line no-underscore-dangle
|
|
440
440
|
if (workflow._standalone_task_name) {
|
|
441
441
|
// eslint-disable-next-line no-underscore-dangle
|
|
442
|
-
return run.output[workflow._standalone_task_name];
|
|
442
|
+
return (yield run.output)[workflow._standalone_task_name];
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
return run.output;
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HATCHET_VERSION = "1.0.
|
|
1
|
+
export declare const HATCHET_VERSION = "1.0.6";
|
package/version.js
CHANGED