wsp-ms-core 1.0.84 → 1.0.85

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.d.mts CHANGED
@@ -438,7 +438,7 @@ interface EventMessage {
438
438
  topic: string;
439
439
  producer: string;
440
440
  tenant: UUID;
441
- message: Record<string, any>;
441
+ message: string;
442
442
  }
443
443
  interface EventManagerConnection {
444
444
  userName: string;
package/dist/index.d.ts CHANGED
@@ -438,7 +438,7 @@ interface EventMessage {
438
438
  topic: string;
439
439
  producer: string;
440
440
  tenant: UUID;
441
- message: Record<string, any>;
441
+ message: string;
442
442
  }
443
443
  interface EventManagerConnection {
444
444
  userName: string;
package/dist/index.js CHANGED
@@ -1607,7 +1607,7 @@ var KafkaManager = class extends EventManager {
1607
1607
  date: DateTime.now().value,
1608
1608
  tenant: e.tenant.value,
1609
1609
  producer: e.producer,
1610
- data: e.message
1610
+ data: JSON.parse(e.message)
1611
1611
  };
1612
1612
  try {
1613
1613
  if (!this.producer) {
@@ -1748,7 +1748,7 @@ var DefaultMysqlOutboxRunner = class {
1748
1748
  topic: e.topic,
1749
1749
  producer: process.env.NAME && process.env.ENVIRONMENT ? `${process.env.NAME}-${process.env.ENVIRONMENT}` : "unknown",
1750
1750
  tenant: e.tenantUuid,
1751
- message: JSON.parse(e.payload)
1751
+ message: e.payload
1752
1752
  });
1753
1753
  e.markProcessed();
1754
1754
  } catch (error) {