Skip to content

Commit 3d6dd6c

Browse files
committed
Merge remote-tracking branch 'origin/fei-functions-exp-fix' into fei-functions-exp-fix
2 parents d0b6f80 + 5ebd922 commit 3d6dd6c

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.changeset/chatty-games-attend.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
---
3+
4+
rename app-exp to app in component framework

packages-exp/app-exp/src/firebaseApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class FirebaseAppImpl implements FirebaseApp {
4545
config.automaticDataCollectionEnabled;
4646
this.container = container;
4747
this.container.addComponent(
48-
new Component('app-exp', () => this, ComponentType.PUBLIC)
48+
new Component('app', () => this, ComponentType.PUBLIC)
4949
);
5050
}
5151

packages-exp/app-types-exp/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export interface VersionService {
123123

124124
declare module '@firebase/component' {
125125
interface NameServiceMapping {
126-
'app-exp': FirebaseApp;
126+
'app': FirebaseApp;
127127
'app-version': VersionService;
128128
'platform-logger': PlatformLoggerService;
129129
}

packages/firestore/exp/index.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function registerFirestore(): void {
7979
new Component(
8080
'firestore-exp',
8181
container => {
82-
const app = container.getProvider('app-exp').getImmediate()!;
82+
const app = container.getProvider('app').getImmediate()!;
8383
return ((app, auth) => new Firestore(app, auth))(
8484
app,
8585
container.getProvider('auth-internal')

packages/firestore/lite/index.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function registerFirestore(): void {
8282
new Component(
8383
'firestore/lite',
8484
container => {
85-
const app = container.getProvider('app-exp').getImmediate()!;
85+
const app = container.getProvider('app').getImmediate()!;
8686
return ((app, auth) => new Firestore(app, auth))(
8787
app,
8888
container.getProvider('auth-internal')

0 commit comments

Comments
 (0)