openvidu-node-client: TokenOptions properties optional

pull/88/merge
pabloFuente 2018-07-09 16:33:47 +02:00
parent c67e98aec5
commit 7f41f0ccad
1 changed files with 2 additions and 2 deletions

View File

@ -25,10 +25,10 @@ export interface TokenOptions {
* - If you have provided some data when calling `Session.connect(TOKEN, DATA)` (`DATA` defined), then `Connection.data` will have the following structure: `"CLIENT_DATA%/%SERVER_DATA"`, being `CLIENT_DATA` the second
* parameter passed in OpenVidu Browser in method `Session.connect` and `SERVER_DATA` this [[TokenOptions.data]] property.
*/
data: string;
data?: string;
/**
* The role assigned to this token
*/
role: OpenViduRole;
role?: OpenViduRole;
}