wsp-ms-core 1.0.84 → 1.0.86
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1607,8 +1607,9 @@ 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
|
+
console.log(evt);
|
|
1612
1613
|
try {
|
|
1613
1614
|
if (!this.producer) {
|
|
1614
1615
|
throw new InternalError(ErrorManager.APP_ERRORS.PROCESS, "Producer not initialized");
|
|
@@ -1748,7 +1749,7 @@ var DefaultMysqlOutboxRunner = class {
|
|
|
1748
1749
|
topic: e.topic,
|
|
1749
1750
|
producer: process.env.NAME && process.env.ENVIRONMENT ? `${process.env.NAME}-${process.env.ENVIRONMENT}` : "unknown",
|
|
1750
1751
|
tenant: e.tenantUuid,
|
|
1751
|
-
message:
|
|
1752
|
+
message: e.payload
|
|
1752
1753
|
});
|
|
1753
1754
|
e.markProcessed();
|
|
1754
1755
|
} catch (error) {
|