From 7f41f0ccad830b4e9e6865ff777e401c47b19e76 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Mon, 9 Jul 2018 16:33:47 +0200 Subject: [PATCH] openvidu-node-client: TokenOptions properties optional --- openvidu-node-client/src/TokenOptions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvidu-node-client/src/TokenOptions.ts b/openvidu-node-client/src/TokenOptions.ts index 66be778d..d84a7fd9 100644 --- a/openvidu-node-client/src/TokenOptions.ts +++ b/openvidu-node-client/src/TokenOptions.ts @@ -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; } \ No newline at end of file