fng-audit 0.12.0-beta.358 → 0.12.0-beta.359

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.
@@ -314,7 +314,7 @@ export function getSnapshot(model, id, snapshotDt, doCleaning, errorHandling, ca
314
314
  export function auditAdHocEvent(user, description, details) {
315
315
  return __awaiter(this, void 0, void 0, function () {
316
316
  function cleanKeys(obj) {
317
- if (typeof obj === "object") {
317
+ if (obj && typeof obj === "object") {
318
318
  Object.keys(obj).forEach(function (k) {
319
319
  cleanKeys(obj[k]);
320
320
  var safeKey = k.replace(/\./g, '-').replace(/^\$/, '#');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fng-audit",
3
- "version": "0.12.0-beta.358",
3
+ "version": "0.12.0-beta.359",
4
4
  "type": "module",
5
5
  "description": "Client part of forms-angular audit plugin",
6
6
  "homepage": "https://www.forms-angular.org/#/plugins",
@@ -28,7 +28,7 @@
28
28
  "@types/mocha": "^10.0.7",
29
29
  "angular": "npm:@brickhouse-tech/angular-lts@^1.10.4",
30
30
  "chai": "=4.3.10",
31
- "forms-angular": "0.12.0-beta.358",
31
+ "forms-angular": "0.12.0-beta.359",
32
32
  "grunt": "^1.6.1",
33
33
  "grunt-angular-templates": "^1.2.0",
34
34
  "grunt-contrib-concat": "^2.1.0",