@cryptexlabs/codex-nodejs-common 0.10.24 → 0.10.25
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
|
@@ -5,7 +5,7 @@ export declare class MessageMeta implements MessageMetaInterface, JsonSerializab
|
|
|
5
5
|
readonly type: string;
|
|
6
6
|
readonly locale: LocaleInterface;
|
|
7
7
|
private readonly started?;
|
|
8
|
-
path?:
|
|
8
|
+
path?: string;
|
|
9
9
|
time: MetaTimeInterface;
|
|
10
10
|
context: MessageContextInterface;
|
|
11
11
|
interactionId: string | null;
|
|
@@ -13,6 +13,6 @@ export declare class MessageMeta implements MessageMetaInterface, JsonSerializab
|
|
|
13
13
|
private _correlationId;
|
|
14
14
|
get correlationId(): string;
|
|
15
15
|
client: ClientInterface;
|
|
16
|
-
constructor(type: string, locale: LocaleInterface, config: DefaultConfig, correlationId?: string, started?: Date, path?:
|
|
17
|
-
toJSON(): MessageMetaInterface;
|
|
16
|
+
constructor(type: string, locale: LocaleInterface, config: DefaultConfig, correlationId?: string, started?: Date, path?: string);
|
|
17
|
+
toJSON(): MessageMetaInterface & MessageMetaHttpInterface;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-meta.js","sourceRoot":"","sources":["../../../src/message/message-meta.ts"],"names":[],"mappings":";;;AAAA,+BAAoC;AACpC,oEAQuC;AACvC,sCAA0C;AAI1C,MAAa,WAAW;IAmBtB,IAAW,aAAa;QACtB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACzB,IAAI,CAAC,cAAc,GAAG,IAAA,SAAM,GAAE,CAAC;QACjC,CAAC;QACD,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAID,YACkB,IAAY,EACZ,MAAuB,EACvC,MAAqB,EACrB,aAAsB,EACL,OAAc,EACxB,
|
|
1
|
+
{"version":3,"file":"message-meta.js","sourceRoot":"","sources":["../../../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I,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;CACF;AAhED,kCAgEC"}
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export class MessageMeta
|
|
|
46
46
|
config: DefaultConfig,
|
|
47
47
|
correlationId?: string,
|
|
48
48
|
private readonly started?: Date,
|
|
49
|
-
public path
|
|
49
|
+
public path?: string
|
|
50
50
|
) {
|
|
51
51
|
const now = new Date(Date.now());
|
|
52
52
|
const start = started || now;
|
|
@@ -64,8 +64,9 @@ export class MessageMeta
|
|
|
64
64
|
this.client = new ServiceClient(config);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
public toJSON(): MessageMetaInterface {
|
|
67
|
+
public toJSON(): MessageMetaInterface & MessageMetaHttpInterface {
|
|
68
68
|
return {
|
|
69
|
+
path: this.path,
|
|
69
70
|
type: this.type,
|
|
70
71
|
schemaVersion: this.schemaVersion,
|
|
71
72
|
correlationId: this.correlationId,
|