@dynamatix/cat-shared 0.0.149 → 0.0.150

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.
@@ -329,7 +329,7 @@ function applyAuditMiddleware(schema, collectionName) {
329
329
  minimumFractionDigits: decimalPart ? decimalPart.length : 0,
330
330
  maximumFractionDigits: decimalPart ? decimalPart.length : 20
331
331
  });
332
- return `£${formatted}`;
332
+ return `£${formatted}.00`;
333
333
  };
334
334
  displayOldValue = formatPoundValue(displayOldValue);
335
335
  displayNewValue = formatPoundValue(displayNewValue);
@@ -426,10 +426,10 @@ function applyAuditMiddleware(schema, collectionName) {
426
426
  async function updateContextAuditCount(contextId, count) {
427
427
  count = Number(count);
428
428
  if (!contextId || isNaN(count)) return;
429
-
429
+
430
430
  try {
431
431
  const model = mongoose.models['Application'];
432
-
432
+
433
433
  // Use direct collection access to bypass all Mongoose middleware
434
434
  // This prevents workflow triggers from firing for audit count updates
435
435
  await model.collection.updateOne(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.149",
3
+ "version": "0.0.150",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",