@rayondigital/nest-dapr 0.9.70 → 0.9.72

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.
@@ -23,7 +23,6 @@ const core_1 = require("@nestjs/core");
23
23
  const nestjs_cls_1 = require("nestjs-cls");
24
24
  const actor_runtime_service_1 = require("./actors/actor-runtime.service");
25
25
  const dapr_actor_client_service_1 = require("./actors/dapr-actor-client.service");
26
- const nest_actor_manager_1 = require("./actors/nest-actor-manager");
27
26
  const dapr_context_service_1 = require("./dapr-context-service");
28
27
  const dapr_event_emitter_service_1 = require("./dapr-event-emitter.service");
29
28
  const dapr_event_subscriber_loader_1 = require("./dapr-event-subscriber.loader");
@@ -87,6 +86,7 @@ let DaprModule = DaprModule_1 = class DaprModule {
87
86
  exports: [
88
87
  dapr_1.DaprClient,
89
88
  dapr_pubsub_client_service_1.DaprPubSubClient,
89
+ dapr_metadata_accessor_1.DaprMetadataAccessor,
90
90
  dapr_context_service_1.DaprContextService,
91
91
  actor_runtime_service_1.ActorRuntimeService,
92
92
  dapr_actor_client_service_1.DaprActorClient,
@@ -131,6 +131,7 @@ let DaprModule = DaprModule_1 = class DaprModule {
131
131
  ],
132
132
  exports: [
133
133
  dapr_1.DaprClient,
134
+ dapr_metadata_accessor_1.DaprMetadataAccessor,
134
135
  dapr_pubsub_client_service_1.DaprPubSubClient,
135
136
  dapr_context_service_1.DaprContextService,
136
137
  actor_runtime_service_1.ActorRuntimeService,
@@ -168,17 +169,6 @@ let DaprModule = DaprModule_1 = class DaprModule {
168
169
  }
169
170
  };
170
171
  DaprModule = DaprModule_1 = __decorate([
171
- (0, common_1.Module)({
172
- imports: [nestjs_cls_1.ClsModule, core_1.DiscoveryModule],
173
- providers: [
174
- dapr_actor_client_service_1.DaprActorClient,
175
- nest_actor_manager_1.NestActorManager,
176
- dapr_metadata_accessor_1.DaprMetadataAccessor,
177
- dapr_context_service_1.DaprContextService,
178
- dapr_event_subscriber_loader_1.DaprEventSubscriberLoader,
179
- actor_runtime_service_1.ActorRuntimeService,
180
- ],
181
- exports: [dapr_actor_client_service_1.DaprActorClient, dapr_context_service_1.DaprContextService, dapr_metadata_accessor_1.DaprMetadataAccessor, dapr_event_subscriber_loader_1.DaprEventSubscriberLoader, actor_runtime_service_1.ActorRuntimeService],
182
- })
172
+ (0, common_1.Module)({})
183
173
  ], DaprModule);
184
174
  exports.DaprModule = DaprModule;
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@rayondigital/nest-dapr",
3
- "version": "0.9.70",
3
+ "version": "0.9.72",
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",
7
7
  "scripts": {
8
8
  "build": "rimraf -rf dist && tsc -p tsconfig.json",
9
9
  "lint": "eslint \"{lib,tests}/**/*.ts\" --fix",
10
- "test": "jest",
10
+ "test": "jest --runInBand",
11
+ "test:in-memory": "dapr run --app-id testing --app-protocol http --app-port 3001 --dapr-http-port 3500 --resources-path ./tests/components npm run test",
11
12
  "start:test": "nodemon tests/e2e/main.ts",
12
13
  "push:version": "git push --follow-tags"
13
14
  },