@jealous-robot-dev/shared-types-responses 1.43.10 → 1.44.1

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.
@@ -29,9 +29,8 @@ export interface LiveRoomClientMediaShareStoped extends LiveRoomClientAttendeeMi
29
29
  export interface LiveRoomClientMediaShareStop extends LiveRoomClientTargetAttendeePayload {
30
30
  type: LiveRoomMediaType;
31
31
  }
32
- export interface LiveRoomClientMicrophoneDisconnection extends LiveRoomClientAttendeeMinumumPayload {
33
- }
34
- export interface LiveRoomClientMicrophoneConnection extends LiveRoomClientAttendeeMinumumPayload {
32
+ export interface LiveRoomClientMicConnStateUpdated extends LiveRoomClientAttendeeMinumumPayload {
33
+ is_on: boolean;
35
34
  }
36
35
  export interface LiveRoomClientChatMsgView extends LiveRoomClientAttendeeMinumumPayload {
37
36
  thread_id: string;
@@ -47,12 +46,12 @@ export interface LiveRoomClientChatMsgDelete extends LiveRoomClientAttendeeMinum
47
46
  msg_id: number;
48
47
  }
49
48
  export interface LiveRoomClientChatMsgNew extends LiveRoomClientAttendeeMinumumPayload {
50
- receiver: string;
49
+ receiver?: string;
51
50
  thread_id: string;
52
51
  msg_id: number;
53
52
  text: string;
54
53
  }
55
- export declare type LiveRoomClientMessageType = LiveRoomClientMicrophoneConnection | LiveRoomClientMicrophoneDisconnection | LiveRoomClientSessionStarted | LiveRoomClientClientEntered | LiveRoomClientChatMsgNew | LiveRoomClientChatMsgDelete | LiveRoomClientClientLeft | LiveRoomClientClientEntered | LiveRoomClientChatMsgEdit | LiveRoomClientSessionEnded | LiveRoomClientChatMsgView;
54
+ export declare type LiveRoomClientMessageType = LiveRoomClientChatMsgView | LiveRoomClientMicConnStateUpdated | LiveRoomClientSessionStarted | LiveRoomClientClientEntered | LiveRoomClientChatMsgNew | LiveRoomClientChatMsgDelete | LiveRoomClientClientLeft | LiveRoomClientClientEntered | LiveRoomClientChatMsgEdit | LiveRoomClientSessionEnded;
56
55
  export interface LiveRoomClientMessage {
57
56
  channel: LiveRoomClientMessages;
58
57
  payload: LiveRoomClientMessageType;
@@ -108,9 +108,10 @@ export interface LiveRoomServerMediaShareStoped extends LiveRoomServerMediaPaylo
108
108
  }
109
109
  export interface LiveRoomServerMediaShareStop extends LiveRoomServerTargetedMediaPayload {
110
110
  }
111
- export interface LiveRoomServerMicrophoneDisconnected extends LiveRoomServerMinimumPayload {
112
- }
113
- export interface LiveRoomServerMicrophoneConnected extends LiveRoomServerMinimumPayload {
111
+ export interface LiveRoomServerMicConnStateUpdated extends LiveRoomServerMinimumPayload {
112
+ UID: string;
113
+ is_on: boolean;
114
+ attendee_id: string;
114
115
  }
115
116
  export interface LiveRoomServerChatMessageNew extends LiveRoomServerMinimumPayload {
116
117
  audience: string[];
@@ -141,7 +142,7 @@ export interface LiveRoomServerChatMsgView extends LiveRoomServerMinimumPayload
141
142
  messages: number[];
142
143
  thread_id: string;
143
144
  }
144
- export declare type LiveRoomServerMessageType = LiveRoomServerMicrophoneConnected | LiveRoomServerMicrophoneDisconnected | LiveRoomServerChatMessageEdited | LiveRoomServerChatMessageNew | LiveRoomServerSessionState | LiveRoomServerClientEntered | LiveRoomServerChatMsgView | LiveRoomServerChatMessageDel | LiveRoomServerSessionEnded | LiveRoomServerClientPing | LiveRoomServerClientLeft | LiveRoomServerClientClose;
145
+ export declare type LiveRoomServerMessageType = LiveRoomServerChatMessageEdited | LiveRoomServerChatMessageNew | LiveRoomServerSessionState | LiveRoomServerClientEntered | LiveRoomServerChatMsgView | LiveRoomServerChatMessageDel | LiveRoomServerSessionEnded | LiveRoomServerClientPing | LiveRoomServerClientLeft | LiveRoomServerClientClose | LiveRoomServerMicConnStateUpdated;
145
146
  export interface LiveRoomServerMessage {
146
147
  channel: LiveRoomServerMessages;
147
148
  payload: LiveRoomServerMessageType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.43.10",
3
+ "version": "1.44.1",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "typescript": "^3.8.3"
25
25
  },
26
26
  "dependencies": {
27
- "@jealous-robot-dev/drophr-common": "^1.10.0",
27
+ "@jealous-robot-dev/drophr-common": "^1.10.1",
28
28
  "@jealous-robot-dev/shared-phrases": "^1.8.2"
29
29
  }
30
30
  }