@firebase/component
Advanced tools
Comparing version 0.6.10-canary.a97ac88db to 0.6.10-canary.e577a408c
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { Deferred } from '@firebase/util'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -19,4 +19,4 @@ /** | ||
export declare const enum InstantiationMode { | ||
LAZY = "LAZY", | ||
EAGER = "EAGER", | ||
LAZY = "LAZY",// Currently most components are LAZY in JS SDK | ||
EAGER = "EAGER",// EAGER components are initialized immediately upon registration | ||
EXPLICIT = "EXPLICIT" | ||
@@ -41,3 +41,3 @@ } | ||
} | ||
export declare type InitializeOptions = InstanceFactoryOptions; | ||
export type InitializeOptions = InstanceFactoryOptions; | ||
/** | ||
@@ -51,4 +51,4 @@ * Factory to create an instance of type T, given a ComponentContainer. | ||
*/ | ||
export declare type InstanceFactory<T extends Name> = (container: ComponentContainer, options: InstanceFactoryOptions) => NameServiceMapping[T]; | ||
export declare type onInstanceCreatedCallback<T extends Name> = (container: ComponentContainer, instanceIdentifier: string, instance: NameServiceMapping[T]) => void; | ||
export type InstanceFactory<T extends Name> = (container: ComponentContainer, options: InstanceFactoryOptions) => NameServiceMapping[T]; | ||
export type onInstanceCreatedCallback<T extends Name> = (container: ComponentContainer, instanceIdentifier: string, instance: NameServiceMapping[T]) => void; | ||
export interface Dictionary { | ||
@@ -63,4 +63,4 @@ [key: string]: unknown; | ||
} | ||
export declare type Name = keyof NameServiceMapping; | ||
export declare type Service = NameServiceMapping[Name]; | ||
export declare type OnInitCallBack<T extends Name> = (instance: NameServiceMapping[T], identifier: string) => void; | ||
export type Name = keyof NameServiceMapping; | ||
export type Service = NameServiceMapping[Name]; | ||
export type OnInitCallBack<T extends Name> = (instance: NameServiceMapping[T], identifier: string) => void; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { FirebaseApp } from '@firebase/app-types'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -19,4 +19,4 @@ /** | ||
export declare const enum InstantiationMode { | ||
LAZY = "LAZY", | ||
EAGER = "EAGER", | ||
LAZY = "LAZY",// Currently most components are LAZY in JS SDK | ||
EAGER = "EAGER",// EAGER components are initialized immediately upon registration | ||
EXPLICIT = "EXPLICIT" | ||
@@ -41,3 +41,3 @@ } | ||
} | ||
export declare type InitializeOptions = InstanceFactoryOptions; | ||
export type InitializeOptions = InstanceFactoryOptions; | ||
/** | ||
@@ -51,4 +51,4 @@ * Factory to create an instance of type T, given a ComponentContainer. | ||
*/ | ||
export declare type InstanceFactory<T extends Name> = (container: ComponentContainer, options: InstanceFactoryOptions) => NameServiceMapping[T]; | ||
export declare type onInstanceCreatedCallback<T extends Name> = (container: ComponentContainer, instanceIdentifier: string, instance: NameServiceMapping[T]) => void; | ||
export type InstanceFactory<T extends Name> = (container: ComponentContainer, options: InstanceFactoryOptions) => NameServiceMapping[T]; | ||
export type onInstanceCreatedCallback<T extends Name> = (container: ComponentContainer, instanceIdentifier: string, instance: NameServiceMapping[T]) => void; | ||
export interface Dictionary { | ||
@@ -63,4 +63,4 @@ [key: string]: unknown; | ||
} | ||
export declare type Name = keyof NameServiceMapping; | ||
export declare type Service = NameServiceMapping[Name]; | ||
export declare type OnInitCallBack<T extends Name> = (instance: NameServiceMapping[T], identifier: string) => void; | ||
export type Name = keyof NameServiceMapping; | ||
export type Service = NameServiceMapping[Name]; | ||
export type OnInitCallBack<T extends Name> = (instance: NameServiceMapping[T], identifier: string) => void; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { FirebaseApp } from '@firebase/app-types'; |
{ | ||
"name": "@firebase/component", | ||
"version": "0.6.10-canary.a97ac88db", | ||
"version": "0.6.10-canary.e577a408c", | ||
"description": "Firebase Component Platform", | ||
@@ -34,3 +34,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"dependencies": { | ||
"@firebase/util": "1.10.1-canary.a97ac88db", | ||
"@firebase/util": "1.10.1-canary.e577a408c", | ||
"tslib": "^2.1.0" | ||
@@ -42,3 +42,3 @@ }, | ||
"rollup-plugin-typescript2": "0.31.2", | ||
"typescript": "4.7.4" | ||
"typescript": "5.5.4" | ||
}, | ||
@@ -45,0 +45,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
118684
+ Added@firebase/util@1.10.1-canary.e577a408c(transitive)
- Removed@firebase/util@1.10.1-canary.a97ac88db(transitive)