@mindly/ui-components 6.5.0-dev.5 → 6.5.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,10 +1,4 @@
1
1
  import React, { FC } from 'react';
2
- import { FirebaseApp } from 'firebase/app';
3
2
  import { AuthContextType } from './types';
4
3
  export declare const AuthContext: React.Context<AuthContextType | null>;
5
- type AuthProviderProps = {
6
- firebaseWebApp: FirebaseApp;
7
- skipNativeAuth?: boolean;
8
- };
9
- export declare const AuthProvider: FC<AuthProviderProps>;
10
- export {};
4
+ export declare const AuthProvider: FC;
@@ -1,5 +1,4 @@
1
1
  import { CreateUserWithEmailAndPasswordOptions, LinkWithEmailAndPasswordOptions, SendPasswordResetEmailOptions, SignInResult, SignInWithEmailAndPasswordOptions, User } from '@capacitor-firebase/authentication';
2
- import { UserCredential } from 'firebase/auth';
3
2
  export type AuthContextType = {
4
3
  isAuthLoading: boolean;
5
4
  isAuthReady: boolean;
@@ -7,7 +6,7 @@ export type AuthContextType = {
7
6
  signInAnonymously: () => Promise<SignInResult>;
8
7
  signInWithApple: () => Promise<SignInResult>;
9
8
  signInWithGoogle: () => Promise<SignInResult>;
10
- signInWithCustomToken: (token: string) => Promise<SignInResult | UserCredential>;
9
+ signInWithCustomToken: (token: string) => Promise<SignInResult>;
11
10
  signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
12
11
  linkWithApple: () => Promise<SignInResult>;
13
12
  linkWithGoogle: () => Promise<SignInResult>;
package/dist/index.d.ts CHANGED
@@ -14,9 +14,7 @@ import { AriaListBoxProps, AriaCalendarProps, DateValue, AriaTabListProps } from
14
14
  import { ToastStateProps, ToastState } from '@react-stately/toast';
15
15
  import { AriaToastRegionProps } from '@react-aria/toast';
16
16
  import { IonSearchbarCustomEvent, SearchbarChangeEventDetail, TextFieldTypes, IonInputCustomEvent, InputChangeEventDetail } from '@ionic/core';
17
- import { FirebaseApp } from 'firebase/app';
18
17
  import { User, SignInResult, SignInWithEmailAndPasswordOptions, LinkWithEmailAndPasswordOptions, CreateUserWithEmailAndPasswordOptions, SendPasswordResetEmailOptions } from '@capacitor-firebase/authentication';
19
- import { UserCredential } from 'firebase/auth';
20
18
  import { MarkdownToJSX } from 'markdown-to-jsx';
21
19
 
22
20
  interface ButtonProps$2 {
@@ -2255,7 +2253,7 @@ type AuthContextType = {
2255
2253
  signInAnonymously: () => Promise<SignInResult>;
2256
2254
  signInWithApple: () => Promise<SignInResult>;
2257
2255
  signInWithGoogle: () => Promise<SignInResult>;
2258
- signInWithCustomToken: (token: string) => Promise<SignInResult | UserCredential>;
2256
+ signInWithCustomToken: (token: string) => Promise<SignInResult>;
2259
2257
  signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
2260
2258
  linkWithApple: () => Promise<SignInResult>;
2261
2259
  linkWithGoogle: () => Promise<SignInResult>;
@@ -2268,11 +2266,7 @@ type AuthContextType = {
2268
2266
  };
2269
2267
 
2270
2268
  declare const AuthContext: React__default.Context<AuthContextType | null>;
2271
- type AuthProviderProps = {
2272
- firebaseWebApp: FirebaseApp;
2273
- skipNativeAuth?: boolean;
2274
- };
2275
- declare const AuthProvider: FC<AuthProviderProps>;
2269
+ declare const AuthProvider: FC;
2276
2270
 
2277
2271
  declare function useDomRef<T extends HTMLElement = HTMLElement>(ref: React$1.RefObject<T | null> | React$1.ForwardedRef<T | null>): React$1.RefObject<T>;
2278
2272
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "6.5.0-dev.5",
3
+ "version": "6.5.0-dev.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",