@uniorganization/uni-lib 1.0.7 → 1.0.8

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.
@@ -12,14 +12,14 @@ const typeorm_1 = require("@nestjs/typeorm");
12
12
  const config_service_1 = require("./config.service");
13
13
  const axios_1 = require("@nestjs/axios");
14
14
  const aes_gcm_1 = require("@nestrx/aes-gcm");
15
- const src_1 = require("src");
15
+ const config_entity_1 = require("../../entities/config.entity");
16
16
  let ConfigurationModule = class ConfigurationModule {
17
17
  };
18
18
  ConfigurationModule = __decorate([
19
19
  (0, common_1.Module)({
20
20
  imports: [
21
21
  aes_gcm_1.AesGcmModule.forRoot(process.env.JWT_KEY),
22
- typeorm_1.TypeOrmModule.forFeature([src_1.Config]),
22
+ typeorm_1.TypeOrmModule.forFeature([config_entity_1.Config]),
23
23
  axios_1.HttpModule.register({
24
24
  timeout: Number(process.env.REQUEST_TIMEOUT) || 5000,
25
25
  maxRedirects: Number(process.env.MAX_REDIRECTS) || 5,
@@ -1,7 +1,7 @@
1
1
  import { Repository } from 'typeorm';
2
2
  import { AesGcmService } from '@nestrx/aes-gcm';
3
3
  import { HttpService } from '@nestjs/axios';
4
- import { Config } from 'src';
4
+ import { Config } from '../../entities/config.entity';
5
5
  export declare class ConfigService {
6
6
  private readonly configRepository;
7
7
  private readonly httpService;
@@ -27,7 +27,7 @@ const typeorm_1 = require("@nestjs/typeorm");
27
27
  const typeorm_2 = require("typeorm");
28
28
  const aes_gcm_1 = require("@nestrx/aes-gcm");
29
29
  const axios_1 = require("@nestjs/axios");
30
- const src_1 = require("src");
30
+ const config_entity_1 = require("../../entities/config.entity");
31
31
  let ConfigService = class ConfigService {
32
32
  constructor(configRepository, httpService, aes) {
33
33
  this.configRepository = configRepository;
@@ -165,7 +165,7 @@ let ConfigService = class ConfigService {
165
165
  };
166
166
  ConfigService = __decorate([
167
167
  (0, common_1.Injectable)(),
168
- __param(0, (0, typeorm_1.InjectRepository)(src_1.Config)),
168
+ __param(0, (0, typeorm_1.InjectRepository)(config_entity_1.Config)),
169
169
  __metadata("design:paramtypes", [typeorm_2.Repository,
170
170
  axios_1.HttpService,
171
171
  aes_gcm_1.AesGcmService])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",