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.js CHANGED
@@ -1585,7 +1585,7 @@ var KafkaManager = class extends EventManager {
1585
1585
  topic: String(json.topic),
1586
1586
  producer: String(json.producer),
1587
1587
  tenant: UUID.create(String(json.tenant)),
1588
- message: json.message
1588
+ message: json.data
1589
1589
  });
1590
1590
  const next = (BigInt(message.offset) + 1n).toString();
1591
1591
  await this.consumer.commitOffsets([{ topic, partition, offset: next }]);
@@ -1841,6 +1841,7 @@ var DefaultMysqlInboxRunner = class {
1841
1841
  this.eventManager = eventManager;
1842
1842
  }
1843
1843
  async saveEvent(e, repository) {
1844
+ console.log(e);
1844
1845
  try {
1845
1846
  let record = new InboxRecord(
1846
1847
  UUID.create(),
@@ -1866,7 +1867,6 @@ var DefaultMysqlInboxRunner = class {
1866
1867
  console.log(data);
1867
1868
  });
1868
1869
  this.eventManager.onMessage((data) => {
1869
- console.log(data);
1870
1870
  });
1871
1871
  this.eventManager.onError((data) => {
1872
1872
  console.log(data);