File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1+ feature - Adds functions.app() api to access the app instance used by functions
12fixed - improved types of the `Change` class to describe both `before` and `after` fields as non-optional
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import * as _ from 'lodash';
2424import * as firebase from 'firebase-admin' ;
2525import { firebaseConfig } from './config' ;
2626
27- /** @internal */
2827export function apps ( ) : apps . Apps {
2928 if ( typeof apps . singleton === 'undefined' ) {
3029 apps . init ( ) ;
Original file line number Diff line number Diff line change 2424import * as analytics from './providers/analytics' ;
2525import * as auth from './providers/auth' ;
2626
27+ import * as apps from './apps' ;
2728import * as crashlytics from './providers/crashlytics' ;
2829import * as database from './providers/database' ;
2930import * as firestore from './providers/firestore' ;
@@ -32,9 +33,11 @@ import * as pubsub from './providers/pubsub';
3233import * as remoteConfig from './providers/remoteConfig' ;
3334import * as storage from './providers/storage' ;
3435import { firebaseConfig } from './config' ;
36+ var app = apps . apps ( ) ;
3537
3638export {
3739 analytics ,
40+ app ,
3841 auth ,
3942 crashlytics ,
4043 database ,
You can’t perform that action at this time.
0 commit comments