@reactoo/watchtogether-sdk-js 2.7.86 → 2.7.87
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.
|
@@ -787,6 +787,9 @@ let roomSession = function (_ref, room, wt) {
|
|
|
787
787
|
get constructId() {
|
|
788
788
|
return room.constructId;
|
|
789
789
|
},
|
|
790
|
+
get role() {
|
|
791
|
+
return role;
|
|
792
|
+
},
|
|
790
793
|
// needs to be called before connect or it doesn't have any effect
|
|
791
794
|
changeUserRole: function (newRole) {
|
|
792
795
|
role = newRole;
|