abstracted-firebase
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -42,3 +42,2 @@ 'use strict'; | ||
this._isConnected = false; | ||
this._isAuthorized = false; | ||
this._waitingForConnection = []; | ||
@@ -292,3 +291,5 @@ this._onConnected = []; | ||
catch (e) { | ||
console.error(`There was an error asynchronously loading Firemock library`, e); | ||
console.error(`There was an error asynchronously loading Firemock library.`, e.message); | ||
console.log(`The stack trace was:\n`, e.stack); | ||
console.info(`\nNo error thrown but no mocking functionality is available!`); | ||
this._mocking = false; | ||
@@ -295,0 +296,0 @@ } |
@@ -40,3 +40,2 @@ (function (global, factory) { | ||
this._isConnected = false; | ||
this._isAuthorized = false; | ||
this._waitingForConnection = []; | ||
@@ -290,3 +289,5 @@ this._onConnected = []; | ||
catch (e) { | ||
console.error(`There was an error asynchronously loading Firemock library`, e); | ||
console.error(`There was an error asynchronously loading Firemock library.`, e.message); | ||
console.log(`The stack trace was:\n`, e.stack); | ||
console.info(`\nNo error thrown but no mocking functionality is available!`); | ||
this._mocking = false; | ||
@@ -293,0 +294,0 @@ } |
@@ -23,3 +23,2 @@ import { SerializedQuery } from "serialized-query"; | ||
protected _isConnected: boolean; | ||
protected _isAuthorized: boolean; | ||
protected _database: rtdb.IFirebaseDatabase; | ||
@@ -26,0 +25,0 @@ protected _mock: import("firemock").Mock; |
@@ -14,3 +14,2 @@ import * as convert from "typed-conversions"; | ||
this._isConnected = false; | ||
this._isAuthorized = false; | ||
this._waitingForConnection = []; | ||
@@ -264,3 +263,5 @@ this._onConnected = []; | ||
catch (e) { | ||
console.error(`There was an error asynchronously loading Firemock library`, e); | ||
console.error(`There was an error asynchronously loading Firemock library.`, e.message); | ||
console.log(`The stack trace was:\n`, e.stack); | ||
console.info(`\nNo error thrown but no mocking functionality is available!`); | ||
this._mocking = false; | ||
@@ -267,0 +268,0 @@ } |
{ | ||
"name": "abstracted-firebase", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Core library supporting 'abstracted-admin' and 'abstracted-client' libraries", | ||
@@ -51,3 +51,3 @@ "license": "MIT", | ||
"faker": "^4.1.0", | ||
"firemock": "^0.17.2", | ||
"firemock": "^0.17.4", | ||
"js-yaml": "^3.12.0", | ||
@@ -54,0 +54,0 @@ "mocha": "^5.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
82808
1010