@flowgram.ai/runtime-js 0.5.6 → 1.0.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/esm/index.js CHANGED
@@ -242,7 +242,7 @@ var WorkflowStatus = /* @__PURE__ */ ((WorkflowStatus2) => {
242
242
  WorkflowStatus2["Processing"] = "processing";
243
243
  WorkflowStatus2["Succeeded"] = "succeeded";
244
244
  WorkflowStatus2["Failed"] = "failed";
245
- WorkflowStatus2["Canceled"] = "canceled";
245
+ WorkflowStatus2["Cancelled"] = "canceled";
246
246
  return WorkflowStatus2;
247
247
  })(WorkflowStatus || {});
248
248
  var IValidation = Symbol.for("Validation");
@@ -2096,7 +2096,7 @@ var WorkflowRuntimeStatus = class _WorkflowRuntimeStatus {
2096
2096
  return this._status;
2097
2097
  }
2098
2098
  get terminated() {
2099
- return [WorkflowStatus.Succeeded, WorkflowStatus.Failed, WorkflowStatus.Canceled].includes(
2099
+ return [WorkflowStatus.Succeeded, WorkflowStatus.Failed, WorkflowStatus.Cancelled].includes(
2100
2100
  this.status
2101
2101
  );
2102
2102
  }
@@ -2138,7 +2138,7 @@ var WorkflowRuntimeStatus = class _WorkflowRuntimeStatus {
2138
2138
  if (this.terminated) {
2139
2139
  return;
2140
2140
  }
2141
- this._status = WorkflowStatus.Canceled;
2141
+ this._status = WorkflowStatus.Cancelled;
2142
2142
  this._endTime = Date.now();
2143
2143
  }
2144
2144
  export() {