@quanticjs/workflow-quanticflow 4.4.1 → 4.4.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QuanticFlowClient } from './QuanticFlowClient';
|
|
2
2
|
import { ServiceTaskHandlerRegistry } from './ServiceTaskHandlerRegistry';
|
|
3
|
-
import { QuanticFlowWorkflowModuleOptions } from './
|
|
3
|
+
import { type QuanticFlowWorkflowModuleOptions } from './options';
|
|
4
4
|
export interface ServiceTaskCallbackPayload {
|
|
5
5
|
instanceId: string;
|
|
6
6
|
definitionId: string;
|
|
@@ -17,7 +17,7 @@ exports.QuanticFlowCallbackController = void 0;
|
|
|
17
17
|
const common_1 = require("@nestjs/common");
|
|
18
18
|
const QuanticFlowClient_1 = require("./QuanticFlowClient");
|
|
19
19
|
const ServiceTaskHandlerRegistry_1 = require("./ServiceTaskHandlerRegistry");
|
|
20
|
-
const
|
|
20
|
+
const options_1 = require("./options");
|
|
21
21
|
const crypto_1 = require("crypto");
|
|
22
22
|
let QuanticFlowCallbackController = QuanticFlowCallbackController_1 = class QuanticFlowCallbackController {
|
|
23
23
|
registry;
|
|
@@ -85,7 +85,7 @@ __decorate([
|
|
|
85
85
|
], QuanticFlowCallbackController.prototype, "handleServiceTask", null);
|
|
86
86
|
exports.QuanticFlowCallbackController = QuanticFlowCallbackController = QuanticFlowCallbackController_1 = __decorate([
|
|
87
87
|
(0, common_1.Controller)('workflow-callback'),
|
|
88
|
-
__param(2, (0, common_1.Inject)(
|
|
88
|
+
__param(2, (0, common_1.Inject)(options_1.QUANTICFLOW_OPTIONS)),
|
|
89
89
|
__metadata("design:paramtypes", [ServiceTaskHandlerRegistry_1.ServiceTaskHandlerRegistry,
|
|
90
90
|
QuanticFlowClient_1.QuanticFlowClient, Object])
|
|
91
91
|
], QuanticFlowCallbackController);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quanticjs/workflow-quanticflow",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.2",
|
|
4
4
|
"description": "QuanticFlow workflow engine adapter for @quanticjs/workflow — supports callback and event-driven service task execution",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@nestjs/axios": "^4.0.0",
|
|
26
|
-
"@quanticjs/core": "^4.4.1",
|
|
27
|
-
"@quanticjs/events": "^4.4.1",
|
|
28
26
|
"axios": "^1.6.0"
|
|
29
27
|
},
|
|
30
28
|
"peerDependencies": {
|
|
31
29
|
"@nestjs/common": "^10.0.0 || ^11.0.0",
|
|
32
30
|
"@nestjs/core": "^10.0.0 || ^11.0.0",
|
|
33
31
|
"@nestjs/cqrs": "^10.0.0 || ^11.0.0",
|
|
32
|
+
"@quanticjs/core": "^4.4.2",
|
|
33
|
+
"@quanticjs/events": "^4.4.2",
|
|
34
34
|
"ioredis": "^5.0.0",
|
|
35
35
|
"reflect-metadata": "^0.1.13 || ^0.2.0"
|
|
36
36
|
},
|