@brandboostinggmbh/observable-workflows 0.3.3 → 0.3.5

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -282,9 +282,9 @@ declare function createWorkflowContext(options: WorkflowContextOptions): {
282
282
  declare function createQueueWorkflowContext(options: QueueWorkflowContextOptions): {
283
283
  enqueueWorkflow: <I>(workflow: WorkflowFunction<I>, tenantId: string, input: I, initialName: string) => Promise<void>;
284
284
  enqueueRetryWorkflow: <I>(workflow: WorkflowFunction<I>, tenantId: string, oldInstanceId: string) => Promise<void>;
285
- handleWorkflowQueueMessage: <T>(message: WorkflowQueueMessage, env: {
285
+ handleWorkflowQueueMessage: (message: WorkflowQueueMessage, env: {
286
286
  LOG_DB: D1Database;
287
- }, workflowResolver: (workflowType: string) => WorkflowFunction<T> | undefined) => Promise<void>;
287
+ }, workflowResolver: (workflowType: string) => WorkflowFunction<any> | undefined) => Promise<void>;
288
288
  };
289
289
 
290
290
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brandboostinggmbh/observable-workflows",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "My awesome typescript library",
5
5
  "type": "module",
6
6
  "license": "MIT",