@serverlessworkflow/sdk 1.0.3-alpha2 → 1.0.3-alpha3

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/index.umd.js CHANGED
@@ -946,7 +946,7 @@
946
946
  var import_satisfies = /* @__PURE__ */ __toESM$1(require_satisfies());
947
947
  const WorkflowHooks = { preValidation(instance) {
948
948
  const dsl = instance?.document?.dsl;
949
- if (!(typeof dsl === "string" && (0, import_satisfies.default)(dsl, supportedDslVersions, { includePrerelease: true }))) throw new Error(`'Workflow' is invalid - The DSL version of the workflow '${dsl}' does not saisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`);
949
+ if (!(typeof dsl === "string" && (0, import_satisfies.default)(dsl, supportedDslVersions, { includePrerelease: true }))) throw new Error(`'Workflow' is invalid - The DSL version of the workflow '${dsl}' does not satisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`);
950
950
  } };
951
951
  //#endregion
952
952
  //#region src/lib/lifecycle-hooks.ts