@etohq/workflow-engine-redis 1.0.0 → 1.2.0

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.
@@ -27,7 +27,7 @@ export declare class WorkflowsModuleService<TWorkflowExecution extends InferEnti
27
27
  onApplicationStart: () => Promise<void>;
28
28
  };
29
29
  run<TWorkflow extends string | ReturnWorkflow<any, any, any>>(workflowIdOrWorkflow: TWorkflow, options?: WorkflowsSdkTypes.WorkflowOrchestratorRunDTO<TWorkflow extends ReturnWorkflow<any, any, any> ? UnwrapWorkflowInputDataType<TWorkflow> : unknown>, context?: Context): Promise<any>;
30
- getRunningTransaction(workflowId: string, transactionId: string, context?: Context): Promise<import("@etohq/framework/orchestration").DistributedTransactionType>;
30
+ getRunningTransaction(workflowId: string, transactionId: string, context?: Context): Promise<import("@etohq/orchestration").DistributedTransactionType>;
31
31
  setStepSuccess({ idempotencyKey, stepResponse, options, }: {
32
32
  idempotencyKey: string | object;
33
33
  stepResponse: unknown;
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/loaders/index.ts","../src/loaders/redis.ts","../src/loaders/utils.ts","../src/migrations/Migration20231228143900.ts","../src/migrations/Migration20241206123341.ts","../src/models/index.ts","../src/models/workflow-execution.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/workflow-orchestrator.ts","../src/services/workflows-module.ts","../src/types/index.ts","../src/utils/index.ts","../src/utils/workflow-orchestrator-storage.ts"],"version":"5.6.2"}
1
+ {"root":["../src/index.ts","../src/loaders/index.ts","../src/loaders/redis.ts","../src/loaders/utils.ts","../src/migrations/migration20231228143900.ts","../src/migrations/migration20241206123341.ts","../src/models/index.ts","../src/models/workflow-execution.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/workflow-orchestrator.ts","../src/services/workflows-module.ts","../src/types/index.ts","../src/utils/index.ts","../src/utils/workflow-orchestrator-storage.ts"],"version":"5.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etohq/workflow-engine-redis",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Eto Workflow Orchestrator module using Redis to track workflows executions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "https://github.com/etohq/eto",
19
- "directory": "packages/workflow-engine-redis"
19
+ "directory": "packages/core/modules/workflow-engine-redis"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
@@ -26,7 +26,8 @@
26
26
  "scripts": {
27
27
  "watch": "tsc --build --watch",
28
28
  "watch:test": "tsc --build tsconfig.spec.json --watch",
29
- "resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json", "build": "rimraf dist && tsc --build && npm run resolve:aliases",
29
+ "resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json",
30
+ "build": "rimraf dist && tsc --build && npm run resolve:aliases",
30
31
  "test": "jest --passWithNoTests --runInBand --bail --forceExit -- src",
31
32
  "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
32
33
  "migration:initial": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts eto-mikro-orm migration:create --initial",
@@ -35,8 +36,8 @@
35
36
  "orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts eto-mikro-orm cache:clear"
36
37
  },
37
38
  "devDependencies": {
38
- "@etohq/framework": "^1.0.0",
39
- "@etohq/test-utils": "^1.0.0",
39
+ "@etohq/framework": "^1.2.0",
40
+ "@etohq/test-utils": "^1.2.0",
40
41
  "@mikro-orm/cli": "5.9.7",
41
42
  "@mikro-orm/core": "5.9.7",
42
43
  "@mikro-orm/migrations": "5.9.7",
@@ -56,7 +57,7 @@
56
57
  "ulid": "^2.3.0"
57
58
  },
58
59
  "peerDependencies": {
59
- "@etohq/framework": "^1.0.0",
60
+ "@etohq/framework": "^1.1.0",
60
61
  "@mikro-orm/core": "5.9.7",
61
62
  "@mikro-orm/migrations": "5.9.7",
62
63
  "@mikro-orm/postgresql": "5.9.7",