dt-common-device 9.4.0 → 9.4.1

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.
@@ -7,16 +7,10 @@ exports.pushAudit = pushAudit;
7
7
  const dt_audit_library_1 = require("dt-audit-library");
8
8
  const AuditUtils_1 = require("./AuditUtils");
9
9
  const typedi_1 = __importDefault(require("typedi"));
10
- const ExcludeAudits_1 = require("./ExcludeAudits");
11
10
  async function pushAudit(data) {
12
11
  const audit = await typedi_1.default.get(AuditUtils_1.AuditUtils).buildAuditProperties(data.auditData);
13
- if (ExcludeAudits_1.excludeEvents.includes(data.auditType)) {
14
- console.log("Audit event excluded:", data.auditType);
15
- }
16
- else {
17
- await (0, dt_audit_library_1.publishAudit)({
18
- eventType: data.auditType,
19
- properties: { ...audit, timestamp: new Date().toISOString() },
20
- });
21
- }
12
+ await (0, dt_audit_library_1.publishAudit)({
13
+ eventType: data.auditType,
14
+ properties: { ...audit, timestamp: new Date().toISOString() },
15
+ });
22
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "9.4.0",
3
+ "version": "9.4.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [