@echo-nova-404/auth-check 0.1.12 → 0.1.14

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.
@@ -10,6 +10,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.AuthCheckModule = void 0;
11
11
  const common_1 = require("@nestjs/common");
12
12
  const constants_1 = require("./constants");
13
+ const guards_1 = require("./guards");
14
+ const auth_v1_guard_1 = require("./guards/auth-v1.guard");
13
15
  const services_1 = require("./services");
14
16
  let AuthCheckModule = AuthCheckModule_1 = class AuthCheckModule {
15
17
  static async forRootAsync({ inject, useFactory, }) {
@@ -30,8 +32,8 @@ exports.AuthCheckModule = AuthCheckModule;
30
32
  exports.AuthCheckModule = AuthCheckModule = AuthCheckModule_1 = __decorate([
31
33
  (0, common_1.Global)(),
32
34
  (0, common_1.Module)({
33
- providers: [services_1.AuthV1Service],
34
- exports: [services_1.AuthV1Service],
35
+ providers: [services_1.AuthV1Service, auth_v1_guard_1.AuthV1Guard, guards_1.AuthGuard],
36
+ exports: [guards_1.AuthGuard, auth_v1_guard_1.AuthV1Guard],
35
37
  })
36
38
  ], AuthCheckModule);
37
39
  //# sourceMappingURL=auth-check.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth-check.module.js","sourceRoot":"","sources":["../src/auth-check.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAmF;AACnF,2CAAsD;AACtD,yCAA2C;AAQpC,IAAM,eAAe,uBAArB,MAAM,eAAe;IAC3B,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,EACzB,MAAM,EACN,UAAU,GACmB;QAC7B,MAAM,iBAAiB,GAAa;YACnC,OAAO,EAAE,mCAAuB;YAChC,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,UAAU;SACtB,CAAC;QACF,OAAO;YACN,MAAM,EAAE,iBAAe;YACvB,OAAO,EAAE,EAAE;YACX,SAAS,EAAE,CAAC,iBAAiB,CAAC;YAC9B,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC5B,CAAC;IACH,CAAC;CACD,CAAA;AAjBY,0CAAe;0BAAf,eAAe;IAL3B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACP,SAAS,EAAE,CAAC,wBAAa,CAAC;QAC1B,OAAO,EAAE,CAAC,wBAAa,CAAC;KACxB,CAAC;GACW,eAAe,CAiB3B"}
1
+ {"version":3,"file":"auth-check.module.js","sourceRoot":"","sources":["../src/auth-check.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAmF;AACnF,2CAAsD;AACtD,qCAAqC;AACrC,0DAAqD;AACrD,yCAA2C;AAQpC,IAAM,eAAe,uBAArB,MAAM,eAAe;IAC3B,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,EACzB,MAAM,EACN,UAAU,GACmB;QAC7B,MAAM,iBAAiB,GAAa;YACnC,OAAO,EAAE,mCAAuB;YAChC,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,UAAU;SACtB,CAAC;QACF,OAAO;YACN,MAAM,EAAE,iBAAe;YACvB,OAAO,EAAE,EAAE;YACX,SAAS,EAAE,CAAC,iBAAiB,CAAC;YAC9B,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC5B,CAAC;IACH,CAAC;CACD,CAAA;AAjBY,0CAAe;0BAAf,eAAe;IAL3B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACP,SAAS,EAAE,CAAC,wBAAa,EAAE,2BAAW,EAAE,kBAAS,CAAC;QAClD,OAAO,EAAE,CAAC,kBAAS,EAAE,2BAAW,CAAC;KACjC,CAAC;GACW,eAAe,CAiB3B"}
@@ -1,2 +1 @@
1
1
  export * from './auth.guard';
2
- export * from './auth-v1.guard';
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./auth.guard"), exports);
18
- __exportStar(require("./auth-v1.guard"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/guards/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/guards/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@echo-nova-404/auth-check",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "A library for authorization checks using SSO",
5
5
  "author": "Taras Khokhlov",
6
6
  "license": "UNLICENSED",