cmd-control-client-lib 3.0.306 → 3.0.310

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.
@@ -1,13 +1,43 @@
1
1
  export declare enum ExitCode {
2
+ /**
3
+ * @description Client logged out. Chat gets closed before announced(unused)
4
+ */
2
5
  CLIENTCEXIT = 100,
6
+ /**
7
+ * @description Client clicked logout button
8
+ */
3
9
  CLIENTLOGOUT = 101,
10
+ /**
11
+ * @description Client forced exit (unused)
12
+ */
4
13
  CLIENTDESTRUCT = 102,
14
+ /**
15
+ * @description ExitWindow or JS onbeforeunload event
16
+ */
5
17
  CLIENTEXITWIN = 103,
18
+ /**
19
+ * @description Client wishes to upgrade chat (unused)
20
+ */
6
21
  CLIENTUPGRADE = 104,
22
+ /**
23
+ * @description Client exits with an internal error
24
+ */
7
25
  CLIENTERROR = 105,
26
+ /**
27
+ * @description Client exits to charge account.(unused)
28
+ */
8
29
  CLIENTCHARGE = 106,
30
+ /**
31
+ * @description Used by old client when socket to server is closed (browser window closed)
32
+ */
9
33
  CLIENTDISCONNECT = 107,
34
+ /**
35
+ * @description Client gets timeout when receiving video
36
+ */
10
37
  TIMEOUT_ON_CLIENT_SIDE = 108,
38
+ /**
39
+ * @description Unknown code, must be checked manually
40
+ */
11
41
  CLIENT_ERROR = 109,
12
42
  HOSTKICK = 201,
13
43
  HOSTSTOPSEND = 202,
@@ -17,6 +17,7 @@ export declare type toyType = {
17
17
  mode?: string;
18
18
  version?: string;
19
19
  dateTime?: string;
20
+ iid?: string;
20
21
  };
21
22
  export declare type toyLocalAppResponseType = {
22
23
  type: string;
@@ -166,6 +167,7 @@ export declare class CMDC_TOYCOMMAND implements ICOMMAND {
166
167
  action: ACTION;
167
168
  params: {
168
169
  sessionID?: string;
170
+ chatID?: string;
169
171
  } & {
170
172
  toy: string;
171
173
  } & (toyCommandFunctionType | toyCommandPatternType | toyCommandPresetType);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cmd-control-client-lib",
3
3
  "description": "Cmd-Client-Library",
4
- "version": "3.0.306",
4
+ "version": "3.0.310",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },