@pristine-ts/security 2.0.4 → 2.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.
@@ -1,8 +1,8 @@
1
- import { LoggableError } from "@pristine-ts/common";
1
+ import { PristineError } from "@pristine-ts/common";
2
2
  import { GuardInterface } from "../interfaces/guard.interface";
3
3
  /**
4
4
  * This Error is thrown when there's an error that happens when the guards ere being initialized
5
5
  */
6
- export declare class GuardDecoratorError extends LoggableError {
6
+ export declare class GuardDecoratorError extends PristineError {
7
7
  constructor(message: string, guard: GuardInterface | Function, options: any, target: any, propertyKey?: string, descriptor?: PropertyDescriptor);
8
8
  }
@@ -1,8 +1,8 @@
1
- import { LoggableError } from "@pristine-ts/common";
1
+ import { PristineError } from "@pristine-ts/common";
2
2
  import { GuardInterface } from "../interfaces/guard.interface";
3
3
  /**
4
4
  * This Error is thrown when there's an error that happens when the guards ere being initialized
5
5
  */
6
- export declare class GuardInstantiationError extends LoggableError {
6
+ export declare class GuardInstantiationError extends PristineError {
7
7
  constructor(message: string, instantiatedGuard: GuardInterface | Function, guardContext: any);
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristine-ts/security",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "",
5
5
  "module": "dist/lib/esm/security.module.js",
6
6
  "main": "dist/lib/cjs/security.module.js",
@@ -20,8 +20,8 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@pristine-ts/common": "^2.0.4",
24
- "@pristine-ts/logging": "^2.0.4"
23
+ "@pristine-ts/common": "^2.0.5",
24
+ "@pristine-ts/logging": "^2.0.5"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/jsonwebtoken": "^8.5.1"
@@ -60,7 +60,7 @@
60
60
  "src/*.{js,ts}"
61
61
  ]
62
62
  },
63
- "gitHead": "f376d34e13c1b17b7764c0b47708148e4e51390b",
63
+ "gitHead": "9a960b330ee1961bb9a6151ce50257c4d8ccd48d",
64
64
  "repository": {
65
65
  "type": "git",
66
66
  "url": "https://github.com/magieno/pristine-ts.git",