@videosdk.live/react-sdk 0.1.77 → 0.1.78

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.
@@ -297,7 +297,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
297
297
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MeetingProviderContex.Consumer, null, children));
298
298
  };
299
299
 
300
- var version = "0.1.77";
300
+ var version = "0.1.78";
301
301
 
302
302
  var MeetingProvider = function MeetingProvider(_ref) {
303
303
  var children = _ref.children,
@@ -1262,6 +1262,7 @@ var useParticipant = function useParticipant(participantId, _temp) {
1262
1262
  webcamOn: webcamOn || !!webcamStream,
1263
1263
  micOn: micOn || !!micStream,
1264
1264
  mode: mode,
1265
+ metaData: participant === null || participant === void 0 ? void 0 : participant.metaData,
1265
1266
  screenShareOn: !!screenShareStream,
1266
1267
  isLocal: (localParticipant === null || localParticipant === void 0 ? void 0 : localParticipant.id) === participantId,
1267
1268
  isActiveSpeaker: activeSpeakerId === participantId,
@@ -1373,9 +1374,9 @@ var usePubSub = function usePubSub(topic, _temp) {
1373
1374
  messages = _useState[0],
1374
1375
  setMessages = _useState[1];
1375
1376
  var isSubscribed = useRef(false);
1376
- var publish = function publish(message, options) {
1377
+ var publish = function publish(message, options, payload) {
1377
1378
  if (meeting) {
1378
- meeting.pubSub.publish(topic, message, options);
1379
+ meeting.pubSub.publish(topic, message, options, payload);
1379
1380
  }
1380
1381
  };
1381
1382
  var _handlePubSub = function _handlePubSub(data) {