@defcomm/meetingsdk 0.4.7 → 0.4.8

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
@@ -1015,6 +1015,7 @@ var SFUClient = class {
1015
1015
  }
1016
1016
  case "reaction": {
1017
1017
  const reaction = payload.reaction || payload;
1018
+ console.log("[SFUClient] RECEIVED REACTION", reaction);
1018
1019
  if (reaction?.id && reaction?.emoji) this.onReaction(reaction);
1019
1020
  break;
1020
1021
  }
@@ -2881,6 +2882,11 @@ var MeetingProvider = ({
2881
2882
  emoji: reaction.emoji
2882
2883
  }
2883
2884
  };
2885
+ console.log("[MeetingProvider] PUBSUB REACTION", message);
2886
+ pubSubListeners.current.get("REACTION")?.forEach((fn) => {
2887
+ console.log("[MeetingProvider] DELIVERING REACTION");
2888
+ fn(message);
2889
+ });
2884
2890
  setReactionPubSubMessages(
2885
2891
  (previous) => [...previous, message].slice(-50)
2886
2892
  );