@defcomm/meetingsdk 0.4.8 → 0.4.9

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
@@ -2237,6 +2237,9 @@ var VideoSDKCore = class {
2237
2237
  this.state.addChatMessage(msg);
2238
2238
  this.events.onChatMessage?.(msg);
2239
2239
  },
2240
+ onReaction: (reaction) => {
2241
+ this.events.onReaction?.(reaction);
2242
+ },
2240
2243
  onJoinRequested: (request) => {
2241
2244
  const requestId = request?.request_id || request?.requestId;
2242
2245
  const participantId = request?.user_id || request?.participantId;
@@ -2883,10 +2886,6 @@ var MeetingProvider = ({
2883
2886
  }
2884
2887
  };
2885
2888
  console.log("[MeetingProvider] PUBSUB REACTION", message);
2886
- pubSubListeners.current.get("REACTION")?.forEach((fn) => {
2887
- console.log("[MeetingProvider] DELIVERING REACTION");
2888
- fn(message);
2889
- });
2890
2889
  setReactionPubSubMessages(
2891
2890
  (previous) => [...previous, message].slice(-50)
2892
2891
  );