@hatchet-dev/typescript-sdk 1.8.0 → 1.8.2
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/package.json +1 -1
- package/v1/client/worker/worker-internal.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -93,7 +93,7 @@ class V1Worker {
|
|
|
93
93
|
}
|
|
94
94
|
registerDurableActionsV1(workflow) {
|
|
95
95
|
const newActions = workflow._durableTasks.reduce((acc, task) => {
|
|
96
|
-
acc[`${workflow.name}:${task.name.toLowerCase()}`] = (ctx) => task.fn(ctx.input, ctx);
|
|
96
|
+
acc[`${(0, apply_namespace_1.applyNamespace)(workflow.name, this.client.config.namespace).toLowerCase()}:${task.name.toLowerCase()}`] = (ctx) => task.fn(ctx.input, ctx);
|
|
97
97
|
return acc;
|
|
98
98
|
}, {});
|
|
99
99
|
this.action_registry = Object.assign(Object.assign({}, this.action_registry), newActions);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HATCHET_VERSION = "1.8.
|
|
1
|
+
export declare const HATCHET_VERSION = "1.8.2";
|
package/version.js
CHANGED