@rayondigital/nest-dapr 0.9.36 → 0.9.37

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.
@@ -134,7 +134,12 @@ let DaprPubSubClient = DaprPubSubClient_1 = class DaprPubSubClient {
134
134
  }
135
135
  if (fireAndForget) {
136
136
  setTimeout(() => __awaiter(this, void 0, void 0, function* () {
137
- yield this.daprClient.pubsub.publish(name, topic, payload, options);
137
+ try {
138
+ yield this.daprClient.pubsub.publish(name, topic, payload, options);
139
+ }
140
+ catch (error) {
141
+ yield this.handleError([{ producerId, name, topic, payload, metadata }], error);
142
+ }
138
143
  }));
139
144
  return;
140
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayondigital/nest-dapr",
3
- "version": "0.9.36",
3
+ "version": "0.9.37",
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",