reactfire 4.2.0 → 4.2.1

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.
package/dist/sdk.d.ts CHANGED
@@ -11,6 +11,15 @@ import type { RemoteConfig } from 'firebase/remote-config';
11
11
  import { FirebaseApp } from 'firebase/app';
12
12
  import { ObservableStatus } from './useObservable';
13
13
  import { ReactFireOptions } from '.';
14
+ export declare const AppCheckSdkContext: React.Context<AppCheck | undefined>;
15
+ export declare const AuthSdkContext: React.Context<Auth | undefined>;
16
+ export declare const AnalyticsSdkContext: React.Context<Analytics | undefined>;
17
+ export declare const DatabaseSdkContext: React.Context<Database | undefined>;
18
+ export declare const FirestoreSdkContext: React.Context<Firestore | undefined>;
19
+ export declare const FunctionsSdkContext: React.Context<Functions | undefined>;
20
+ export declare const StorageSdkContext: React.Context<FirebaseStorage | undefined>;
21
+ export declare const PerformanceSdkContext: React.Context<FirebasePerformance | undefined>;
22
+ export declare const RemoteConfigSdkContext: React.Context<RemoteConfig | undefined>;
14
23
  declare type FirebaseSdks = Analytics | AppCheck | Auth | Database | Firestore | FirebasePerformance | FirebaseStorage | Functions | RemoteConfig;
15
24
  export declare const AppCheckProvider: (props: React.PropsWithChildren<{
16
25
  sdk: AppCheck;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.2.0",
2
+ "version": "4.2.1",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
package/src/sdk.tsx CHANGED
@@ -15,15 +15,15 @@ import { ObservableStatus, useObservable } from './useObservable';
15
15
  import { from } from 'rxjs';
16
16
  import { ReactFireOptions } from '.';
17
17
 
18
- const AppCheckSdkContext = React.createContext<AppCheck | undefined>(undefined);
19
- const AuthSdkContext = React.createContext<Auth | undefined>(undefined);
20
- const AnalyticsSdkContext = React.createContext<Analytics | undefined>(undefined);
21
- const DatabaseSdkContext = React.createContext<Database | undefined>(undefined);
22
- const FirestoreSdkContext = React.createContext<Firestore | undefined>(undefined);
23
- const FunctionsSdkContext = React.createContext<Functions | undefined>(undefined);
24
- const StorageSdkContext = React.createContext<FirebaseStorage | undefined>(undefined);
25
- const PerformanceSdkContext = React.createContext<FirebasePerformance | undefined>(undefined);
26
- const RemoteConfigSdkContext = React.createContext<RemoteConfig | undefined>(undefined);
18
+ export const AppCheckSdkContext = React.createContext<AppCheck | undefined>(undefined);
19
+ export const AuthSdkContext = React.createContext<Auth | undefined>(undefined);
20
+ export const AnalyticsSdkContext = React.createContext<Analytics | undefined>(undefined);
21
+ export const DatabaseSdkContext = React.createContext<Database | undefined>(undefined);
22
+ export const FirestoreSdkContext = React.createContext<Firestore | undefined>(undefined);
23
+ export const FunctionsSdkContext = React.createContext<Functions | undefined>(undefined);
24
+ export const StorageSdkContext = React.createContext<FirebaseStorage | undefined>(undefined);
25
+ export const PerformanceSdkContext = React.createContext<FirebasePerformance | undefined>(undefined);
26
+ export const RemoteConfigSdkContext = React.createContext<RemoteConfig | undefined>(undefined);
27
27
 
28
28
  type FirebaseSdks = Analytics | AppCheck | Auth | Database | Firestore | FirebasePerformance | FirebaseStorage | Functions | RemoteConfig;
29
29