@cryptexlabs/codex-nodejs-common 0.12.8 → 0.12.9

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.
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptexlabs/codex-nodejs-common",
3
- "version": "0.12.8",
3
+ "version": "0.12.9",
4
4
  "description": "Common code for Codex framework",
5
5
  "main": "lib/src/index.js",
6
6
  "type": "commonjs",
@@ -7,6 +7,7 @@ class RestResponse {
7
7
  this.data = data;
8
8
  this.path = path;
9
9
  this.meta = new http_response_meta_1.HttpResponseMeta(status, type, context.locale, context.config, context.correlationId, context.started, context.path);
10
+ this.meta.context = context.messageContext;
10
11
  }
11
12
  toJSON() {
12
13
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"rest.response.js","sourceRoot":"","sources":["../../../src/response/rest.response.ts"],"names":[],"mappings":";;;AAQA,6DAAwD;AAExD,MAAa,YAAY;IAIvB,YACE,OAAgB,EAChB,MAAkB,EAClB,IAAY,EACI,IAAO,EACP,IAAa;QADb,SAAI,GAAJ,IAAI,CAAG;QACP,SAAI,GAAJ,IAAI,CAAS;QAE7B,IAAI,CAAC,IAAI,GAAG,IAAI,qCAAgB,CAC9B,MAAM,EACN,IAAI,EACJ,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,aAAa,EACrB,OAAO,CAAC,OAAO,EACf,OAAO,CAAC,IAAI,CACW,CAAC;IAC5B,CAAC;IAEM,MAAM;QACX,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAC;IACJ,CAAC;CACF;AA5BD,oCA4BC"}
1
+ {"version":3,"file":"rest.response.js","sourceRoot":"","sources":["../../../src/response/rest.response.ts"],"names":[],"mappings":";;;AAQA,6DAAwD;AAExD,MAAa,YAAY;IAIvB,YACE,OAAgB,EAChB,MAAkB,EAClB,IAAY,EACI,IAAO,EACP,IAAa;QADb,SAAI,GAAJ,IAAI,CAAG;QACP,SAAI,GAAJ,IAAI,CAAS;QAE7B,IAAI,CAAC,IAAI,GAAG,IAAI,qCAAgB,CAC9B,MAAM,EACN,IAAI,EACJ,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,aAAa,EACrB,OAAO,CAAC,OAAO,EACf,OAAO,CAAC,IAAI,CACW,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,cAAc,CAAC;IAC7C,CAAC;IAEM,MAAM;QACX,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAC;IACJ,CAAC;CACF;AA7BD,oCA6BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptexlabs/codex-nodejs-common",
3
- "version": "0.12.8",
3
+ "version": "0.12.9",
4
4
  "description": "Common code for Codex framework",
5
5
  "main": "lib/src/index.js",
6
6
  "type": "commonjs",
@@ -28,6 +28,7 @@ export class RestResponse<T>
28
28
  context.started,
29
29
  context.path
30
30
  ) as MessageMetaInterface;
31
+ this.meta.context = context.messageContext;
31
32
  }
32
33
 
33
34
  public toJSON(): MessageInterface<T> {