equipped 4.1.6 → 4.1.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,81 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.1.8](https://github.com/kevinand11/equipped/compare/v4.0.2-alpha.4...v4.1.8) (2023-03-30)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * update to latest version of valleyed ([7999007](https://github.com/kevinand11/equipped/commit/799900703519fdf8f56a57abd609d2575f14a173))
11
+
12
+ ### [4.1.7](https://github.com/kevinand11/equipped/compare/v4.1.6...v4.1.7) (2023-03-22)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * parse _id if string or ObjectId ([3aab101](https://github.com/kevinand11/equipped/commit/3aab101960a3a1fe88bea887a1b8e638ae2f3577))
18
+
19
+ ### [4.1.6](https://github.com/kevinand11/equipped/compare/v4.1.5...v4.1.6) (2023-03-18)
20
+
21
+
22
+ ### Features
23
+
24
+ * update to latest version of valleyed ([bdcd8e1](https://github.com/kevinand11/equipped/commit/bdcd8e16c3a05dadf7393558cae746c3ab007ddf))
25
+
26
+ ### [4.1.5](https://github.com/kevinand11/equipped/compare/v4.1.4...v4.1.5) (2023-03-17)
27
+
28
+
29
+ ### Features
30
+
31
+ * update to latest version of valleyed that fixes default problems ([77e4225](https://github.com/kevinand11/equipped/commit/77e4225e10600b7ab27a82970132d9ff7ca9062a))
32
+
33
+ ### [4.1.4](https://github.com/kevinand11/equipped/compare/v4.1.3...v4.1.4) (2023-03-14)
34
+
35
+
36
+ ### Features
37
+
38
+ * update to latest version of valleyed ([60c8c95](https://github.com/kevinand11/equipped/commit/60c8c95d0e0164d6f7934a6396da05b0543d7fbe))
39
+
40
+ ### [4.1.3](https://github.com/kevinand11/equipped/compare/v4.1.2...v4.1.3) (2023-03-11)
41
+
42
+ ### [4.1.2](https://github.com/kevinand11/equipped/compare/v4.1.1...v4.1.2) (2023-03-11)
43
+
44
+ ### [4.1.1](https://github.com/kevinand11/equipped/compare/v4.1.0...v4.1.1) (2023-03-10)
45
+
46
+ ## [4.1.0](https://github.com/kevinand11/equipped/compare/v4.0.2-alpha.3...v4.1.0) (2023-03-07)
47
+
48
+
49
+ ### Features
50
+
51
+ * access db name from mongoose ([febdee0](https://github.com/kevinand11/equipped/commit/febdee0264fe0f7d2de02fcd08a380a8c93df68c))
52
+ * add fanout option for event subscribers ([4f0c060](https://github.com/kevinand11/equipped/commit/4f0c060aa2d99fd6128499d49e1f163d1e93a721))
53
+ * add helmet and supertest ([71ddcad](https://github.com/kevinand11/equipped/commit/71ddcad4e2b191913a890e7480619f1df527fde1))
54
+ * add Id to mongo db ([55a8728](https://github.com/kevinand11/equipped/commit/55a872827a427a65a9be25ce464468935a4c5674))
55
+ * add kafka eventbus ([22f79d4](https://github.com/kevinand11/equipped/commit/22f79d48e48cc7c5695a43089f6a724f479ed81c))
56
+ * automatically start subscribers in Instance.startConnections ([96a07c9](https://github.com/kevinand11/equipped/commit/96a07c923a90b9203920ab490c4554098dfab5e8))
57
+ * enable defaults, getters and virtuals on lean docs ([69f9d2b](https://github.com/kevinand11/equipped/commit/69f9d2b5f26072e91d411cc1dd5e676264a6a586))
58
+ * enable lean documents for query ([ce04a8a](https://github.com/kevinand11/equipped/commit/ce04a8a326025916a32ce017634328c37c09a7e0))
59
+ * enable pre images for all collections ([710457d](https://github.com/kevinand11/equipped/commit/710457d1132cd380a0890b191f98fece4473729f))
60
+ * hydrate cs docs with getters and virtuals ([c93809a](https://github.com/kevinand11/equipped/commit/c93809ab8f2f4597fb310c68dc8d95b9f901aedd))
61
+ * new changestream api ([923660b](https://github.com/kevinand11/equipped/commit/923660b11c1ab6f799c030b37dc6ce06c3b90ebb))
62
+ * server request ip ([371dac1](https://github.com/kevinand11/equipped/commit/371dac18ef729c88da0e8885e1e63e581e8b979b))
63
+ * socket emitters fanout ([65a36db](https://github.com/kevinand11/equipped/commit/65a36db9671205a30fe8aabd3b1763714e94f886))
64
+
65
+
66
+ ### Bug Fixes
67
+
68
+ * hydrate _id from changes ([65e6539](https://github.com/kevinand11/equipped/commit/65e6539bfc9644421152af3ad5c0436a2b4ed3dc))
69
+ * loop over db connections ([eb3f548](https://github.com/kevinand11/equipped/commit/eb3f548f2e7a2f172cb4ead8ff655df0fc8f3b95))
70
+ * remove cache setInTransaction ([4f1b3c0](https://github.com/kevinand11/equipped/commit/4f1b3c0db37621162065c69fc24eab744675da27))
71
+ * setup debezium connection to mongo ([3d36283](https://github.com/kevinand11/equipped/commit/3d3628349910d8ba0633578b6578f09e682b8145))
72
+
73
+ ### [4.1.7](https://github.com/kevinand11/equipped/compare/v4.1.6...v4.1.7) (2023-03-22)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * parse _id if string or ObjectId ([3aab101](https://github.com/kevinand11/equipped/commit/3aab101960a3a1fe88bea887a1b8e638ae2f3577))
79
+
5
80
  ### [4.1.6](https://github.com/kevinand11/equipped/compare/v4.1.5...v4.1.6) (2023-03-18)
6
81
 
7
82
 
@@ -54,7 +54,7 @@ class MongoDbChange extends _instance_1.DbChange {
54
54
  });
55
55
  const TestId = new mongoose_1.default.Types.ObjectId('__equipped__');
56
56
  const hydrate = (data) => model.hydrate({
57
- ...data, _id: new mongoose_1.default.Types.ObjectId(data._id['$oid'])
57
+ ...data, _id: new mongoose_1.default.Types.ObjectId(data._id['$oid'] ?? data._id)
58
58
  }).toObject({ getters: true, virtuals: true });
59
59
  instance_1.Instance.get().eventBus.createSubscriber(topic, async (data) => {
60
60
  const op = data.op;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "equipped",
3
- "version": "4.1.6",
3
+ "version": "4.1.8",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -66,7 +66,7 @@
66
66
  "redis": "^4.6.5",
67
67
  "socket.io": "4.6.1",
68
68
  "supertest": "^6.3.3",
69
- "valleyed": "4.1.4"
69
+ "valleyed": "4.1.6"
70
70
  },
71
71
  "repository": {
72
72
  "url": "git://github.com/kevinand11/equipped.git"