@pristine-ts/jwt 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, Request } from "@pristine-ts/common";
1
+ import { PristineError, Request } from "@pristine-ts/common";
2
2
  /**
3
3
  * This Error is thrown when you try to decode a JWT but the token is invalid.
4
4
  */
5
- export declare class InvalidJwtError extends LoggableError {
5
+ export declare class InvalidJwtError extends PristineError {
6
6
  /**
7
7
  * This Error is thrown when you try to decode a JWT but the token is invalid.
8
8
  * @param message The error message to show.
@@ -1,8 +1,8 @@
1
- import { LoggableError, Request } from "@pristine-ts/common";
1
+ import { PristineError, Request } from "@pristine-ts/common";
2
2
  /**
3
3
  * This Error is thrown when there's you try to decode a JWT in a request but the AuthorizationHeader is missing.
4
4
  */
5
- export declare class JwtAuthorizationHeaderError extends LoggableError {
5
+ export declare class JwtAuthorizationHeaderError extends PristineError {
6
6
  /**
7
7
  * This Error is thrown when there's you try to decode a JWT in a request but the AuthorizationHeader is missing.
8
8
  * @param message The error message.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristine-ts/jwt",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "",
5
5
  "module": "dist/lib/esm/jwt.module.js",
6
6
  "main": "dist/lib/cjs/jwt.module.js",
@@ -20,9 +20,9 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@pristine-ts/common": "^2.0.4",
24
- "@pristine-ts/networking": "^2.0.4",
25
- "@pristine-ts/security": "^2.0.4",
23
+ "@pristine-ts/common": "^2.0.5",
24
+ "@pristine-ts/networking": "^2.0.5",
25
+ "@pristine-ts/security": "^2.0.5",
26
26
  "jsonwebtoken": "^9.0.2"
27
27
  },
28
28
  "devDependencies": {
@@ -62,7 +62,7 @@
62
62
  "src/*.{js,ts}"
63
63
  ]
64
64
  },
65
- "gitHead": "f376d34e13c1b17b7764c0b47708148e4e51390b",
65
+ "gitHead": "9a960b330ee1961bb9a6151ce50257c4d8ccd48d",
66
66
  "repository": {
67
67
  "type": "git",
68
68
  "url": "https://github.com/magieno/pristine-ts.git",