@nestjs-redisx/core 1.0.4 → 1.0.5
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.
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
116
116
|
|
|
117
117
|
// src/api/redis.module.ts
|
|
118
118
|
var import_common5 = require("@nestjs/common");
|
|
119
|
-
var
|
|
119
|
+
var import_core2 = require("@nestjs/core");
|
|
120
120
|
|
|
121
121
|
// src/client/application/redis-client.manager.ts
|
|
122
122
|
var import_events2 = __toESM(require("events"));
|
|
@@ -4533,6 +4533,7 @@ RedisService = __decorateClass([
|
|
|
4533
4533
|
|
|
4534
4534
|
// src/plugin/application/plugin-registry.service.ts
|
|
4535
4535
|
var import_common4 = require("@nestjs/common");
|
|
4536
|
+
var import_core = require("@nestjs/core");
|
|
4536
4537
|
var PluginRegistryService = class {
|
|
4537
4538
|
constructor(plugins, clientManager, options, moduleRef) {
|
|
4538
4539
|
this.plugins = plugins;
|
|
@@ -4687,7 +4688,8 @@ PluginRegistryService = __decorateClass([
|
|
|
4687
4688
|
(0, import_common4.Injectable)(),
|
|
4688
4689
|
__decorateParam(0, (0, import_common4.Inject)(REGISTERED_PLUGINS)),
|
|
4689
4690
|
__decorateParam(1, (0, import_common4.Inject)(CLIENT_MANAGER)),
|
|
4690
|
-
__decorateParam(2, (0, import_common4.Inject)(REDIS_MODULE_OPTIONS))
|
|
4691
|
+
__decorateParam(2, (0, import_common4.Inject)(REDIS_MODULE_OPTIONS)),
|
|
4692
|
+
__decorateParam(3, (0, import_common4.Inject)(import_core.ModuleRef))
|
|
4691
4693
|
], PluginRegistryService);
|
|
4692
4694
|
|
|
4693
4695
|
// src/api/redis.module.ts
|
|
@@ -4751,7 +4753,7 @@ var RedisModule = class {
|
|
|
4751
4753
|
return {
|
|
4752
4754
|
module: RedisModule,
|
|
4753
4755
|
global: true,
|
|
4754
|
-
imports: [
|
|
4756
|
+
imports: [import_core2.DiscoveryModule, ...pluginImports],
|
|
4755
4757
|
// Required for plugins that scan providers (e.g., CachePlugin)
|
|
4756
4758
|
providers: [...providers, ...pluginProviders, { provide: REGISTERED_PLUGINS, useValue: plugins }, PluginRegistryService, RedisService],
|
|
4757
4759
|
controllers: pluginControllers,
|
|
@@ -4844,7 +4846,7 @@ var RedisModule = class {
|
|
|
4844
4846
|
return {
|
|
4845
4847
|
module: RedisModule,
|
|
4846
4848
|
global: true,
|
|
4847
|
-
imports: [
|
|
4849
|
+
imports: [import_core2.DiscoveryModule, ...imports, ...pluginImports],
|
|
4848
4850
|
// DiscoveryModule required for plugins
|
|
4849
4851
|
providers: [...baseProviders, ...pluginProviders, { provide: REGISTERED_PLUGINS, useValue: plugins }, PluginRegistryService, RedisService],
|
|
4850
4852
|
controllers: pluginControllers,
|