@flowgram.ai/runtime-js 0.5.5 → 0.5.7

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.cts CHANGED
@@ -33,7 +33,7 @@ declare enum WorkflowStatus {
33
33
  Processing = "processing",
34
34
  Succeeded = "succeeded",
35
35
  Failed = "failed",
36
- Canceled = "canceled"
36
+ Cancelled = "canceled"
37
37
  }
38
38
  interface StatusData {
39
39
  status: WorkflowStatus;
package/dist/index.d.ts CHANGED
@@ -33,7 +33,7 @@ declare enum WorkflowStatus {
33
33
  Processing = "processing",
34
34
  Succeeded = "succeeded",
35
35
  Failed = "failed",
36
- Canceled = "canceled"
36
+ Cancelled = "canceled"
37
37
  }
38
38
  interface StatusData {
39
39
  status: WorkflowStatus;
package/dist/index.js CHANGED
@@ -283,7 +283,7 @@ var WorkflowStatus = /* @__PURE__ */ ((WorkflowStatus2) => {
283
283
  WorkflowStatus2["Processing"] = "processing";
284
284
  WorkflowStatus2["Succeeded"] = "succeeded";
285
285
  WorkflowStatus2["Failed"] = "failed";
286
- WorkflowStatus2["Canceled"] = "canceled";
286
+ WorkflowStatus2["Cancelled"] = "canceled";
287
287
  return WorkflowStatus2;
288
288
  })(WorkflowStatus || {});
289
289
  var IValidation = Symbol.for("Validation");
@@ -2137,7 +2137,7 @@ var WorkflowRuntimeStatus = class _WorkflowRuntimeStatus {
2137
2137
  return this._status;
2138
2138
  }
2139
2139
  get terminated() {
2140
- return [WorkflowStatus.Succeeded, WorkflowStatus.Failed, WorkflowStatus.Canceled].includes(
2140
+ return [WorkflowStatus.Succeeded, WorkflowStatus.Failed, WorkflowStatus.Cancelled].includes(
2141
2141
  this.status
2142
2142
  );
2143
2143
  }
@@ -2179,7 +2179,7 @@ var WorkflowRuntimeStatus = class _WorkflowRuntimeStatus {
2179
2179
  if (this.terminated) {
2180
2180
  return;
2181
2181
  }
2182
- this._status = WorkflowStatus.Canceled;
2182
+ this._status = WorkflowStatus.Cancelled;
2183
2183
  this._endTime = Date.now();
2184
2184
  }
2185
2185
  export() {