@hatchet-dev/typescript-sdk 1.4.0-alpha.1 → 1.4.0-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatchet-dev/typescript-sdk",
3
- "version": "1.4.0-alpha.1",
3
+ "version": "1.4.0-alpha.2",
4
4
  "description": "Background task orchestration & visibility for developers",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -233,14 +233,14 @@ class Context {
233
233
  }
234
234
  spawn(workflow, input, options) {
235
235
  const { workflowName, opts } = this.spawnOptions(workflow, options);
236
- return this.v1._v0.admin.runWorkflow(workflowName, input, opts);
236
+ return this.v1.admin.runWorkflow(workflowName, input, opts);
237
237
  }
238
238
  spawnBulk(children) {
239
239
  const workflows = children.map((child) => {
240
240
  const { workflowName, opts } = this.spawnOptions(child.workflow, child.options);
241
241
  return { workflowName, input: child.input, options: opts };
242
242
  });
243
- return this.v1._v0.admin.runWorkflows(workflows);
243
+ return this.v1.admin.runWorkflows(workflows);
244
244
  }
245
245
  /**
246
246
  * Runs multiple children workflows in parallel without waiting for their results.
@@ -38,7 +38,7 @@ exports.parent = hatchet_client_1.hatchet.task({
38
38
  },
39
39
  });
40
40
  }
41
- yield ctx.bulkRunChildren(children);
41
+ yield ctx.bulkRunNoWaitChildren(children);
42
42
  return {
43
43
  TransformedMessage: 'done',
44
44
  };
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const HATCHET_VERSION = "1.4.0-alpha.1";
1
+ export declare const HATCHET_VERSION = "1.4.0-alpha.2";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HATCHET_VERSION = void 0;
4
- exports.HATCHET_VERSION = '1.4.0-alpha.1';
4
+ exports.HATCHET_VERSION = '1.4.0-alpha.2';