@hatchet-dev/typescript-sdk 1.8.0 → 1.8.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/package.json +1 -1
- package/v1/client/worker/worker-internal.js +6 -1
- package/v1/client/worker/worker.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -254,7 +254,12 @@ class V1Worker {
|
|
|
254
254
|
catch (e) {
|
|
255
255
|
throw new hatchet_error_1.default(`Could not register workflow: ${e.message}`);
|
|
256
256
|
}
|
|
257
|
-
|
|
257
|
+
if (!durable) {
|
|
258
|
+
this.registerActionsV1(workflow);
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
this.registerDurableActionsV1(workflow);
|
|
262
|
+
}
|
|
258
263
|
});
|
|
259
264
|
}
|
|
260
265
|
registerWorkflow(initWorkflow) {
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HATCHET_VERSION = "1.8.
|
|
1
|
+
export declare const HATCHET_VERSION = "1.8.1";
|
package/version.js
CHANGED