@dynamatix/cat-shared 0.0.86 → 0.0.87

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.
@@ -128,21 +128,6 @@ function applyAuditMiddleware(schema, collectionName) {
128
128
  }
129
129
  }
130
130
 
131
- // Overall document creation log (optional)
132
- logs.push({
133
- name: 'created',
134
- entity: entityDescription,
135
- recordId: contextId || doc._id,
136
- oldValue: null,
137
- newValue: 'Document created',
138
- createdBy: userId,
139
- contextId,
140
- externalData: {
141
- description: entityDescription,
142
- contextId
143
- }
144
- });
145
-
146
131
  if (logs.length) {
147
132
  await AuditLog.insertMany(logs);
148
133
  await updateContextAuditCount(contextId, logs.length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"