Comparing version 0.32.4 to 0.32.5
@@ -262,6 +262,6 @@ "use strict"; | ||
if (eventType === "value") { | ||
notify({ [util_1.join(path)]: getDb(util_1.join(path)) }, getDb(util_1.join(path))); | ||
notify({ [util_1.join(path)]: getDb(util_1.join(path)) }, fast_copy_1.default(Object.assign({}, exports.db))); | ||
} | ||
else if (eventType === "child_added") { | ||
notify({ [util_1.join(path)]: getDb(util_1.join(path)) }, getDb(util_1.join(path))); | ||
notify({ [util_1.join(path)]: getDb(util_1.join(path)) }, fast_copy_1.default(Object.assign({}, exports.db))); | ||
} | ||
@@ -268,0 +268,0 @@ } |
@@ -245,6 +245,6 @@ // tslint:disable:no-implicit-dependencies | ||
if (eventType === "value") { | ||
notify({ [join(path)]: getDb(join(path)) }, getDb(join(path))); | ||
notify({ [join(path)]: getDb(join(path)) }, copy(Object.assign({}, db))); | ||
} | ||
else if (eventType === "child_added") { | ||
notify({ [join(path)]: getDb(join(path)) }, getDb(join(path))); | ||
notify({ [join(path)]: getDb(join(path)) }, copy(Object.assign({}, db))); | ||
} | ||
@@ -251,0 +251,0 @@ } |
{ | ||
"name": "firemock", | ||
"version": "0.32.4", | ||
"version": "0.32.5", | ||
"description": "firemock", | ||
@@ -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
381676