@rayondigital/nest-dapr 0.9.45 → 0.9.46

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.
@@ -35,7 +35,7 @@ class ActorProxyBuilder {
35
35
  }
36
36
  }
37
37
  build(actorId, actorTypeName) {
38
- if (!actorId) {
38
+ if (actorId === undefined) {
39
39
  throw new Error('Actor id must be provided');
40
40
  }
41
41
  const actorTypeClassName = actorTypeName !== null && actorTypeName !== void 0 ? actorTypeName : this.actorTypeClass.name;
@@ -68,7 +68,7 @@ class ActorProxyBuilder {
68
68
  }
69
69
  callExternalActorMethod(actorTypeClassName, actorId, methodName, args) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
- if (!actorId) {
71
+ if (actorId === undefined) {
72
72
  throw new Error('Actor id must be provided');
73
73
  }
74
74
  const originalBody = args.length > 0 ? args : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayondigital/nest-dapr",
3
- "version": "0.9.45",
3
+ "version": "0.9.46",
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",