@reactoo/watchtogether-sdk-js 2.5.43 → 2.5.44

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.43",
3
+ "version": "2.5.44",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -54,7 +54,7 @@ let room = function () {
54
54
  }))
55
55
  },
56
56
 
57
- createRoom: ({title, description, isPublic, isStudioLayout, wtChannelId, isHd, disableSync, reduceRoomControls, hasStudioChat, maxParticipants, customAttributes, chatRoomId, linkedRoomId, type, dotAttribute} = {}) => {
57
+ createRoom: ({title, description, isPublic, isRouter, isStudioLayout, wtChannelId, isHd, disableSync, reduceRoomControls, hasStudioChat, maxParticipants, customAttributes, chatRoomId, linkedRoomId, type, dotAttribute} = {}) => {
58
58
  let _da = dotAttribute
59
59
  ? (Array.isArray(dotAttribute)
60
60
  ? dotAttribute.reduce((p, cv) => (p[cv.name] = cv.value) && p || p, {})
@@ -65,6 +65,7 @@ let room = function () {
65
65
  requestBody: {
66
66
  title,
67
67
  description,
68
+ isRouter,
68
69
  isPublic,
69
70
  isStudioLayout,
70
71
  wtChannelId,
@@ -83,7 +84,7 @@ let room = function () {
83
84
  }))
84
85
  },
85
86
 
86
- updateRoom: ({roomId, title, description, isPublic, recordings, slug, password, maxParticipants, setInstanceType = false, wtChannelId, isHd, isStudioLayout, hasStudioChat, reduceRoomControls, chatRoomId, linkedRoomId, type, disableSync, defaultRegion, customAttributes, dotAttribute} = {}) => {
87
+ updateRoom: ({roomId, title, description, isPublic, isRouter, recordings, slug, password, maxParticipants, setInstanceType = false, wtChannelId, isHd, isStudioLayout, hasStudioChat, reduceRoomControls, chatRoomId, linkedRoomId, type, disableSync, defaultRegion, customAttributes, dotAttribute} = {}) => {
87
88
  let _da = dotAttribute
88
89
  ? (Array.isArray(dotAttribute)
89
90
  ? dotAttribute.reduce((p, cv) => (p[cv.name] = cv.value) && p || p, {})
@@ -97,6 +98,7 @@ let room = function () {
97
98
  slug,
98
99
  password,
99
100
  isPublic,
101
+ isRouter,
100
102
  isHd,
101
103
  isStudioLayout,
102
104
  hasStudioChat,