abstracted-firebase
Advanced tools
Comparing version 0.11.8 to 0.11.9
@@ -59,2 +59,3 @@ 'use strict'; | ||
constructor() { | ||
/** how many miliseconds before the attempt to connect to DB is timed out */ | ||
this.CONNECTION_TIMEOUT = 5000; | ||
@@ -61,0 +62,0 @@ this._isConnected = false; |
@@ -55,2 +55,3 @@ (function (global, factory) { | ||
constructor() { | ||
/** how many miliseconds before the attempt to connect to DB is timed out */ | ||
this.CONNECTION_TIMEOUT = 5000; | ||
@@ -57,0 +58,0 @@ this._isConnected = false; |
@@ -30,3 +30,6 @@ import { SerializedQuery } from "serialized-query"; | ||
export declare abstract class RealTimeDB { | ||
/** how many miliseconds before the attempt to connect to DB is timed out */ | ||
CONNECTION_TIMEOUT: number; | ||
/** Logs debugging information to the console */ | ||
enableDatabaseLogging: (logger?: boolean | ((a: string) => any), persistent?: boolean) => any; | ||
protected abstract _eventManager: IEmitter; | ||
@@ -33,0 +36,0 @@ protected _isConnected: boolean; |
@@ -17,2 +17,3 @@ import { wait } from "common-types"; | ||
constructor() { | ||
/** how many miliseconds before the attempt to connect to DB is timed out */ | ||
this.CONNECTION_TIMEOUT = 5000; | ||
@@ -19,0 +20,0 @@ this._isConnected = false; |
@@ -10,3 +10,3 @@ import FileDepthExceeded from "./errors/FileDepthExceeded"; | ||
export declare type IFirebaseClientConfig = IFirebaseClientConfigProps | IFirebaseConfigMocked; | ||
export declare type IFirebaseAdminConfig = IFirebaseAdminConfigProps | IFirebaseConfigMocked; | ||
export declare type IFirebaseAdminConfig = IFirebaseAdminConfigProps & IFirebaseConfigMocked; | ||
export interface IFirebaseClientConfigProps extends IAbstractedFirebaseConfig { | ||
@@ -23,3 +23,2 @@ apiKey: string; | ||
databaseUrl: string; | ||
mocking?: false; | ||
} | ||
@@ -26,0 +25,0 @@ export interface IAbstractedFirebaseConfig { |
{ | ||
"name": "abstracted-firebase", | ||
"version": "0.11.8", | ||
"version": "0.11.9", | ||
"description": "Core library supporting 'abstracted-admin' and 'abstracted-client' libraries", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
99199
1211