@videosdk.live/react-sdk 0.1.95 → 0.1.97

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
@@ -320,7 +320,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
320
320
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(MeetingProviderContex.Consumer, null, children));
321
321
  };
322
322
 
323
- var version = "0.1.95";
323
+ var version = "0.1.96";
324
324
 
325
325
  var MeetingProvider = function MeetingProvider(_ref) {
326
326
  var children = _ref.children,
@@ -1288,6 +1288,9 @@ var useParticipant = function useParticipant(participantId, _temp) {
1288
1288
  var getShareStats = function getShareStats() {
1289
1289
  return Promise.resolve(participant === null || participant === void 0 ? void 0 : participant.getShareStats());
1290
1290
  };
1291
+ var getShareAudioStats = function getShareAudioStats() {
1292
+ return Promise.resolve(participant === null || participant === void 0 ? void 0 : participant.getShareAudioStats());
1293
+ };
1291
1294
  var consumeWebcamStreams = function consumeWebcamStreams() {
1292
1295
  participant === null || participant === void 0 ? void 0 : participant.consumeWebcamStreams();
1293
1296
  };
@@ -1362,7 +1365,8 @@ var useParticipant = function useParticipant(participantId, _temp) {
1362
1365
  switchTo: switchTo,
1363
1366
  getAudioStats: getAudioStats,
1364
1367
  getVideoStats: getVideoStats,
1365
- getShareStats: getShareStats
1368
+ getShareStats: getShareStats,
1369
+ getShareAudioStats: getShareAudioStats
1366
1370
  };
1367
1371
  };
1368
1372
 
@@ -1781,6 +1785,9 @@ var useCharacter = function useCharacter(_ref, _temp) {
1781
1785
  var sendMessage = function sendMessage(d) {
1782
1786
  return Promise.resolve(character === null || character === void 0 ? void 0 : character.sendMessage(d)).then(function () {});
1783
1787
  };
1788
+ var interrupt = function interrupt() {
1789
+ return Promise.resolve(character === null || character === void 0 ? void 0 : character.interrupt()).then(function () {});
1790
+ };
1784
1791
  var leave = function leave() {
1785
1792
  return Promise.resolve(character === null || character === void 0 ? void 0 : character.leave()).then(function () {});
1786
1793
  };
@@ -1834,7 +1841,8 @@ var useCharacter = function useCharacter(_ref, _temp) {
1834
1841
  disableWebcam: disableWebcam,
1835
1842
  join: join,
1836
1843
  leave: leave,
1837
- sendMessage: sendMessage
1844
+ sendMessage: sendMessage,
1845
+ interrupt: interrupt
1838
1846
  };
1839
1847
  };
1840
1848