rest-easy-loki
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -52,3 +52,3 @@ "use strict"; | ||
if (io) { | ||
io.emit(collection, ctx.body); | ||
setTimeout(() => io.emit(collection, ctx.body), 0); | ||
} | ||
@@ -61,3 +61,3 @@ }); | ||
if (io) { | ||
io.emit(`${collection}/${id}`, ctx.body); | ||
setTimeout(() => io.emit(`${collection}/${id}`, ctx.body), 0); | ||
} | ||
@@ -86,3 +86,3 @@ }); | ||
if (io) { | ||
io.emit(`${collection}/${id}`, ctx.body); | ||
setTimeout(() => io.emit(`${collection}/${id}`, ctx.body), 0); | ||
} | ||
@@ -98,3 +98,3 @@ } | ||
if (io && item.id) { | ||
io.emit(`${collection}/${item.id}`, ctx.body); | ||
setTimeout(() => io.emit(`${collection}/${item.id}`, ctx.body), 0); | ||
} | ||
@@ -106,3 +106,3 @@ }); | ||
if (io) { | ||
io.emit(`${collection}/${id}`); | ||
setTimeout(() => io.emit(`${collection}/${id}`), 0); | ||
} | ||
@@ -109,0 +109,0 @@ }); |
{ | ||
"name": "rest-easy-loki", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "A REST interface for lokijs supporting CRUD operations and automatic creation of new collections.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
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
71638