@reactoo/watchtogether-sdk-js 2.5.40 → 2.5.41
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
package/src/models/room.js
CHANGED
|
@@ -54,7 +54,7 @@ let room = function () {
|
|
|
54
54
|
}))
|
|
55
55
|
},
|
|
56
56
|
|
|
57
|
-
createRoom: ({title, description, isPublic, isListed, isStudioLayout, allowedParticipants, wtChannelId, isHd, disableSync, reduceRoomControls,
|
|
57
|
+
createRoom: ({title, description, isPublic, isListed, isStudioLayout, allowedParticipants, wtChannelId, isHd, disableSync, reduceRoomControls, hasStudioChat, maxParticipants, customAttributes, chatRoomId, linkedRoomId} = {}) => {
|
|
58
58
|
return this.__privates.auth.__client
|
|
59
59
|
.then(client => client.apis.wt.createRoom({}, {
|
|
60
60
|
requestBody: {
|
|
@@ -69,7 +69,8 @@ let room = function () {
|
|
|
69
69
|
isHd,
|
|
70
70
|
disableSync,
|
|
71
71
|
reduceRoomControls,
|
|
72
|
-
|
|
72
|
+
chatRoomId,
|
|
73
|
+
linkedRoomId,
|
|
73
74
|
hasStudioChat,
|
|
74
75
|
maxParticipants,
|
|
75
76
|
customAttributes
|
|
@@ -77,7 +78,7 @@ let room = function () {
|
|
|
77
78
|
}))
|
|
78
79
|
},
|
|
79
80
|
|
|
80
|
-
updateRoom: ({roomId, title, description, isPublic, isListed, allowedParticipants, recordings, slug, password, maxParticipants, setInstanceType = false, wtChannelId, isHd, isStudioLayout, hasStudioChat, reduceRoomControls,
|
|
81
|
+
updateRoom: ({roomId, title, description, isPublic, isListed, allowedParticipants, recordings, slug, password, maxParticipants, setInstanceType = false, wtChannelId, isHd, isStudioLayout, hasStudioChat, reduceRoomControls, chatRoomId, linkedRoomId, disableSync, defaultRegion, customAttributes, dotAttribute} = {}) => {
|
|
81
82
|
let _da = dotAttribute
|
|
82
83
|
? (Array.isArray(dotAttribute)
|
|
83
84
|
? dotAttribute.reduce((p, cv) => (p[cv.name] = cv.value) && p || p, {})
|
|
@@ -98,7 +99,8 @@ let room = function () {
|
|
|
98
99
|
hasStudioChat,
|
|
99
100
|
maxParticipants,
|
|
100
101
|
reduceRoomControls,
|
|
101
|
-
|
|
102
|
+
chatRoomId,
|
|
103
|
+
linkedRoomId,
|
|
102
104
|
disableSync,
|
|
103
105
|
defaultRegion,
|
|
104
106
|
customAttributes,
|