@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.mjs CHANGED
@@ -1060,6 +1060,8 @@ var Reactor = class {
1060
1060
  this.machineClient.on("application", (message) => {
1061
1061
  if ((message == null ? void 0 : message.type) === "application" && (message == null ? void 0 : message.data) !== void 0) {
1062
1062
  this.emit("newMessage", message.data);
1063
+ } else {
1064
+ this.emit("newMessage", message);
1063
1065
  }
1064
1066
  });
1065
1067
  this.machineClient.on("statusChanged", (status) => {