Skip to content

Commit

Permalink
Fix setLayout signature (#299)
Browse files Browse the repository at this point in the history
* Fix setLayout signature

Closes https://github.com/signalwire/cloud-support/issues/1251

* add changeset

* Update little-apes-act.md
  • Loading branch information
danieleds authored Sep 17, 2021
1 parent 1cfc341 commit 72eb91b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/little-apes-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/core': patch
---

Fixed signature of the setLayout method of a VideoRoomSession (affects: realtime-api) [fix]
2 changes: 1 addition & 1 deletion packages/core/src/types/videoRoomSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export interface VideoRoomSessionContract {
removeMember(params: Required<MemberCommandParams>): Rooms.RemoveMember
setHideVideoMuted(value: boolean): Rooms.SetHideVideoMuted
getLayouts(): Rooms.GetLayouts
setLayout(): Rooms.SetLayout
setLayout(params: { name: string }): Rooms.SetLayout
getRecordings(): Rooms.GetRecordings
startRecording(): Promise<Rooms.RoomSessionRecording>
}
Expand Down

0 comments on commit 72eb91b

Please sign in to comment.