abstracted-firebase
Advanced tools
Comparing version 0.32.0 to 0.32.1
@@ -327,3 +327,3 @@ "use strict"; | ||
const updateHash = {}; | ||
const fullyQualifiedPaths = mps.map(i => (Object.assign({}, i, { path: [api._basePath, i.path].join("/").replace(/[\/]{2,3}/g, "/") }))); | ||
const fullyQualifiedPaths = mps.map(i => (Object.assign(Object.assign({}, i), { path: [api._basePath, i.path].join("/").replace(/[\/]{2,3}/g, "/") }))); | ||
fullyQualifiedPaths.map(item => { | ||
@@ -449,3 +449,3 @@ updateHash[item.path] = item.value; | ||
} | ||
return Object.assign({}, object, { [idProp]: snap.key }); | ||
return Object.assign(Object.assign({}, object), { [idProp]: snap.key }); | ||
} | ||
@@ -452,0 +452,0 @@ catch (e) { |
@@ -8,3 +8,3 @@ "use strict"; | ||
const kind = "server-event"; | ||
const fullEvent = Object.assign({}, context, { value, | ||
const fullEvent = Object.assign(Object.assign({}, context), { value, | ||
key, | ||
@@ -11,0 +11,0 @@ kind, |
@@ -325,3 +325,3 @@ // tslint:disable: member-ordering | ||
const updateHash = {}; | ||
const fullyQualifiedPaths = mps.map(i => (Object.assign({}, i, { path: [api._basePath, i.path].join("/").replace(/[\/]{2,3}/g, "/") }))); | ||
const fullyQualifiedPaths = mps.map(i => (Object.assign(Object.assign({}, i), { path: [api._basePath, i.path].join("/").replace(/[\/]{2,3}/g, "/") }))); | ||
fullyQualifiedPaths.map(item => { | ||
@@ -447,3 +447,3 @@ updateHash[item.path] = item.value; | ||
} | ||
return Object.assign({}, object, { [idProp]: snap.key }); | ||
return Object.assign(Object.assign({}, object), { [idProp]: snap.key }); | ||
} | ||
@@ -450,0 +450,0 @@ catch (e) { |
@@ -6,3 +6,3 @@ export const WatcherEventWrapper = (context) => (handler) => { | ||
const kind = "server-event"; | ||
const fullEvent = Object.assign({}, context, { value, | ||
const fullEvent = Object.assign(Object.assign({}, context), { value, | ||
key, | ||
@@ -9,0 +9,0 @@ kind, |
@@ -337,3 +337,3 @@ (function (factory) { | ||
const updateHash = {}; | ||
const fullyQualifiedPaths = mps.map(i => (Object.assign({}, i, { path: [api._basePath, i.path].join("/").replace(/[\/]{2,3}/g, "/") }))); | ||
const fullyQualifiedPaths = mps.map(i => (Object.assign(Object.assign({}, i), { path: [api._basePath, i.path].join("/").replace(/[\/]{2,3}/g, "/") }))); | ||
fullyQualifiedPaths.map(item => { | ||
@@ -459,3 +459,3 @@ updateHash[item.path] = item.value; | ||
} | ||
return Object.assign({}, object, { [idProp]: snap.key }); | ||
return Object.assign(Object.assign({}, object), { [idProp]: snap.key }); | ||
} | ||
@@ -462,0 +462,0 @@ catch (e) { |
@@ -17,3 +17,3 @@ (function (factory) { | ||
const kind = "server-event"; | ||
const fullEvent = Object.assign({}, context, { value, | ||
const fullEvent = Object.assign(Object.assign({}, context), { value, | ||
key, | ||
@@ -20,0 +20,0 @@ kind, |
{ | ||
"name": "abstracted-firebase", | ||
"version": "0.32.0", | ||
"version": "0.32.1", | ||
"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
155999