@paralect/hive 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paralect/hive",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -253,7 +253,7 @@ class MongoService extends MongoQueryService {
253
253
  );
254
254
 
255
255
  updated.forEach((doc, index) => {
256
- this._bus.emit("updated", {
256
+ this._bus.emit(`${this._collection.name}:updated`, {
257
257
  doc,
258
258
  prevDoc: docs[index],
259
259
  });