@loopback/authentication-jwt 0.12.5 → 0.12.6

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.
@@ -8,4 +8,4 @@ export declare class RefreshToken extends Entity {
8
8
  }
9
9
  export interface RefreshTokenRelations {
10
10
  }
11
- export declare type RefereshTokenWithRelations = RefreshToken & RefreshTokenRelations;
11
+ export type RefereshTokenWithRelations = RefreshToken & RefreshTokenRelations;
@@ -8,4 +8,4 @@ export declare class UserCredentials extends Entity {
8
8
  }
9
9
  export interface UserCredentialsRelations {
10
10
  }
11
- export declare type UserCredentialsWithRelations = UserCredentials & UserCredentialsRelations;
11
+ export type UserCredentialsWithRelations = UserCredentials & UserCredentialsRelations;
@@ -13,4 +13,4 @@ export declare class User extends Entity {
13
13
  }
14
14
  export interface UserRelations {
15
15
  }
16
- export declare type UserWithRelations = User & UserRelations;
16
+ export type UserWithRelations = User & UserRelations;
@@ -1,5 +1,5 @@
1
1
  import { OASEnhancer, OpenApiSpec, ReferenceObject, SecuritySchemeObject } from '@loopback/rest';
2
- export declare type SecuritySchemeObjects = {
2
+ export type SecuritySchemeObjects = {
3
3
  [securityScheme: string]: SecuritySchemeObject | ReferenceObject;
4
4
  };
5
5
  export declare const OPERATION_SECURITY_SPEC: {
@@ -6,7 +6,7 @@ import { UserRepository } from '../repositories';
6
6
  * A pre-defined type for user credentials. It assumes a user logs in
7
7
  * using the email and password. You can modify it if your app has different credential fields
8
8
  */
9
- export declare type Credentials = {
9
+ export type Credentials = {
10
10
  email: string;
11
11
  password: string;
12
12
  };
package/dist/types.d.ts CHANGED
@@ -2,7 +2,7 @@ import { UserProfile } from '@loopback/security';
2
2
  /**
3
3
  * Describes the token object that returned by the refresh token service functions.
4
4
  */
5
- export declare type TokenObject = {
5
+ export type TokenObject = {
6
6
  accessToken: string;
7
7
  expiresIn?: string | undefined;
8
8
  refreshToken?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/authentication-jwt",
3
3
  "description": "Extension for the prototype of JWT authentication",
4
- "version": "0.12.5",
4
+ "version": "0.12.6",
5
5
  "keywords": [
6
6
  "LoopBack",
7
7
  "Authentication",
@@ -37,33 +37,33 @@
37
37
  "!*/__tests__"
38
38
  ],
39
39
  "peerDependencies": {
40
- "@loopback/authentication": "^9.0.5",
41
- "@loopback/core": "^4.0.5",
42
- "@loopback/rest": "^12.0.5"
40
+ "@loopback/authentication": "^9.0.6",
41
+ "@loopback/core": "^4.0.6",
42
+ "@loopback/rest": "^12.0.6"
43
43
  },
44
44
  "dependencies": {
45
- "@loopback/security": "^0.8.5",
45
+ "@loopback/security": "^0.8.6",
46
46
  "@types/bcryptjs": "2.4.2",
47
47
  "bcryptjs": "^2.4.3",
48
48
  "debug": "^4.3.4",
49
49
  "jsonwebtoken": "^8.5.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@loopback/authentication": "^9.0.5",
53
- "@loopback/boot": "^5.0.5",
54
- "@loopback/build": "^9.0.5",
55
- "@loopback/core": "^4.0.5",
56
- "@loopback/eslint-config": "^13.0.5",
57
- "@loopback/repository": "^5.1.0",
58
- "@loopback/rest": "^12.0.5",
59
- "@loopback/rest-explorer": "^5.0.5",
60
- "@loopback/service-proxy": "^5.0.5",
61
- "@loopback/testlab": "^5.0.5",
52
+ "@loopback/authentication": "^9.0.6",
53
+ "@loopback/boot": "^5.0.6",
54
+ "@loopback/build": "^9.0.6",
55
+ "@loopback/core": "^4.0.6",
56
+ "@loopback/eslint-config": "^13.0.6",
57
+ "@loopback/repository": "^5.1.1",
58
+ "@loopback/rest": "^12.0.6",
59
+ "@loopback/rest-explorer": "^5.0.6",
60
+ "@loopback/service-proxy": "^5.0.6",
61
+ "@loopback/testlab": "^5.0.6",
62
62
  "@types/debug": "^4.1.7",
63
- "@types/lodash": "^4.14.190",
64
- "@types/node": "^14.18.33",
63
+ "@types/lodash": "^4.14.191",
64
+ "@types/node": "^14.18.34",
65
65
  "lodash": "^4.17.21",
66
- "typescript": "~4.8.4"
66
+ "typescript": "~4.9.4"
67
67
  },
68
- "gitHead": "2d762e2a1bcc73263dd7776e072b3ec3a9279472"
68
+ "gitHead": "709a5ecd1ffddeb02262cecabf7b663c7b4d7e47"
69
69
  }