Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/hooks/workflow-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions tests/validation/workflow-validation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}'.`,
);
});

Expand All @@ -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}'.`,
);
});

Expand Down Expand Up @@ -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}'.`,
);
});

Expand All @@ -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}'.`,
);
});
});