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.cjs
CHANGED
|
@@ -1680,8 +1680,9 @@ var KafkaManager = class extends EventManager {
|
|
|
1680
1680
|
date: DateTime.now().value,
|
|
1681
1681
|
tenant: e.tenant.value,
|
|
1682
1682
|
producer: e.producer,
|
|
1683
|
-
data: e.message
|
|
1683
|
+
data: JSON.parse(e.message)
|
|
1684
1684
|
};
|
|
1685
|
+
console.log(evt);
|
|
1685
1686
|
try {
|
|
1686
1687
|
if (!this.producer) {
|
|
1687
1688
|
throw new InternalError(ErrorManager.APP_ERRORS.PROCESS, "Producer not initialized");
|
|
@@ -1821,7 +1822,7 @@ var DefaultMysqlOutboxRunner = class {
|
|
|
1821
1822
|
topic: e.topic,
|
|
1822
1823
|
producer: process.env.NAME && process.env.ENVIRONMENT ? `${process.env.NAME}-${process.env.ENVIRONMENT}` : "unknown",
|
|
1823
1824
|
tenant: e.tenantUuid,
|
|
1824
|
-
message:
|
|
1825
|
+
message: e.payload
|
|
1825
1826
|
});
|
|
1826
1827
|
e.markProcessed();
|
|
1827
1828
|
} catch (error) {
|