wsp-ms-core 1.0.91 → 1.0.93
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1658,7 +1658,7 @@ var KafkaManager = class extends EventManager {
|
|
|
1658
1658
|
topic: String(json.topic),
|
|
1659
1659
|
producer: String(json.producer),
|
|
1660
1660
|
tenant: UUID.create(String(json.tenant)),
|
|
1661
|
-
message: json.
|
|
1661
|
+
message: json.data
|
|
1662
1662
|
});
|
|
1663
1663
|
const next = (BigInt(message.offset) + 1n).toString();
|
|
1664
1664
|
await this.consumer.commitOffsets([{ topic, partition, offset: next }]);
|
|
@@ -1914,6 +1914,7 @@ var DefaultMysqlInboxRunner = class {
|
|
|
1914
1914
|
this.eventManager = eventManager;
|
|
1915
1915
|
}
|
|
1916
1916
|
async saveEvent(e, repository) {
|
|
1917
|
+
console.log(e);
|
|
1917
1918
|
try {
|
|
1918
1919
|
let record = new InboxRecord(
|
|
1919
1920
|
UUID.create(),
|
|
@@ -1939,7 +1940,6 @@ var DefaultMysqlInboxRunner = class {
|
|
|
1939
1940
|
console.log(data);
|
|
1940
1941
|
});
|
|
1941
1942
|
this.eventManager.onMessage((data) => {
|
|
1942
|
-
console.log(data);
|
|
1943
1943
|
});
|
|
1944
1944
|
this.eventManager.onError((data) => {
|
|
1945
1945
|
console.log(data);
|