strapi-plugin-firebase-authentication 1.2.1 → 1.2.4

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.
@@ -57,6 +57,6 @@ declare const firebaseController: {
57
57
  * @param ctx - Koa context with { token } in body
58
58
  * @returns { success: true, message: "Email verified successfully" }
59
59
  */
60
- verifyEmail(ctx: Context): Promise<void>;
60
+ verifyEmail(ctx: Context): Promise<Context>;
61
61
  };
62
62
  export default firebaseController;
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  requestMagicLink(ctx: import("koa").Context): Promise<void>;
10
10
  resetPasswordWithToken(ctx: import("koa").Context): Promise<void>;
11
11
  sendVerificationEmail(ctx: import("koa").Context): Promise<void>;
12
- verifyEmail(ctx: import("koa").Context): Promise<void>;
12
+ verifyEmail(ctx: import("koa").Context): Promise<import("koa").Context>;
13
13
  };
14
14
  userController: {
15
15
  list: (ctx: import("koa").Context | import("koa").DefaultContext) => Promise<void>;
@@ -30,7 +30,7 @@ declare const _default: {
30
30
  requestMagicLink(ctx: import("koa").Context): Promise<void>;
31
31
  resetPasswordWithToken(ctx: import("koa").Context): Promise<void>;
32
32
  sendVerificationEmail(ctx: import("koa").Context): Promise<void>;
33
- verifyEmail(ctx: import("koa").Context): Promise<void>;
33
+ verifyEmail(ctx: import("koa").Context): Promise<import("koa").Context>;
34
34
  };
35
35
  userController: {
36
36
  list: (ctx: import("koa").Context | import("koa").DefaultContext) => Promise<void>;
@@ -6,6 +6,7 @@ export interface TokenValidationResult {
6
6
  }
7
7
  export interface VerificationTokenValidationResult extends TokenValidationResult {
8
8
  email?: string;
9
+ code?: string;
9
10
  }
10
11
  declare const _default: ({ strapi }: {
11
12
  strapi: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-firebase-authentication",
3
- "version": "1.2.1",
3
+ "version": "1.2.4",
4
4
  "description": "Allows easy integration between clients utilizing Firebase for authentication and Strapi",
5
5
  "license": "MIT",
6
6
  "repository": {