abstracted-firebase
Advanced tools
Comparing version 0.33.1 to 0.33.2
@@ -47,3 +47,3 @@ import { IDictionary } from "common-types"; | ||
protected abstract _auth: any; | ||
constructor(config: IFirebaseConfig); | ||
constructor(config?: IFirebaseConfig); | ||
/** | ||
@@ -50,0 +50,0 @@ * called by `client` and `admin` at end of constructor |
@@ -19,3 +19,3 @@ "use strict"; | ||
class RealTimeDB { | ||
constructor(config) { | ||
constructor(config = {}) { | ||
/** how many miliseconds before the attempt to connect to DB is timed out */ | ||
@@ -22,0 +22,0 @@ this.CONNECTION_TIMEOUT = 5000; |
@@ -47,3 +47,3 @@ import { IDictionary } from "common-types"; | ||
protected abstract _auth: any; | ||
constructor(config: IFirebaseConfig); | ||
constructor(config?: IFirebaseConfig); | ||
/** | ||
@@ -50,0 +50,0 @@ * called by `client` and `admin` at end of constructor |
@@ -17,3 +17,3 @@ // tslint:disable: member-ordering | ||
export class RealTimeDB { | ||
constructor(config) { | ||
constructor(config = {}) { | ||
/** how many miliseconds before the attempt to connect to DB is timed out */ | ||
@@ -20,0 +20,0 @@ this.CONNECTION_TIMEOUT = 5000; |
@@ -47,3 +47,3 @@ import { IDictionary } from "common-types"; | ||
protected abstract _auth: any; | ||
constructor(config: IFirebaseConfig); | ||
constructor(config?: IFirebaseConfig); | ||
/** | ||
@@ -50,0 +50,0 @@ * called by `client` and `admin` at end of constructor |
@@ -29,3 +29,3 @@ (function (factory) { | ||
class RealTimeDB { | ||
constructor(config) { | ||
constructor(config = {}) { | ||
/** how many miliseconds before the attempt to connect to DB is timed out */ | ||
@@ -32,0 +32,0 @@ this.CONNECTION_TIMEOUT = 5000; |
{ | ||
"name": "abstracted-firebase", | ||
"version": "0.33.1", | ||
"version": "0.33.2", | ||
"description": "Core functional library supporting 'abstracted-admin' and 'abstracted-client'", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
157472