abstracted-firebase
Advanced tools
Comparing version 0.32.2 to 0.32.4
@@ -110,2 +110,3 @@ "use strict"; | ||
catch (e) { | ||
console.warn(`abstracted-firebase: failure trying to watch event ${JSON.stringify(events)}`); | ||
throw new AbstractedProxyError_1.AbstractedProxyError(e); | ||
@@ -112,0 +113,0 @@ } |
@@ -5,3 +5,6 @@ import { IStackFrame } from "common-types"; | ||
stackFrames: IStackFrame[]; | ||
constructor(e: Error, typeSubtype?: string, context?: string); | ||
constructor(e: Error & { | ||
code?: string; | ||
type?: string; | ||
}, typeSubtype?: string, context?: string); | ||
} |
@@ -8,3 +8,4 @@ "use strict"; | ||
this.stack = e.stack; | ||
const parts = typeSubtype.split("/"); | ||
const parts = (typeSubtype || | ||
`abstracted-firebase/${e.name || e.code || e.type || "unknown"}`).split("/"); | ||
const [type, subType] = parts.length === 2 ? parts : ["abstracted-firemodel", parts[0]]; | ||
@@ -11,0 +12,0 @@ this.name = `${type}/${subType}`; |
@@ -108,2 +108,3 @@ // tslint:disable: member-ordering | ||
catch (e) { | ||
console.warn(`abstracted-firebase: failure trying to watch event ${JSON.stringify(events)}`); | ||
throw new AbstractedProxyError(e); | ||
@@ -110,0 +111,0 @@ } |
@@ -5,3 +5,6 @@ import { IStackFrame } from "common-types"; | ||
stackFrames: IStackFrame[]; | ||
constructor(e: Error, typeSubtype?: string, context?: string); | ||
constructor(e: Error & { | ||
code?: string; | ||
type?: string; | ||
}, typeSubtype?: string, context?: string); | ||
} |
@@ -6,3 +6,4 @@ import { parseStack } from "common-types"; | ||
this.stack = e.stack; | ||
const parts = typeSubtype.split("/"); | ||
const parts = (typeSubtype || | ||
`abstracted-firebase/${e.name || e.code || e.type || "unknown"}`).split("/"); | ||
const [type, subType] = parts.length === 2 ? parts : ["abstracted-firemodel", parts[0]]; | ||
@@ -9,0 +10,0 @@ this.name = `${type}/${subType}`; |
@@ -120,2 +120,3 @@ (function (factory) { | ||
catch (e) { | ||
console.warn(`abstracted-firebase: failure trying to watch event ${JSON.stringify(events)}`); | ||
throw new AbstractedProxyError_1.AbstractedProxyError(e); | ||
@@ -122,0 +123,0 @@ } |
@@ -5,3 +5,6 @@ import { IStackFrame } from "common-types"; | ||
stackFrames: IStackFrame[]; | ||
constructor(e: Error, typeSubtype?: string, context?: string); | ||
constructor(e: Error & { | ||
code?: string; | ||
type?: string; | ||
}, typeSubtype?: string, context?: string); | ||
} |
@@ -17,3 +17,4 @@ (function (factory) { | ||
this.stack = e.stack; | ||
const parts = typeSubtype.split("/"); | ||
const parts = (typeSubtype || | ||
`abstracted-firebase/${e.name || e.code || e.type || "unknown"}`).split("/"); | ||
const [type, subType] = parts.length === 2 ? parts : ["abstracted-firemodel", parts[0]]; | ||
@@ -20,0 +21,0 @@ this.name = `${type}/${subType}`; |
{ | ||
"name": "abstracted-firebase", | ||
"version": "0.32.2", | ||
"version": "0.32.4", | ||
"description": "Core functional library supporting 'abstracted-admin' and 'abstracted-client'", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156733
3764