@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.js CHANGED
@@ -1045,6 +1045,7 @@ var SFUClient = class {
1045
1045
  }
1046
1046
  case "reaction": {
1047
1047
  const reaction = payload.reaction || payload;
1048
+ console.log("[SFUClient] RECEIVED REACTION", reaction);
1048
1049
  if (reaction?.id && reaction?.emoji) this.onReaction(reaction);
1049
1050
  break;
1050
1051
  }
@@ -2911,6 +2912,11 @@ var MeetingProvider = ({
2911
2912
  emoji: reaction.emoji
2912
2913
  }
2913
2914
  };
2915
+ console.log("[MeetingProvider] PUBSUB REACTION", message);
2916
+ pubSubListeners.current.get("REACTION")?.forEach((fn) => {
2917
+ console.log("[MeetingProvider] DELIVERING REACTION");
2918
+ fn(message);
2919
+ });
2914
2920
  setReactionPubSubMessages(
2915
2921
  (previous) => [...previous, message].slice(-50)
2916
2922
  );