@reactoo/watchtogether-sdk-js 2.5.42 → 2.5.43

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.42",
3
+ "version": "2.5.43",
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, dotAttribute} = {}) => {
57
+ createRoom: ({title, description, isPublic, 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, {})
@@ -75,6 +75,7 @@ let room = function () {
75
75
  linkedRoomId,
76
76
  hasStudioChat,
77
77
  maxParticipants,
78
+ type,
78
79
  customAttributes,
79
80
  ..._da,
80
81
  instanceType: this.__instanceType,
@@ -82,7 +83,7 @@ let room = function () {
82
83
  }))
83
84
  },
84
85
 
85
- updateRoom: ({roomId, title, description, isPublic, recordings, slug, password, maxParticipants, setInstanceType = false, wtChannelId, isHd, isStudioLayout, hasStudioChat, reduceRoomControls, chatRoomId, linkedRoomId, disableSync, defaultRegion, customAttributes, dotAttribute} = {}) => {
86
+ updateRoom: ({roomId, title, description, isPublic, recordings, slug, password, maxParticipants, setInstanceType = false, wtChannelId, isHd, isStudioLayout, hasStudioChat, reduceRoomControls, chatRoomId, linkedRoomId, type, disableSync, defaultRegion, customAttributes, dotAttribute} = {}) => {
86
87
  let _da = dotAttribute
87
88
  ? (Array.isArray(dotAttribute)
88
89
  ? dotAttribute.reduce((p, cv) => (p[cv.name] = cv.value) && p || p, {})
@@ -103,6 +104,7 @@ let room = function () {
103
104
  reduceRoomControls,
104
105
  chatRoomId,
105
106
  linkedRoomId,
107
+ type,
106
108
  disableSync,
107
109
  defaultRegion,
108
110
  customAttributes,