Skip to content

Commit

Permalink
rename destination to destinations
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Dec 21, 2023
1 parent 92e8db0 commit 29d72ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/room/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ export type DataPublishOptions = {
* packets, use Lossy.
*/
reliable?: boolean;
/** the participants who will receive the message, will be sent to every one if empty
/**
* the participants who will receive the message, will be sent to every one if empty
* accepts an array of participant identities or the participant objects
*/
destination?: RemoteParticipant[] | string[];
destinations?: RemoteParticipant[] | string[];
/** the topic under which the message gets published */
topic?: string;
};
Expand Down

0 comments on commit 29d72ed

Please sign in to comment.