@reactoo/watchtogether-sdk-js 2.5.91 → 2.5.93

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactoo/watchtogether-sdk-js",
3
- "version": "2.5.91",
3
+ "version": "2.5.93",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -208,11 +208,11 @@ let room = function () {
208
208
 
209
209
  },
210
210
 
211
- roomRecorder: ({roomId, operation = 'get', config, destinationIds} = {}) => {
211
+ roomRecorder: ({roomId, operation = 'get', config, outputs, destinationIds} = {}) => {
212
212
  return this.__privates.auth.__client
213
213
  .then(client => client.apis.wt.recordRoom({}, {
214
214
  requestBody: {
215
- roomId, operation, config, destinationIds
215
+ roomId, operation, config, outputs, destinationIds
216
216
  }
217
217
  }))
218
218
  },
@@ -885,7 +885,7 @@ class RoomSession {
885
885
  _watchStream(id) {
886
886
  return this.sendMessage(this.handleId, {
887
887
  body: {
888
- "request": "watch", id: parseInt(id)
888
+ "request": "watch", id: String(id)
889
889
  }
890
890
  }, false, true)
891
891
  }