@pristine-ts/core 0.0.390 → 0.0.392
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,10 +6,11 @@ exports.Event = void 0;
|
|
|
6
6
|
* Once an event parsed, this should be the only object that will be handle inside the library.
|
|
7
7
|
*/
|
|
8
8
|
class Event {
|
|
9
|
-
constructor(type, payload, id) {
|
|
9
|
+
constructor(type, payload, id, groupId) {
|
|
10
10
|
this.type = type;
|
|
11
11
|
this.payload = payload;
|
|
12
12
|
this.id = id;
|
|
13
|
+
this.groupId = groupId;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
exports.Event = Event;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/models/event.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAa,KAAK;IACd,YAAmB,IAAY,EAAS,OAAgB,EAAkB,EAAU;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/models/event.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAa,KAAK;IACd,YAAmB,IAAY,EAAS,OAAgB,EAAkB,EAAU,EAAkB,OAAgB;QAAnG,SAAI,GAAJ,IAAI,CAAQ;QAAS,YAAO,GAAP,OAAO,CAAS;QAAkB,OAAE,GAAF,EAAE,CAAQ;QAAkB,YAAO,GAAP,OAAO,CAAS;IACtH,CAAC;CACJ;AAHD,sBAGC"}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Once an event parsed, this should be the only object that will be handle inside the library.
|
|
4
4
|
*/
|
|
5
5
|
export class Event {
|
|
6
|
-
constructor(type, payload, id) {
|
|
6
|
+
constructor(type, payload, id, groupId) {
|
|
7
7
|
this.type = type;
|
|
8
8
|
this.payload = payload;
|
|
9
9
|
this.id = id;
|
|
10
|
+
this.groupId = groupId;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=event.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/models/event.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,OAAO,KAAK;IACd,YAAmB,IAAY,EAAS,OAAgB,EAAkB,EAAU;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/models/event.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,OAAO,KAAK;IACd,YAAmB,IAAY,EAAS,OAAgB,EAAkB,EAAU,EAAkB,OAAgB;QAAnG,SAAI,GAAJ,IAAI,CAAQ;QAAS,YAAO,GAAP,OAAO,CAAS;QAAkB,OAAE,GAAF,EAAE,CAAQ;QAAkB,YAAO,GAAP,OAAO,CAAS;IACtH,CAAC;CACJ"}
|
|
@@ -6,5 +6,6 @@ export declare class Event<Payload> {
|
|
|
6
6
|
type: string;
|
|
7
7
|
payload: Payload;
|
|
8
8
|
readonly id: string;
|
|
9
|
-
|
|
9
|
+
readonly groupId?: string | undefined;
|
|
10
|
+
constructor(type: string, payload: Payload, id: string, groupId?: string | undefined);
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristine-ts/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.392",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "dist/lib/esm/core.module.js",
|
|
6
6
|
"main": "dist/lib/cjs/core.module.js",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@pristine-ts/common": "^0.0.
|
|
24
|
-
"@pristine-ts/configuration": "^0.0.
|
|
25
|
-
"@pristine-ts/logging": "^0.0.
|
|
26
|
-
"@pristine-ts/security": "^0.0.
|
|
27
|
-
"@pristine-ts/telemetry": "^0.0.
|
|
23
|
+
"@pristine-ts/common": "^0.0.392",
|
|
24
|
+
"@pristine-ts/configuration": "^0.0.392",
|
|
25
|
+
"@pristine-ts/logging": "^0.0.392",
|
|
26
|
+
"@pristine-ts/security": "^0.0.392",
|
|
27
|
+
"@pristine-ts/telemetry": "^0.0.392",
|
|
28
28
|
"uuid": "^9.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"src/*.{js,ts}"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "33adac47fa9679a7689f278dd4bd86f526888361"
|
|
68
68
|
}
|