@mindly/ui-components 6.6.0-dev.3 → 6.6.0-dev.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.
@@ -1,11 +1,12 @@
1
1
  import React, { FC } from 'react';
2
+ import { User } from '@capacitor-firebase/authentication';
2
3
  import { AuthContextType } from './types';
3
4
  export declare const AuthContext: React.Context<AuthContextType | null>;
4
5
  type AuthProviderProps = {
5
6
  /**
6
7
  * REMOVE WHEN WE MOVE AUTH TO NATIVE CAPACITOR PLUGIN
7
8
  */
8
- webAuthListener: () => () => void;
9
+ webAuthListener?: (callback: (user: User | null) => void) => () => void;
9
10
  };
10
11
  export declare const AuthProvider: FC<AuthProviderProps>;
11
12
  export {};
package/dist/index.d.ts CHANGED
@@ -2270,7 +2270,7 @@ type AuthProviderProps = {
2270
2270
  /**
2271
2271
  * REMOVE WHEN WE MOVE AUTH TO NATIVE CAPACITOR PLUGIN
2272
2272
  */
2273
- webAuthListener: () => () => void;
2273
+ webAuthListener?: (callback: (user: User | null) => void) => () => void;
2274
2274
  };
2275
2275
  declare const AuthProvider: FC<AuthProviderProps>;
2276
2276
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "6.6.0-dev.3",
3
+ "version": "6.6.0-dev.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",