@rayondigital/nest-dapr 0.9.22 → 0.9.23
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.
|
@@ -58,7 +58,6 @@ class ActorProxyBuilder {
|
|
|
58
58
|
}
|
|
59
59
|
callInternalActorMethod(actorTypeClassName, actorId, methodName, args) {
|
|
60
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
-
console.log('calling internal actor method');
|
|
62
61
|
const actorManager = this.actorRuntimeService.getActorManager(actorTypeClassName);
|
|
63
62
|
const requestBody = JSON.stringify(args);
|
|
64
63
|
return yield actorManager.invoke(actorId, methodName, Buffer.from(requestBody));
|
|
@@ -6,7 +6,6 @@ export declare class NestActorManager {
|
|
|
6
6
|
setup(moduleRef: ModuleRef, options: DaprModuleActorOptions, onActivateFn?: (actorId: ActorId, instance: AbstractActor) => Promise<void>): void;
|
|
7
7
|
setupReentrancy(): void;
|
|
8
8
|
setupCSLWrapper(contextService: DaprContextService, invokeWrapperFn?: (actorId: ActorId, methodName: string, data: any, method: (actorId: ActorId, methodName: string, data: any) => Promise<any>) => Promise<any>): void;
|
|
9
|
-
private runInsideContextIfAvailable;
|
|
10
9
|
private resolveDependencies;
|
|
11
10
|
private static extractContext;
|
|
12
11
|
}
|
|
@@ -126,11 +126,6 @@ let NestActorManager = NestActorManager_1 = class NestActorManager {
|
|
|
126
126
|
});
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
|
-
runInsideContextIfAvailable() {
|
|
130
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
131
|
-
return;
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
129
|
resolveDependencies(moduleRef, instance) {
|
|
135
130
|
return __awaiter(this, void 0, void 0, function* () {
|
|
136
131
|
const type = instance.constructor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rayondigital/nest-dapr",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.23",
|
|
4
4
|
"description": "Develop NestJs microservices using Dapr pubsub, actors and other bindings",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
"typescript": "^4.7.4"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@dapr/dapr": "^3.2.0"
|
|
48
|
+
"@dapr/dapr": "^3.2.0",
|
|
49
|
+
"async-lock": "^1.4.1"
|
|
49
50
|
},
|
|
50
51
|
"optionalDependencies": {
|
|
51
52
|
"nestjs-cls": "^3.6.0"
|