@firebase/database
Advanced tools
Comparing version 1.0.12-20250205220033 to 1.0.12-canary.113c965a3
@@ -257,2 +257,4 @@ /** | ||
export interface ThenableReferenceImpl extends ReferenceImpl, Pick<Promise<ReferenceImpl>, 'then' | 'catch'> { | ||
key: string; | ||
parent: ReferenceImpl; | ||
} | ||
@@ -259,0 +261,0 @@ /** |
@@ -112,2 +112,4 @@ import { Repo } from '../core/Repo'; | ||
export interface ThenableReference extends DatabaseReference, Pick<Promise<DatabaseReference>, 'then' | 'catch'> { | ||
key: string; | ||
parent: DatabaseReference; | ||
} | ||
@@ -114,0 +116,0 @@ /** A callback that can invoked to remove a listener. */ |
@@ -17,2 +17,6 @@ /** | ||
*/ | ||
import { EmulatorMockTokenOptions } from '@firebase/util'; | ||
export interface RepoInfoEmulatorOptions { | ||
mockUserToken?: string | EmulatorMockTokenOptions; | ||
} | ||
/** | ||
@@ -29,2 +33,3 @@ * A class that holds metadata about a Repo object | ||
readonly isUsingEmulator: boolean; | ||
readonly emulatorOptions: RepoInfoEmulatorOptions | null; | ||
private _host; | ||
@@ -41,3 +46,3 @@ private _domain; | ||
*/ | ||
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean, isUsingEmulator?: boolean); | ||
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean, isUsingEmulator?: boolean, emulatorOptions?: RepoInfoEmulatorOptions | null); | ||
isCacheableHost(): boolean; | ||
@@ -44,0 +49,0 @@ isCustomHost(): boolean; |
@@ -21,2 +21,4 @@ /** | ||
export declare const TEST_PROJECT: any; | ||
export declare const EMULATOR_PORT: string; | ||
export declare const USE_EMULATOR: boolean; | ||
export declare function getFreshRepo(path: Path): DatabaseReference; | ||
@@ -23,0 +25,0 @@ export declare const DATABASE_ADDRESS: any; |
@@ -257,2 +257,4 @@ /** | ||
export interface ThenableReferenceImpl extends ReferenceImpl, Pick<Promise<ReferenceImpl>, 'then' | 'catch'> { | ||
key: string; | ||
parent: ReferenceImpl; | ||
} | ||
@@ -259,0 +261,0 @@ /** |
@@ -112,2 +112,4 @@ import { Repo } from '../core/Repo'; | ||
export interface ThenableReference extends DatabaseReference, Pick<Promise<DatabaseReference>, 'then' | 'catch'> { | ||
key: string; | ||
parent: DatabaseReference; | ||
} | ||
@@ -114,0 +116,0 @@ /** A callback that can invoked to remove a listener. */ |
@@ -17,2 +17,6 @@ /** | ||
*/ | ||
import { EmulatorMockTokenOptions } from '@firebase/util'; | ||
export interface RepoInfoEmulatorOptions { | ||
mockUserToken?: string | EmulatorMockTokenOptions; | ||
} | ||
/** | ||
@@ -29,2 +33,3 @@ * A class that holds metadata about a Repo object | ||
readonly isUsingEmulator: boolean; | ||
readonly emulatorOptions: RepoInfoEmulatorOptions | null; | ||
private _host; | ||
@@ -41,3 +46,3 @@ private _domain; | ||
*/ | ||
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean, isUsingEmulator?: boolean); | ||
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean, isUsingEmulator?: boolean, emulatorOptions?: RepoInfoEmulatorOptions | null); | ||
isCacheableHost(): boolean; | ||
@@ -44,0 +49,0 @@ isCustomHost(): boolean; |
@@ -21,2 +21,4 @@ /** | ||
export declare const TEST_PROJECT: any; | ||
export declare const EMULATOR_PORT: string; | ||
export declare const USE_EMULATOR: boolean; | ||
export declare function getFreshRepo(path: Path): DatabaseReference; | ||
@@ -23,0 +25,0 @@ export declare const DATABASE_ADDRESS: any; |
{ | ||
"name": "@firebase/database", | ||
"version": "1.0.12-20250205220033", | ||
"version": "1.0.12-canary.113c965a3", | ||
"description": "", | ||
@@ -51,7 +51,7 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"dependencies": { | ||
"@firebase/logger": "0.4.4", | ||
"@firebase/util": "1.10.3", | ||
"@firebase/component": "0.6.12", | ||
"@firebase/app-check-interop-types": "0.3.3", | ||
"@firebase/auth-interop-types": "0.2.4", | ||
"@firebase/logger": "0.4.4-canary.113c965a3", | ||
"@firebase/util": "1.10.3-canary.113c965a3", | ||
"@firebase/component": "0.6.12-canary.113c965a3", | ||
"@firebase/app-check-interop-types": "0.3.3-canary.113c965a3", | ||
"@firebase/auth-interop-types": "0.2.4-canary.113c965a3", | ||
"faye-websocket": "0.11.4", | ||
@@ -61,3 +61,3 @@ "tslib": "^2.1.0" | ||
"devDependencies": { | ||
"@firebase/app": "0.11.0-20250205220033", | ||
"@firebase/app": "0.11.0-canary.113c965a3", | ||
"rollup": "2.79.2", | ||
@@ -64,0 +64,0 @@ "rollup-plugin-typescript2": "0.36.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
8695217
90085
+ Added@firebase/app-check-interop-types@0.3.3-canary.113c965a3(transitive)
+ Added@firebase/auth-interop-types@0.2.4-canary.113c965a3(transitive)
+ Added@firebase/component@0.6.12-canary.113c965a3(transitive)
+ Added@firebase/logger@0.4.4-canary.113c965a3(transitive)
+ Added@firebase/util@1.10.3-canary.113c965a3(transitive)
- Removed@firebase/app-check-interop-types@0.3.3(transitive)
- Removed@firebase/auth-interop-types@0.2.4(transitive)
- Removed@firebase/component@0.6.12(transitive)
- Removed@firebase/logger@0.4.4(transitive)
- Removed@firebase/util@1.10.3(transitive)
Updated@firebase/app-check-interop-types@0.3.3-canary.113c965a3