@alanszp/audit 10.0.1 → 11.0.0

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.
@@ -6,6 +6,9 @@ export interface AuditBody {
6
6
  succeed: boolean;
7
7
  targetRef?: string;
8
8
  metadata?: Metadata;
9
+ lid?: string;
10
+ lch?: string;
11
+ cid?: string;
9
12
  }
10
13
  export declare enum CommonMetadataKeys {
11
14
  EMPLOYEE_ID = "employee_id",
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";;;AAeA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iDAA2B,CAAA;IAC3B,mDAA6B,CAAA;IAC7B,yCAAmB,CAAA;IACnB,qCAAe,CAAA;AACjB,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B;AAMY,QAAA,eAAe,GAAG;IAC7B,UAAU;IACV,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,SAAS;CACV,CAAC"}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";;;AAoBA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iDAA2B,CAAA;IAC3B,mDAA6B,CAAA;IAC7B,yCAAmB,CAAA;IACnB,qCAAe,CAAA;AACjB,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B;AAMY,QAAA,eAAe,GAAG;IAC7B,UAAU;IACV,QAAQ;IACR,IAAI;IACJ,QAAQ;IACR,SAAS;CACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alanszp/audit",
3
- "version": "10.0.1",
3
+ "version": "11.0.0",
4
4
  "description": "Alan's audit util.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -19,12 +19,12 @@
19
19
  "yalc-publish": "yarn run yalc publish"
20
20
  },
21
21
  "dependencies": {
22
- "@alanszp/errors": "^10.0.1",
23
- "@alanszp/logger": "^10.0.1",
22
+ "@alanszp/errors": "^11.0.0",
23
+ "@alanszp/logger": "^11.0.0",
24
24
  "lodash": "^4.17.21"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^20.11.17"
28
28
  },
29
- "gitHead": "43e1ad79adf9f06c314132d67495cee96dd82612"
29
+ "gitHead": "60b62fa2fff34ef094ea9af69c2bed2373c70f64"
30
30
  }
package/src/interfaces.ts CHANGED
@@ -11,6 +11,11 @@ export interface AuditBody {
11
11
  succeed: boolean;
12
12
  targetRef?: string;
13
13
  metadata?: Metadata;
14
+
15
+ // Context
16
+ lid?: string;
17
+ lch?: string;
18
+ cid?: string;
14
19
  }
15
20
 
16
21
  export enum CommonMetadataKeys {