strapi-plugin-firebase-authentication 1.1.8 → 1.1.10

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.
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  magicLinkEmailSubject: any;
17
17
  magicLinkExpiryHours: any;
18
18
  }>;
19
- setFirebaseConfigJson(ctx: import("koa").Context | import("koa").DefaultContext): Promise<any>;
19
+ setFirebaseConfigJson(requestBody: any): Promise<any>;
20
20
  delFirebaseConfigJson: () => Promise<any>;
21
21
  updateMagicLinkSettings(settings: any): Promise<{
22
22
  enableMagicLink: any;
@@ -42,7 +42,7 @@ declare const _default: {
42
42
  };
43
43
  }>;
44
44
  updateFirebaseUser: (entityId: any, payload: any) => Promise<any>;
45
- update: (entityId: any, payload: any) => Promise<[PromiseSettledResult<any>]>;
45
+ update: (entityId: any, payload: any) => Promise<[PromiseSettledResult<any>, PromiseSettledResult<any>]>;
46
46
  resetPasswordFirebaseUser: (entityId: any, payload: any) => Promise<any>;
47
47
  resetPasswordStrapiUser: (entityId: any, payload: any) => Promise<any>;
48
48
  resetPassword: (entityId: any, payload: any) => Promise<[PromiseSettledResult<any>, PromiseSettledResult<any>]>;
@@ -78,14 +78,14 @@ declare const _default: {
78
78
  user: any;
79
79
  jwt: any;
80
80
  }>;
81
- forgotPassword: (ctx: any) => Promise<{
81
+ forgotPassword: (email: string) => Promise<{
82
82
  message: string;
83
83
  }>;
84
- resetPassword: (ctx: any) => Promise<{
84
+ resetPassword: (password: string, token: string, populate: any[]) => Promise<{
85
85
  user: any;
86
86
  jwt: any;
87
87
  }>;
88
- requestMagicLink(ctx: any): Promise<{
88
+ requestMagicLink(email: string): Promise<{
89
89
  debug: {
90
90
  linkSent: any;
91
91
  email: string;
@@ -1,4 +1,3 @@
1
- import { Context, DefaultContext } from "koa";
2
1
  declare const _default: ({ strapi }: {
3
2
  strapi: any;
4
3
  }) => {
@@ -52,7 +51,7 @@ declare const _default: ({ strapi }: {
52
51
  * The service account JSON is encrypted using AES before storage,
53
52
  * while the Web API key and password settings are stored in plain text.
54
53
  */
55
- setFirebaseConfigJson(ctx: DefaultContext | Context): Promise<any>;
54
+ setFirebaseConfigJson(requestBody: any): Promise<any>;
56
55
  delFirebaseConfigJson: () => Promise<any>;
57
56
  /**
58
57
  * Updates only the magic link settings without affecting other configuration
@@ -12,7 +12,7 @@ declare const _default: ({ strapi }: {
12
12
  };
13
13
  }>;
14
14
  updateFirebaseUser: (entityId: any, payload: any) => Promise<any>;
15
- update: (entityId: any, payload: any) => Promise<[PromiseSettledResult<any>]>;
15
+ update: (entityId: any, payload: any) => Promise<[PromiseSettledResult<any>, PromiseSettledResult<any>]>;
16
16
  resetPasswordFirebaseUser: (entityId: any, payload: any) => Promise<any>;
17
17
  resetPasswordStrapiUser: (entityId: any, payload: any) => Promise<any>;
18
18
  resetPassword: (entityId: any, payload: any) => Promise<[PromiseSettledResult<any>, PromiseSettledResult<any>]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-firebase-authentication",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "Allows easy integration between clients utilizing Firebase for authentication and Strapi",
5
5
  "license": "MIT",
6
6
  "repository": {