@agentvault/secure-channel 0.6.23 → 0.6.24

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
@@ -46020,6 +46020,15 @@ var SecureChannel = class _SecureChannel extends EventEmitter {
46020
46020
  if (data.event === "room_message") {
46021
46021
  await this._handleRoomMessage(data.data);
46022
46022
  }
46023
+ if (data.event === "policy_blocked") {
46024
+ this.emit("policy_blocked", data.data);
46025
+ }
46026
+ if (data.event === "message_held") {
46027
+ this.emit("message_held", data.data);
46028
+ }
46029
+ if (data.event === "policy_rejected") {
46030
+ this.emit("policy_rejected", data.data);
46031
+ }
46023
46032
  } catch (err) {
46024
46033
  this.emit("error", err);
46025
46034
  }