@firebase/app 0.10.15 → 0.10.16

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.
Files changed (52) hide show
  1. package/dist/app/src/api.d.ts +207 -207
  2. package/dist/app/src/api.test.d.ts +22 -22
  3. package/dist/app/src/constants.d.ts +26 -26
  4. package/dist/app/src/errors.d.ts +67 -67
  5. package/dist/app/src/firebaseApp.d.ts +46 -46
  6. package/dist/app/src/firebaseApp.test.d.ts +17 -17
  7. package/dist/app/src/firebaseServerApp.d.ts +36 -36
  8. package/dist/app/src/firebaseServerApp.test.d.ts +17 -17
  9. package/dist/app/src/global_index.d.ts +868 -868
  10. package/dist/app/src/heartbeatService.d.ts +83 -83
  11. package/dist/app/src/heartbeatService.test.d.ts +23 -23
  12. package/dist/app/src/index.d.ts +9 -9
  13. package/dist/app/src/indexeddb.d.ts +20 -20
  14. package/dist/app/src/indexeddb.test.d.ts +17 -17
  15. package/dist/app/src/internal.d.ts +99 -99
  16. package/dist/app/src/internal.test.d.ts +23 -23
  17. package/dist/app/src/logger.d.ts +18 -18
  18. package/dist/app/src/platformLoggerService.d.ts +23 -23
  19. package/dist/app/src/platformLoggerService.test.d.ts +24 -24
  20. package/dist/app/src/public-types.d.ts +231 -231
  21. package/dist/app/src/registerCoreComponents.d.ts +17 -17
  22. package/dist/app/src/types.d.ts +55 -55
  23. package/dist/app/test/setup.d.ts +17 -17
  24. package/dist/app/test/util.d.ts +26 -26
  25. package/dist/esm/app/src/api.d.ts +207 -207
  26. package/dist/esm/app/src/api.test.d.ts +22 -22
  27. package/dist/esm/app/src/constants.d.ts +26 -26
  28. package/dist/esm/app/src/errors.d.ts +67 -67
  29. package/dist/esm/app/src/firebaseApp.d.ts +46 -46
  30. package/dist/esm/app/src/firebaseApp.test.d.ts +17 -17
  31. package/dist/esm/app/src/firebaseServerApp.d.ts +36 -36
  32. package/dist/esm/app/src/firebaseServerApp.test.d.ts +17 -17
  33. package/dist/esm/app/src/heartbeatService.d.ts +83 -83
  34. package/dist/esm/app/src/heartbeatService.test.d.ts +23 -23
  35. package/dist/esm/app/src/index.d.ts +9 -9
  36. package/dist/esm/app/src/indexeddb.d.ts +20 -20
  37. package/dist/esm/app/src/indexeddb.test.d.ts +17 -17
  38. package/dist/esm/app/src/internal.d.ts +99 -99
  39. package/dist/esm/app/src/internal.test.d.ts +23 -23
  40. package/dist/esm/app/src/logger.d.ts +18 -18
  41. package/dist/esm/app/src/platformLoggerService.d.ts +23 -23
  42. package/dist/esm/app/src/platformLoggerService.test.d.ts +24 -24
  43. package/dist/esm/app/src/public-types.d.ts +231 -231
  44. package/dist/esm/app/src/registerCoreComponents.d.ts +17 -17
  45. package/dist/esm/app/src/types.d.ts +55 -55
  46. package/dist/esm/app/test/setup.d.ts +17 -17
  47. package/dist/esm/app/test/util.d.ts +26 -26
  48. package/dist/esm/index.esm2017.js +1069 -1069
  49. package/dist/esm/index.esm2017.js.map +1 -1
  50. package/dist/index.cjs.js +1069 -1069
  51. package/dist/index.cjs.js.map +1 -1
  52. package/package.json +5 -5
@@ -1,17 +1,17 @@
1
- /**
2
- * @license
3
- * Copyright 2022 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import '../test/setup';
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import '../test/setup';
@@ -1,99 +1,99 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { FirebaseApp, FirebaseOptions, FirebaseServerApp } from './public-types';
18
- import { Component, Provider, Name } from '@firebase/component';
19
- import { DEFAULT_ENTRY_NAME } from './constants';
20
- /**
21
- * @internal
22
- */
23
- export declare const _apps: Map<string, FirebaseApp>;
24
- /**
25
- * @internal
26
- */
27
- export declare const _serverApps: Map<string, FirebaseServerApp>;
28
- /**
29
- * Registered components.
30
- *
31
- * @internal
32
- */
33
- export declare const _components: Map<string, Component<any>>;
34
- /**
35
- * @param component - the component being added to this app's container
36
- *
37
- * @internal
38
- */
39
- export declare function _addComponent<T extends Name>(app: FirebaseApp, component: Component<T>): void;
40
- /**
41
- *
42
- * @internal
43
- */
44
- export declare function _addOrOverwriteComponent(app: FirebaseApp, component: Component): void;
45
- /**
46
- *
47
- * @param component - the component to register
48
- * @returns whether or not the component is registered successfully
49
- *
50
- * @internal
51
- */
52
- export declare function _registerComponent<T extends Name>(component: Component<T>): boolean;
53
- /**
54
- *
55
- * @param app - FirebaseApp instance
56
- * @param name - service name
57
- *
58
- * @returns the provider for the service with the matching name
59
- *
60
- * @internal
61
- */
62
- export declare function _getProvider<T extends Name>(app: FirebaseApp, name: T): Provider<T>;
63
- /**
64
- *
65
- * @param app - FirebaseApp instance
66
- * @param name - service name
67
- * @param instanceIdentifier - service instance identifier in case the service supports multiple instances
68
- *
69
- * @internal
70
- */
71
- export declare function _removeServiceInstance<T extends Name>(app: FirebaseApp, name: T, instanceIdentifier?: string): void;
72
- /**
73
- *
74
- * @param obj - an object of type FirebaseApp or FirebaseOptions.
75
- *
76
- * @returns true if the provide object is of type FirebaseApp.
77
- *
78
- * @internal
79
- */
80
- export declare function _isFirebaseApp(obj: FirebaseApp | FirebaseOptions): obj is FirebaseApp;
81
- /**
82
- *
83
- * @param obj - an object of type FirebaseApp.
84
- *
85
- * @returns true if the provided object is of type FirebaseServerAppImpl.
86
- *
87
- * @internal
88
- */
89
- export declare function _isFirebaseServerApp(obj: FirebaseApp | FirebaseServerApp): obj is FirebaseServerApp;
90
- /**
91
- * Test only
92
- *
93
- * @internal
94
- */
95
- export declare function _clearComponents(): void;
96
- /**
97
- * Exported in order to be used in app-compat package
98
- */
99
- export { DEFAULT_ENTRY_NAME as _DEFAULT_ENTRY_NAME };
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FirebaseApp, FirebaseOptions, FirebaseServerApp } from './public-types';
18
+ import { Component, Provider, Name } from '@firebase/component';
19
+ import { DEFAULT_ENTRY_NAME } from './constants';
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare const _apps: Map<string, FirebaseApp>;
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const _serverApps: Map<string, FirebaseServerApp>;
28
+ /**
29
+ * Registered components.
30
+ *
31
+ * @internal
32
+ */
33
+ export declare const _components: Map<string, Component<any>>;
34
+ /**
35
+ * @param component - the component being added to this app's container
36
+ *
37
+ * @internal
38
+ */
39
+ export declare function _addComponent<T extends Name>(app: FirebaseApp, component: Component<T>): void;
40
+ /**
41
+ *
42
+ * @internal
43
+ */
44
+ export declare function _addOrOverwriteComponent(app: FirebaseApp, component: Component): void;
45
+ /**
46
+ *
47
+ * @param component - the component to register
48
+ * @returns whether or not the component is registered successfully
49
+ *
50
+ * @internal
51
+ */
52
+ export declare function _registerComponent<T extends Name>(component: Component<T>): boolean;
53
+ /**
54
+ *
55
+ * @param app - FirebaseApp instance
56
+ * @param name - service name
57
+ *
58
+ * @returns the provider for the service with the matching name
59
+ *
60
+ * @internal
61
+ */
62
+ export declare function _getProvider<T extends Name>(app: FirebaseApp, name: T): Provider<T>;
63
+ /**
64
+ *
65
+ * @param app - FirebaseApp instance
66
+ * @param name - service name
67
+ * @param instanceIdentifier - service instance identifier in case the service supports multiple instances
68
+ *
69
+ * @internal
70
+ */
71
+ export declare function _removeServiceInstance<T extends Name>(app: FirebaseApp, name: T, instanceIdentifier?: string): void;
72
+ /**
73
+ *
74
+ * @param obj - an object of type FirebaseApp or FirebaseOptions.
75
+ *
76
+ * @returns true if the provide object is of type FirebaseApp.
77
+ *
78
+ * @internal
79
+ */
80
+ export declare function _isFirebaseApp(obj: FirebaseApp | FirebaseOptions): obj is FirebaseApp;
81
+ /**
82
+ *
83
+ * @param obj - an object of type FirebaseApp.
84
+ *
85
+ * @returns true if the provided object is of type FirebaseServerAppImpl.
86
+ *
87
+ * @internal
88
+ */
89
+ export declare function _isFirebaseServerApp(obj: FirebaseApp | FirebaseServerApp): obj is FirebaseServerApp;
90
+ /**
91
+ * Test only
92
+ *
93
+ * @internal
94
+ */
95
+ export declare function _clearComponents(): void;
96
+ /**
97
+ * Exported in order to be used in app-compat package
98
+ */
99
+ export { DEFAULT_ENTRY_NAME as _DEFAULT_ENTRY_NAME };
@@ -1,23 +1,23 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import '../test/setup';
18
- import { TestService } from '../test/util';
19
- declare module '@firebase/component' {
20
- interface NameServiceMapping {
21
- 'test': TestService;
22
- }
23
- }
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import '../test/setup';
18
+ import { TestService } from '../test/util';
19
+ declare module '@firebase/component' {
20
+ interface NameServiceMapping {
21
+ 'test': TestService;
22
+ }
23
+ }
@@ -1,18 +1,18 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { Logger } from '@firebase/logger';
18
- export declare const logger: Logger;
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { Logger } from '@firebase/logger';
18
+ export declare const logger: Logger;
@@ -1,23 +1,23 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { ComponentContainer } from '@firebase/component';
18
- import { PlatformLoggerService } from './types';
19
- export declare class PlatformLoggerServiceImpl implements PlatformLoggerService {
20
- private readonly container;
21
- constructor(container: ComponentContainer);
22
- getPlatformInfoString(): string;
23
- }
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { ComponentContainer } from '@firebase/component';
18
+ import { PlatformLoggerService } from './types';
19
+ export declare class PlatformLoggerServiceImpl implements PlatformLoggerService {
20
+ private readonly container;
21
+ constructor(container: ComponentContainer);
22
+ getPlatformInfoString(): string;
23
+ }
@@ -1,24 +1,24 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import '../test/setup';
18
- import { VersionService } from './types';
19
- declare module '@firebase/component' {
20
- interface NameServiceMapping {
21
- 'vs1': VersionService;
22
- 'vs2': VersionService;
23
- }
24
- }
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import '../test/setup';
18
+ import { VersionService } from './types';
19
+ declare module '@firebase/component' {
20
+ interface NameServiceMapping {
21
+ 'vs1': VersionService;
22
+ 'vs2': VersionService;
23
+ }
24
+ }