@readerseye2/cr_type 1.0.180 → 1.0.182

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.
@@ -45,6 +45,16 @@ export interface ClientToServerEvents {
45
45
  'webrtc:hangup': (payload: {
46
46
  targetIdx: number;
47
47
  }) => void;
48
+ /**
49
+ * WebRTC 진단 정보 (부모→서버, 단방향)
50
+ * - iceCandidateType: 부모 측 selected candidate pair의 local candidate type
51
+ * - endReason: 비정상 종료 시에만 동봉 (정상 종료는 'webrtc:hangup' 사용)
52
+ */
53
+ 'webrtc:diag': (payload: {
54
+ targetChildIdx: number;
55
+ iceCandidateType: 'host' | 'srflx' | 'relay' | null;
56
+ endReason?: 'ice-failed' | 'connection-failed';
57
+ }) => void;
48
58
  }
49
59
  export interface NoticeToServerEvents {
50
60
  'notice-message:send': (msg: MessageRequest) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readerseye2/cr_type",
3
- "version": "1.0.180",
3
+ "version": "1.0.182",
4
4
  "description": "CheckReading shared TypeScript types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",