@rytass/secret-adapter-vault-nestjs 0.2.4 → 0.2.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/index.cjs.js CHANGED
@@ -20,7 +20,7 @@ function _ts_param(paramIndex, decorator) {
20
20
  decorator(target, key, paramIndex);
21
21
  };
22
22
  }
23
- exports.VaultService = class VaultService {
23
+ class VaultService {
24
24
  config;
25
25
  manager;
26
26
  onReadyCallbacks;
@@ -64,8 +64,8 @@ exports.VaultService = class VaultService {
64
64
  });
65
65
  });
66
66
  }
67
- };
68
- exports.VaultService = _ts_decorate$1([
67
+ }
68
+ VaultService = _ts_decorate$1([
69
69
  common.Injectable(),
70
70
  _ts_param(1, common.Inject(VAULT_PATH_TOKEN)),
71
71
  _ts_metadata("design:type", Function),
@@ -73,7 +73,7 @@ exports.VaultService = _ts_decorate$1([
73
73
  typeof config.ConfigService === "undefined" ? Object : config.ConfigService,
74
74
  String
75
75
  ])
76
- ], exports.VaultService);
76
+ ], VaultService);
77
77
 
78
78
  function _ts_decorate(decorators, target, key, desc) {
79
79
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -81,7 +81,7 @@ function _ts_decorate(decorators, target, key, desc) {
81
81
  else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
82
82
  return c > 3 && r && Object.defineProperty(target, key, r), r;
83
83
  }
84
- exports.VaultModule = class VaultModule1 {
84
+ class VaultModule {
85
85
  static forRoot(options = {
86
86
  path: '/'
87
87
  }) {
@@ -91,22 +91,25 @@ exports.VaultModule = class VaultModule1 {
91
91
  envFilePath: options.fallbackFile
92
92
  })
93
93
  ],
94
- module: exports.VaultModule,
94
+ module: VaultModule,
95
95
  providers: [
96
96
  config.ConfigService,
97
97
  {
98
98
  provide: VAULT_PATH_TOKEN,
99
99
  useValue: options.path
100
100
  },
101
- exports.VaultService
101
+ VaultService
102
102
  ],
103
103
  exports: [
104
- exports.VaultService
104
+ VaultService
105
105
  ]
106
106
  };
107
107
  }
108
- };
109
- exports.VaultModule = _ts_decorate([
108
+ }
109
+ VaultModule = _ts_decorate([
110
110
  common.Global(),
111
111
  common.Module({})
112
- ], exports.VaultModule);
112
+ ], VaultModule);
113
+
114
+ exports.VaultModule = VaultModule;
115
+ exports.VaultService = VaultService;
package/module.js CHANGED
@@ -9,7 +9,7 @@ function _ts_decorate(decorators, target, key, desc) {
9
9
  else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
10
  return c > 3 && r && Object.defineProperty(target, key, r), r;
11
11
  }
12
- let VaultModule = class VaultModule1 {
12
+ class VaultModule {
13
13
  static forRoot(options = {
14
14
  path: '/'
15
15
  }) {
@@ -33,7 +33,7 @@ let VaultModule = class VaultModule1 {
33
33
  ]
34
34
  };
35
35
  }
36
- };
36
+ }
37
37
  VaultModule = _ts_decorate([
38
38
  Global(),
39
39
  Module({})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rytass/secret-adapter-vault-nestjs",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Rytass Sceret Vault nestjs adapter",
5
5
  "keywords": [
6
6
  "rytass",
@@ -24,15 +24,15 @@
24
24
  "reflect-metadata": "^0.1.13"
25
25
  },
26
26
  "dependencies": {
27
- "@rytass/secret-adapter-vault": "^0.2.1",
28
- "regenerator-runtime": "^0.13.11"
27
+ "@rytass/secret-adapter-vault": "^0.2.2",
28
+ "regenerator-runtime": "^0.14.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@nestjs/common": "^9.4.2",
32
- "@nestjs/config": "^2.3.2",
33
- "@nestjs/core": "^9.4.2",
34
- "axios": "^1.4.0",
35
- "reflect-metadata": "^0.1.13"
31
+ "@nestjs/common": "^10.3.10",
32
+ "@nestjs/config": "^3.2.3",
33
+ "@nestjs/core": "^10.3.10",
34
+ "axios": "^1.7.2",
35
+ "reflect-metadata": "^0.2.2"
36
36
  },
37
37
  "main": "./index.cjs.js",
38
38
  "module": "./index.js",
package/service.js CHANGED
@@ -17,7 +17,7 @@ function _ts_param(paramIndex, decorator) {
17
17
  decorator(target, key, paramIndex);
18
18
  };
19
19
  }
20
- let VaultService = class VaultService {
20
+ class VaultService {
21
21
  config;
22
22
  manager;
23
23
  onReadyCallbacks;
@@ -61,7 +61,7 @@ let VaultService = class VaultService {
61
61
  });
62
62
  });
63
63
  }
64
- };
64
+ }
65
65
  VaultService = _ts_decorate([
66
66
  Injectable(),
67
67
  _ts_param(1, Inject(VAULT_PATH_TOKEN)),