revdev 0.237.0 → 0.238.0

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,11 +1,7 @@
1
- export declare type FeSocialProviderName = "facebook" | "google";
1
+ import { SocialProvider } from "../../common";
2
2
  export interface FeSocialAuthData {
3
- token?: string;
3
+ token: string;
4
4
  email: string;
5
5
  name: string;
6
- providerName: FeSocialProviderName;
7
- providerId: string;
8
- }
9
- export interface FeAuthToken {
10
- token: string;
6
+ provider: SocialProvider;
11
7
  }
@@ -1,4 +1,3 @@
1
- import { FeSocialProviderName } from "./entity";
2
1
  export interface FeLoginRequest {
3
2
  username: string;
4
3
  password: string;
@@ -12,18 +11,13 @@ export interface FeSignUpRequest {
12
11
  learn?: string;
13
12
  }
14
13
  export interface FeSocialSignUpRequest extends FeSignUpRequest {
15
- providerName: FeSocialProviderName;
16
- providerId: string;
14
+ token: string;
17
15
  }
18
16
  export interface FeChangePasswordRequest {
19
17
  password: string;
20
18
  confirmPassword: string;
21
19
  token: string;
22
20
  }
23
- export interface FeSocialAuthRequest {
24
- providerName: FeSocialProviderName;
25
- providerToken: string;
26
- }
27
21
  export interface FeForgotPasswordRequest {
28
22
  email: string;
29
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.237.0",
3
+ "version": "0.238.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",