@hatchet-dev/typescript-sdk 0.20.0 → 0.20.1
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/clients/worker/worker.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/clients/worker/worker.js
CHANGED
|
@@ -83,7 +83,7 @@ class Worker {
|
|
|
83
83
|
registerWorkflow(initWorkflow) {
|
|
84
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85
85
|
var _a, _b, _c;
|
|
86
|
-
const workflow = Object.assign(Object.assign({}, initWorkflow), { id: this.client.config.namespace + initWorkflow.id });
|
|
86
|
+
const workflow = Object.assign(Object.assign({}, initWorkflow), { id: (this.client.config.namespace + initWorkflow.id).toLowerCase() });
|
|
87
87
|
try {
|
|
88
88
|
if (((_a = workflow.concurrency) === null || _a === void 0 ? void 0 : _a.key) && workflow.concurrency.expression) {
|
|
89
89
|
throw new hatchet_error_1.default('Cannot have both key function and expression in workflow concurrency configuration');
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HATCHET_VERSION = "0.20.
|
|
1
|
+
export declare const HATCHET_VERSION = "0.20.1";
|
package/version.js
CHANGED