reactfire 4.2.3-exp.8d83c9e → 4.2.3-exp.9429194

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,4 +1,5 @@
1
1
  import { Observable, Subject, Subscriber, Subscription } from 'rxjs';
2
+ import { ObservableStatus } from './useObservable';
2
3
  export declare class SuspenseSubject<T> extends Subject<T> {
3
4
  private _timeoutWindow;
4
5
  private _suspenseEnabled;
@@ -9,14 +10,18 @@ export declare class SuspenseSubject<T> extends Subject<T> {
9
10
  private _error;
10
11
  private _innerObservable;
11
12
  private _warmupSubscription;
13
+ private _immutableStatus;
14
+ private _isComplete;
12
15
  private _innerSubscriber;
13
16
  private _resolveFirstEmission;
14
17
  constructor(innerObservable: Observable<T>, _timeoutWindow: number, _suspenseEnabled: boolean);
15
18
  get hasValue(): boolean;
16
19
  get value(): T;
17
20
  get firstEmission(): Promise<void>;
21
+ private _updateImmutableStatus;
18
22
  private _next;
19
23
  private _reset;
20
24
  _subscribe(subscriber: Subscriber<T>): Subscription;
21
25
  get ourError(): any;
26
+ get immutableStatus(): ObservableStatus<T>;
22
27
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { FirebaseApp, FirebaseOptions } from 'firebase/app';
3
- interface FirebaseAppProviderProps {
3
+ export interface FirebaseAppProviderProps {
4
4
  firebaseApp?: FirebaseApp;
5
5
  firebaseConfig?: FirebaseOptions;
6
6
  appName?: string;
@@ -11,4 +11,3 @@ export declare function FirebaseAppProvider(props: React.PropsWithChildren<Fireb
11
11
  export declare function useIsSuspenseEnabled(): boolean;
12
12
  export declare function useSuspenseEnabledFromConfigAndContext(suspenseFromConfig?: boolean): boolean;
13
13
  export declare function useFirebaseApp(): FirebaseApp;
14
- export {};