diff --git a/package-lock.json b/package-lock.json index cfb9d61..150d00d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@serverlessworkflow/sdk", - "version": "1.0.3-alpha2", + "version": "1.0.3-alpha3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@serverlessworkflow/sdk", - "version": "1.0.3-alpha2", + "version": "1.0.3-alpha3", "license": "Apache-2.0", "dependencies": { "ajv": "^8.20.0", diff --git a/package.json b/package.json index f468ea2..79503ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@serverlessworkflow/sdk", - "version": "1.0.3-alpha2", + "version": "1.0.3-alpha3", "schemaVersion": "1.0.3", "supportedDslVersions": ">=1.0.0 <=1.0.3", "description": "Typescript SDK for Serverless Workflow Specification", diff --git a/src/lib/hooks/workflow-hooks.ts b/src/lib/hooks/workflow-hooks.ts index 54cd642..3a47f04 100644 --- a/src/lib/hooks/workflow-hooks.ts +++ b/src/lib/hooks/workflow-hooks.ts @@ -27,7 +27,7 @@ export const WorkflowHooks = { if (!isSupportedDsl) { 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}'.`, + `'Workflow' is invalid - The DSL version of the workflow '${dsl}' does not satisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, ); } return; diff --git a/tests/validation/workflow-validation.spec.ts b/tests/validation/workflow-validation.spec.ts index 786da0e..8de7506 100644 --- a/tests/validation/workflow-validation.spec.ts +++ b/tests/validation/workflow-validation.spec.ts @@ -68,7 +68,7 @@ describe('Workflow validation', () => { }, }); expect(() => workflow.validate()).toThrow( - `The DSL version of the workflow '${oldVersion}' does not saisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, + `The DSL version of the workflow '${oldVersion}' does not satisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, ); }); @@ -83,7 +83,7 @@ describe('Workflow validation', () => { }, }); expect(() => workflow.validate()).toThrow( - `The DSL version of the workflow '${newerVersion}' does not saisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, + `The DSL version of the workflow '${newerVersion}' does not satisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, ); }); @@ -146,7 +146,7 @@ describe('Workflow validation', () => { }, }); expect(() => workflow.validate()).toThrow( - `The DSL version of the workflow '${preReleaseVersion}' does not saisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, + `The DSL version of the workflow '${preReleaseVersion}' does not satisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, ); }); @@ -161,7 +161,7 @@ describe('Workflow validation', () => { }, }); expect(() => workflow.validate()).toThrow( - `The DSL version of the workflow '${preReleaseVersion}' does not saisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, + `The DSL version of the workflow '${preReleaseVersion}' does not satisfy the DSL version range supported by this SDK '${supportedDslVersions}'.`, ); }); });