@uniorganization/uni-lib 2.0.16 → 2.0.17

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.
@@ -1,5 +1,5 @@
1
1
  import { Strategy } from 'passport-jwt';
2
- import { Users } from 'src/entities';
2
+ import { Users } from '../../entities/usr.entity';
3
3
  import { Repository } from 'typeorm';
4
4
  declare const JwtStrategy_base: new (...args: any[]) => Strategy;
5
5
  export declare class JwtStrategy extends JwtStrategy_base {
@@ -26,7 +26,7 @@ const common_1 = require("@nestjs/common");
26
26
  const passport_1 = require("@nestjs/passport");
27
27
  const typeorm_1 = require("@nestjs/typeorm");
28
28
  const passport_jwt_1 = require("passport-jwt");
29
- const entities_1 = require("src/entities");
29
+ const usr_entity_1 = require("../../entities/usr.entity");
30
30
  const typeorm_2 = require("typeorm");
31
31
  let JwtStrategy = class JwtStrategy extends (0, passport_1.PassportStrategy)(passport_jwt_1.Strategy) {
32
32
  constructor(userRepository) {
@@ -51,6 +51,6 @@ let JwtStrategy = class JwtStrategy extends (0, passport_1.PassportStrategy)(pas
51
51
  exports.JwtStrategy = JwtStrategy;
52
52
  exports.JwtStrategy = JwtStrategy = __decorate([
53
53
  (0, common_1.Injectable)(),
54
- __param(0, (0, typeorm_1.InjectRepository)(entities_1.Users)),
54
+ __param(0, (0, typeorm_1.InjectRepository)(usr_entity_1.Users)),
55
55
  __metadata("design:paramtypes", [typeorm_2.Repository])
56
56
  ], JwtStrategy);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",