@reactor-team/js-sdk 2.2.1 → 2.2.2

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
@@ -1103,6 +1103,8 @@ var Reactor = class {
1103
1103
  this.machineClient.on("application", (message) => {
1104
1104
  if ((message == null ? void 0 : message.type) === "application" && (message == null ? void 0 : message.data) !== void 0) {
1105
1105
  this.emit("newMessage", message.data);
1106
+ } else {
1107
+ this.emit("newMessage", message);
1106
1108
  }
1107
1109
  });
1108
1110
  this.machineClient.on("statusChanged", (status) => {