@falcondev-oss/workflow 0.3.0 → 0.4.0

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/dist/index.d.mts CHANGED
@@ -88,6 +88,7 @@ interface WorkflowOptions<RunInput, Input, Output> {
88
88
  connection?: ConnectionOptions;
89
89
  }
90
90
  declare class Workflow<RunInput, Input, Output> {
91
+ id: string;
91
92
  private opts;
92
93
  private queue?;
93
94
  private queueEvents?;
package/dist/index.mjs CHANGED
@@ -188,10 +188,12 @@ var WorkflowStep = class WorkflowStep {
188
188
  //#endregion
189
189
  //#region src/workflow.ts
190
190
  var Workflow = class {
191
+ id;
191
192
  opts;
192
193
  queue;
193
194
  queueEvents;
194
195
  constructor(opts) {
196
+ this.id = opts.id;
195
197
  this.opts = opts;
196
198
  }
197
199
  async work(opts) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@falcondev-oss/workflow",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.4.0",
5
5
  "description": "Simple type-safe queue worker with durable execution based on BullMQ.",
6
6
  "license": "MIT",
7
7
  "repository": "github:falcondev-oss/workflow",