@loopback/example-passport-login 4.0.5 → 4.0.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-passport-login@4.0.5...@loopback/example-passport-login@4.0.6) (2022-12-14)
7
+
8
+ **Note:** Version bump only for package @loopback/example-passport-login
9
+
6
10
  ## [4.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-passport-login@4.0.4...@loopback/example-passport-login@4.0.5) (2022-11-24)
7
11
 
8
12
  **Note:** Version bump only for package @loopback/example-passport-login
@@ -2,8 +2,8 @@ import { UserIdentityService } from '@loopback/authentication';
2
2
  import { UserProfile } from '@loopback/security';
3
3
  import { Profile } from 'passport';
4
4
  import { User } from '../models';
5
- export declare type ProfileFunction = (accessToken: string, done: (err?: Error | null, profile?: any) => void) => void;
6
- export declare type VerifyFunction = (accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void;
5
+ export type ProfileFunction = (accessToken: string, done: (err?: Error | null, profile?: any) => void) => void;
6
+ export type VerifyFunction = (accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void;
7
7
  export declare namespace PassportAuthenticationBindings {
8
8
  const OAUTH2_STRATEGY = "passport.authentication.oauth2.strategy";
9
9
  }
@@ -4,7 +4,7 @@ import { UserProfile } from '@loopback/security';
4
4
  import { UserRepository } from '../repositories';
5
5
  import { UserCredentialsRepository } from '../repositories/user-credentials.repository';
6
6
  import { UserIdentityRepository } from '../repositories/user-identity.repository';
7
- export declare type Credentials = {
7
+ export type Credentials = {
8
8
  email: string;
9
9
  password: string;
10
10
  name: string;
@@ -7,4 +7,4 @@ export declare class UserCredentials extends Entity {
7
7
  }
8
8
  export interface UserCredentialsRelations {
9
9
  }
10
- export declare type UserCredentialsWithRelations = UserCredentials & UserCredentialsRelations;
10
+ export type UserCredentialsWithRelations = UserCredentials & UserCredentialsRelations;
@@ -11,4 +11,4 @@ export declare class UserIdentity extends Entity {
11
11
  }
12
12
  export interface UserIdentityRelations {
13
13
  }
14
- export declare type UserIdentityWithRelations = UserIdentity & UserIdentityRelations;
14
+ export type UserIdentityWithRelations = UserIdentity & UserIdentityRelations;
@@ -15,4 +15,4 @@ export declare class User extends Entity {
15
15
  }
16
16
  export interface UserRelations {
17
17
  }
18
- export declare type UserWithRelations = User & UserRelations;
18
+ export type UserWithRelations = User & UserRelations;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/example-passport-login",
3
3
  "description": "An example to demonstrate authentication with passport strategies",
4
- "version": "4.0.5",
4
+ "version": "4.0.6",
5
5
  "keywords": [
6
6
  "loopback",
7
7
  "LoopBack",
@@ -47,19 +47,19 @@
47
47
  "access": "public"
48
48
  },
49
49
  "dependencies": {
50
- "@loopback/authentication": "^9.0.5",
51
- "@loopback/authentication-passport": "^5.0.5",
52
- "@loopback/boot": "^5.0.5",
53
- "@loopback/core": "^4.0.5",
54
- "@loopback/mock-oauth2-provider": "^0.6.5",
55
- "@loopback/repository": "^5.1.0",
56
- "@loopback/rest": "^12.0.5",
57
- "@loopback/rest-crud": "^0.15.4",
58
- "@loopback/rest-explorer": "^5.0.5",
59
- "@loopback/security": "^0.8.5",
60
- "@loopback/service-proxy": "^5.0.5",
50
+ "@loopback/authentication": "^9.0.6",
51
+ "@loopback/authentication-passport": "^5.0.6",
52
+ "@loopback/boot": "^5.0.6",
53
+ "@loopback/core": "^4.0.6",
54
+ "@loopback/mock-oauth2-provider": "^0.6.6",
55
+ "@loopback/repository": "^5.1.1",
56
+ "@loopback/rest": "^12.0.6",
57
+ "@loopback/rest-crud": "^0.15.5",
58
+ "@loopback/rest-explorer": "^5.0.6",
59
+ "@loopback/security": "^0.8.6",
60
+ "@loopback/service-proxy": "^5.0.6",
61
61
  "@types/jsonwebtoken": "8.5.9",
62
- "@types/lodash": "^4.14.190",
62
+ "@types/lodash": "^4.14.191",
63
63
  "@types/passport": "^1.0.11",
64
64
  "@types/passport-facebook": "^2.1.11",
65
65
  "@types/passport-google-oauth": "^1.0.42",
@@ -87,17 +87,17 @@
87
87
  "tslib": "^2.4.1"
88
88
  },
89
89
  "devDependencies": {
90
- "@loopback/build": "^9.0.5",
91
- "@loopback/eslint-config": "^13.0.5",
92
- "@loopback/http-caching-proxy": "^4.0.5",
93
- "@loopback/testlab": "^5.0.5",
94
- "@types/express": "^4.17.14",
95
- "@types/lodash": "^4.14.190",
96
- "@types/node": "^14.18.33",
90
+ "@loopback/build": "^9.0.6",
91
+ "@loopback/eslint-config": "^13.0.6",
92
+ "@loopback/http-caching-proxy": "^4.0.6",
93
+ "@loopback/testlab": "^5.0.6",
94
+ "@types/express": "^4.17.15",
95
+ "@types/lodash": "^4.14.191",
96
+ "@types/node": "^14.18.34",
97
97
  "axios": "^0.27.2",
98
98
  "eslint": "^8.28.0",
99
99
  "lodash": "^4.17.21",
100
- "typescript": "~4.8.4"
100
+ "typescript": "~4.9.4"
101
101
  },
102
- "gitHead": "2d762e2a1bcc73263dd7776e072b3ec3a9279472"
102
+ "gitHead": "709a5ecd1ffddeb02262cecabf7b663c7b4d7e47"
103
103
  }