@coze/realtime-api 1.3.0 → 1.3.2-alpha.30153e
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.
- package/README.md +3 -0
- package/README.zh-CN.md +3 -0
- package/dist/cjs/event-names/index.js +53 -182
- package/dist/cjs/index.js +512 -656
- package/dist/cjs/live/index.js +253 -0
- package/dist/esm/event-names/index.js +43 -165
- package/dist/esm/index.js +516 -662
- package/dist/esm/live/index.js +216 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/event-names/event-names.d.ts +6 -1
- package/dist/types/event-names/index.d.ts +3 -1
- package/dist/types/event-names/live/index.d.ts +86 -0
- package/dist/types/event-names.d.ts +6 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/live/client.d.ts +49 -0
- package/dist/types/live/error.d.ts +25 -0
- package/dist/types/live/event-handler.d.ts +12 -0
- package/dist/types/live/event-names.d.ts +213 -0
- package/dist/types/live/index.d.ts +165 -0
- package/dist/types/live/live/index.d.ts +86 -0
- package/dist/types/live/utils.d.ts +49 -0
- package/dist/umd/index.js +43854 -891
- package/dist/umd/index.js.LICENSE.txt +23 -0
- package/package.json +24 -4
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { COZE_CN_BASE_URL, CozeAPI } from "@coze/api";
|
|
2
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
3
|
+
try {
|
|
4
|
+
var info = gen[key](arg);
|
|
5
|
+
var value = info.value;
|
|
6
|
+
} catch (error) {
|
|
7
|
+
reject(error);
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (info.done) resolve(value);
|
|
11
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
12
|
+
}
|
|
13
|
+
function _async_to_generator(fn) {
|
|
14
|
+
return function() {
|
|
15
|
+
var self = this, args = arguments;
|
|
16
|
+
return new Promise(function(resolve, reject) {
|
|
17
|
+
var gen = fn.apply(self, args);
|
|
18
|
+
function _next(value) {
|
|
19
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
20
|
+
}
|
|
21
|
+
function _throw(err) {
|
|
22
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
23
|
+
}
|
|
24
|
+
_next(void 0);
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
const WTN_BASE_URL = 'https://wtn.volcvideo.com';
|
|
29
|
+
var live_ResourceStatus = /*#__PURE__*/ function(ResourceStatus) {
|
|
30
|
+
ResourceStatus["IDLE"] = "idle";
|
|
31
|
+
ResourceStatus["CONNECTING"] = "connecting";
|
|
32
|
+
ResourceStatus["CONNECTED"] = "connected";
|
|
33
|
+
ResourceStatus["FAILED"] = "failed";
|
|
34
|
+
ResourceStatus["CLOSING"] = "closing";
|
|
35
|
+
ResourceStatus["CLOSED"] = "closed";
|
|
36
|
+
return ResourceStatus;
|
|
37
|
+
}({});
|
|
38
|
+
class WebLiveClient {
|
|
39
|
+
getStatus() {
|
|
40
|
+
return this.status;
|
|
41
|
+
}
|
|
42
|
+
onStatusChange(callback) {
|
|
43
|
+
this.statusListeners.push(callback);
|
|
44
|
+
}
|
|
45
|
+
offStatusChange(callback) {
|
|
46
|
+
this.removeStatusListener(callback);
|
|
47
|
+
}
|
|
48
|
+
removeStatusListener(callback) {
|
|
49
|
+
const index = this.statusListeners.indexOf(callback);
|
|
50
|
+
if (-1 !== index) this.statusListeners.splice(index, 1);
|
|
51
|
+
}
|
|
52
|
+
subscribe(appId, streamId, clientId = '') {
|
|
53
|
+
return _async_to_generator(function*() {
|
|
54
|
+
try {
|
|
55
|
+
var _pc_localDescription;
|
|
56
|
+
if (this.peerConnection) {
|
|
57
|
+
this.peerConnection.close();
|
|
58
|
+
this.peerConnection = null;
|
|
59
|
+
}
|
|
60
|
+
this.setStatus("connecting");
|
|
61
|
+
const rtcConfig = {};
|
|
62
|
+
const pc = new RTCPeerConnection(rtcConfig);
|
|
63
|
+
pc.ontrack = (event)=>{
|
|
64
|
+
this.player.onloadeddata = ()=>{
|
|
65
|
+
this.player.play();
|
|
66
|
+
};
|
|
67
|
+
this.player.srcObject = event.streams[0];
|
|
68
|
+
};
|
|
69
|
+
this.peerConnection = pc;
|
|
70
|
+
this.setupPeerConnectionListeners();
|
|
71
|
+
pc.addTransceiver('audio', {
|
|
72
|
+
direction: 'recvonly'
|
|
73
|
+
});
|
|
74
|
+
const offer = yield pc.createOffer();
|
|
75
|
+
yield pc.setLocalDescription(offer);
|
|
76
|
+
yield this.waitForIceGathering(pc);
|
|
77
|
+
if (!(null == (_pc_localDescription = pc.localDescription) ? void 0 : _pc_localDescription.sdp)) throw new Error('Failed to create SDP offer');
|
|
78
|
+
let subscribeUrl = `${WTN_BASE_URL}/sub/${appId}/${streamId}?MuteVideo=true`;
|
|
79
|
+
if (clientId) subscribeUrl += `&clientid=${clientId}`;
|
|
80
|
+
const response = yield fetch(subscribeUrl, {
|
|
81
|
+
method: 'POST',
|
|
82
|
+
headers: {
|
|
83
|
+
'Content-Type': 'application/sdp'
|
|
84
|
+
},
|
|
85
|
+
body: offer.sdp
|
|
86
|
+
});
|
|
87
|
+
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
|
|
88
|
+
this.resourceUrl = response.headers.get('location') || '';
|
|
89
|
+
const answerSdp = yield response.text();
|
|
90
|
+
const answer = new RTCSessionDescription({
|
|
91
|
+
type: 'answer',
|
|
92
|
+
sdp: answerSdp
|
|
93
|
+
});
|
|
94
|
+
yield this.peerConnection.setRemoteDescription(answer);
|
|
95
|
+
return {
|
|
96
|
+
status: this.status,
|
|
97
|
+
peerConnection: this.peerConnection
|
|
98
|
+
};
|
|
99
|
+
} catch (error) {
|
|
100
|
+
this.status = "failed";
|
|
101
|
+
console.error('Failed to subscribe WebRTC stream:', error);
|
|
102
|
+
return Promise.reject(error);
|
|
103
|
+
}
|
|
104
|
+
}).call(this);
|
|
105
|
+
}
|
|
106
|
+
unsubscribe() {
|
|
107
|
+
return _async_to_generator(function*() {
|
|
108
|
+
try {
|
|
109
|
+
if (!this.resourceUrl) throw new Error("No valid subscription resource URL to unsubscribe");
|
|
110
|
+
this.setStatus("closing");
|
|
111
|
+
const response = yield fetch(this.resourceUrl, {
|
|
112
|
+
method: 'DELETE'
|
|
113
|
+
});
|
|
114
|
+
if (!response.ok) throw new Error(`Failed to unsubscribe: ${response.status} ${response.statusText}`);
|
|
115
|
+
if (this.peerConnection) {
|
|
116
|
+
this.peerConnection.close();
|
|
117
|
+
this.peerConnection = null;
|
|
118
|
+
}
|
|
119
|
+
this.resourceUrl = '';
|
|
120
|
+
this.status = "closed";
|
|
121
|
+
return true;
|
|
122
|
+
} catch (error) {
|
|
123
|
+
console.error('Error unsubscribing resource:', error);
|
|
124
|
+
this.status = "failed";
|
|
125
|
+
return Promise.reject(error);
|
|
126
|
+
}
|
|
127
|
+
}).call(this);
|
|
128
|
+
}
|
|
129
|
+
setMuted(muted) {
|
|
130
|
+
this.player.muted = muted;
|
|
131
|
+
}
|
|
132
|
+
close() {
|
|
133
|
+
this.closePeerConnection();
|
|
134
|
+
if (this.player) {
|
|
135
|
+
this.player.pause();
|
|
136
|
+
this.player.srcObject = null;
|
|
137
|
+
this.player.remove();
|
|
138
|
+
}
|
|
139
|
+
this.resourceUrl = '';
|
|
140
|
+
this.setStatus("idle");
|
|
141
|
+
}
|
|
142
|
+
waitForIceGathering(pc) {
|
|
143
|
+
return new Promise((resolve)=>{
|
|
144
|
+
if ('complete' === pc.iceGatheringState) return void resolve();
|
|
145
|
+
const checkState = ()=>{
|
|
146
|
+
if ('complete' === pc.iceGatheringState) {
|
|
147
|
+
pc.removeEventListener('icegatheringstatechange', checkState);
|
|
148
|
+
resolve();
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
pc.addEventListener('icegatheringstatechange', checkState);
|
|
152
|
+
setTimeout(()=>resolve(), 5000);
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
setupPeerConnectionListeners() {
|
|
156
|
+
if (!this.peerConnection) return;
|
|
157
|
+
this.peerConnection.oniceconnectionstatechange = ()=>{
|
|
158
|
+
var _this_peerConnection, _this_peerConnection1;
|
|
159
|
+
console.log('ICE connection state changed:', null == (_this_peerConnection = this.peerConnection) ? void 0 : _this_peerConnection.iceConnectionState);
|
|
160
|
+
switch(null == (_this_peerConnection1 = this.peerConnection) ? void 0 : _this_peerConnection1.iceConnectionState){
|
|
161
|
+
case 'connected':
|
|
162
|
+
case 'completed':
|
|
163
|
+
this.setStatus("connected");
|
|
164
|
+
break;
|
|
165
|
+
case 'failed':
|
|
166
|
+
case 'disconnected':
|
|
167
|
+
this.setStatus("failed");
|
|
168
|
+
break;
|
|
169
|
+
case 'closed':
|
|
170
|
+
this.setStatus("closed");
|
|
171
|
+
break;
|
|
172
|
+
default:
|
|
173
|
+
var _this_peerConnection2;
|
|
174
|
+
console.log('ICE connection state changed:', null == (_this_peerConnection2 = this.peerConnection) ? void 0 : _this_peerConnection2.iceConnectionState);
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
this.peerConnection.onicecandidate = (event)=>{
|
|
179
|
+
if (event.candidate) console.log('New ICE candidate:', event.candidate);
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
closePeerConnection() {
|
|
183
|
+
if (this.peerConnection) {
|
|
184
|
+
this.peerConnection.close();
|
|
185
|
+
this.peerConnection = null;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
setStatus(newStatus) {
|
|
189
|
+
const oldStatus = this.status;
|
|
190
|
+
if (oldStatus !== newStatus) {
|
|
191
|
+
this.status = newStatus;
|
|
192
|
+
for (const listener of this.statusListeners)try {
|
|
193
|
+
listener(newStatus);
|
|
194
|
+
} catch (error) {
|
|
195
|
+
console.error('Error in status listener:', error);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
constructor(liveId){
|
|
200
|
+
this.peerConnection = null;
|
|
201
|
+
this.resourceUrl = '';
|
|
202
|
+
this.status = "idle";
|
|
203
|
+
this.statusListeners = [];
|
|
204
|
+
this.getLiveData = ()=>_async_to_generator(function*() {
|
|
205
|
+
const api = new CozeAPI({
|
|
206
|
+
baseURL: COZE_CN_BASE_URL,
|
|
207
|
+
token: ''
|
|
208
|
+
});
|
|
209
|
+
return yield api.audio.live.retrieve(this.liveId);
|
|
210
|
+
}).call(this);
|
|
211
|
+
this.setupPeerConnectionListeners();
|
|
212
|
+
this.player = document.createElement('audio');
|
|
213
|
+
this.liveId = liveId;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
export { live_ResourceStatus as ResourceStatus, WebLiveClient };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.6.3"}
|
|
1
|
+
{"fileNames":["../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.dom.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.string.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.object.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../common/temp/default/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../common/temp/default/node_modules/.pnpm/@volcengine+rtc@4.62.11/node_modules/@volcengine/rtc/extension-ainr/index.d.ts","../../../common/temp/default/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.d.ts","../../../common/temp/default/node_modules/.pnpm/@volcengine+rtc@4.62.11/node_modules/@volcengine/rtc/index.d.ts","../src/utils.ts","../src/event-names.ts","../src/error.ts","../src/event-handler.ts","../../../common/temp/default/node_modules/.pnpm/axios@1.7.7_debug@4.3.7/node_modules/axios/index.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/compatibility/disposable.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/compatibility/indexable.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/compatibility/iterators.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/compatibility/index.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../../common/temp/default/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/header.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/readable.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/file.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/fetch.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/formdata.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/connector.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/client.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/errors.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/dispatcher.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-dispatcher.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-origin.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool-stats.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/handlers.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/balanced-pool.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/agent.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-interceptor.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-agent.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-client.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-pool.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-errors.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/proxy-agent.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-handler.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-agent.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/api.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/interceptors.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/util.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cookies.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/patch.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/websocket.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/eventsource.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/filereader.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/diagnostics-channel.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/content-type.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cache.d.ts","../../../common/temp/default/node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/index.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/globals.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/assert.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/assert/strict.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/async_hooks.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/buffer.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/child_process.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/cluster.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/console.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/constants.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/crypto.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/dgram.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/diagnostics_channel.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/dns.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/dns/promises.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/domain.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/dom-events.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/events.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/fs.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/fs/promises.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/http.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/http2.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/https.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/inspector.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/module.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/net.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/os.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/path.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/perf_hooks.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/process.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/punycode.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/querystring.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/readline.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/readline/promises.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/repl.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/sea.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/stream.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/stream/promises.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/stream/consumers.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/stream/web.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/string_decoder.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/test.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/timers.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/timers/promises.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/tls.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/trace_events.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/tty.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/url.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/util.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/v8.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/vm.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/wasi.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/worker_threads.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/zlib.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node@20.16.15/node_modules/@types/node/ts5.6/index.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+ws@8.5.12/node_modules/@types/ws/index.d.ts","../../../common/temp/default/node_modules/.pnpm/reconnecting-websocket@4.4.0/node_modules/reconnecting-websocket/dist/events.d.ts","../../../common/temp/default/node_modules/.pnpm/reconnecting-websocket@4.4.0/node_modules/reconnecting-websocket/dist/reconnecting-websocket.d.ts","../../coze-js/src/utils.ts","../../coze-js/src/resources/websockets/types.ts","../../coze-js/src/websocket-api.ts","../../coze-js/package.json","../../coze-js/src/version.ts","../../../common/temp/default/node_modules/.pnpm/form-data@3.0.2/node_modules/form-data/index.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node-fetch@2.6.2/node_modules/@types/node-fetch/externals.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+node-fetch@2.6.2/node_modules/@types/node-fetch/index.d.ts","../../coze-js/src/error.ts","../../coze-js/src/constant.ts","../../coze-js/src/fetcher.ts","../../coze-js/src/core.ts","../../coze-js/src/resources/resource.ts","../../coze-js/src/resources/bots/bots.ts","../../coze-js/src/resources/bots/index.ts","../../coze-js/src/resources/chat/messages/index.ts","../../coze-js/src/resources/chat/chat.ts","../../coze-js/src/resources/chat/index.ts","../../coze-js/src/resources/conversations/messages/messages.ts","../../coze-js/src/resources/conversations/messages/index.ts","../../coze-js/src/resources/conversations/index.ts","../../coze-js/src/resources/files/files.ts","../../coze-js/src/resources/files/index.ts","../../coze-js/src/resources/workflows/runs/runs.ts","../../coze-js/src/resources/workflows/runs/index.ts","../../coze-js/src/resources/workflows/chat/chat.ts","../../coze-js/src/resources/workflows/chat/index.ts","../../coze-js/src/resources/workflows/index.ts","../../coze-js/src/resources/workspaces/workspaces.ts","../../coze-js/src/resources/workspaces/index.ts","../../coze-js/src/resources/knowledge/documents/documents.ts","../../coze-js/src/resources/knowledge/documents/index.ts","../../coze-js/src/resources/knowledge/index.ts","../../coze-js/src/resources/datasets/documents/documents.ts","../../coze-js/src/resources/datasets/documents/index.ts","../../coze-js/src/resources/datasets/images/images.ts","../../coze-js/src/resources/datasets/images/index.ts","../../coze-js/src/resources/datasets/index.ts","../../coze-js/src/resources/audio/voices/voices.ts","../../coze-js/src/resources/audio/voices/index.ts","../../coze-js/src/resources/audio/transcriptions/transcriptions.ts","../../coze-js/src/resources/audio/transcriptions/index.ts","../../coze-js/src/resources/audio/speech/speech.ts","../../coze-js/src/resources/audio/speech/index.ts","../../coze-js/src/resources/audio/rooms/rooms.ts","../../coze-js/src/resources/audio/rooms/index.ts","../../coze-js/src/resources/audio/voiceprint-groups/features.ts","../../coze-js/src/resources/audio/voiceprint-groups/index.ts","../../coze-js/src/resources/audio/live/index.ts","../../coze-js/src/resources/audio/index.ts","../../coze-js/src/resources/templates/templates.ts","../../coze-js/src/resources/templates/index.ts","../../coze-js/src/resources/websockets/chat/index.ts","../../coze-js/src/resources/websockets/audio/transcriptions/index.ts","../../coze-js/src/resources/websockets/audio/speech/index.ts","../../coze-js/src/resources/websockets/audio/simult-interpretation/index.ts","../../coze-js/src/resources/websockets/audio/index.ts","../../coze-js/src/resources/websockets/index.ts","../../coze-js/src/resources/variables/variables.ts","../../coze-js/src/resources/variables/index.ts","../../coze-js/src/resources/users/index.ts","../../coze-js/src/resources/index.ts","../../../common/temp/default/node_modules/.pnpm/@types+jsonwebtoken@9.0.7/node_modules/@types/jsonwebtoken/index.d.ts","../../coze-js/src/auth.ts","../../coze-js/src/index.ts","../src/index.ts","../src/client.ts","../src/live/index.ts","../../../common/temp/default/node_modules/.pnpm/@types+uuid@9.0.8/node_modules/@types/uuid/index.d.ts","../../../common/temp/default/node_modules/.pnpm/@types+whatwg-fetch@0.0.33/node_modules/@types/whatwg-fetch/index.d.ts"],"fileIdsList":[[88,131,136,180],[88,131],[88,131,146,173,180,189,190],[88,128,131],[88,130,131],[88,131,136,165],[88,131,132,137,143,144,151,162,173],[88,131,132,133,143,151],[83,84,85,88,131],[88,131,134,174],[88,131,135,136,144,152],[88,131,136,162,170],[88,131,137,139,143,151],[88,130,131,138],[88,131,139,140],[88,131,143],[88,131,141,143],[88,130,131,143],[88,131,143,144,145,162,173],[88,131,143,144,145,158,162,165],[88,126,131,178],[88,131,139,143,146,151,162,173],[88,131,143,144,146,147,151,162,170,173],[88,131,146,148,162,170,173],[88,131,143,149],[88,131,150,173,178],[88,131,139,143,151,162],[88,131,152],[88,131,153],[88,130,131,154],[88,128,129,130,131,132,133,134,135,136,137,138,139,140,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179],[88,131,156],[88,131,157],[88,131,143,158,159],[88,131,158,160,174,176],[88,131,143,162,163,164,165],[88,131,162,164],[88,131,162,163],[88,131,165],[88,131,166],[88,128,131,162],[88,131,143,168,169],[88,131,168,169],[88,131,136,151,162,170],[88,131,171],[131],[86,87,88,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179],[88,131,151,172],[88,131,146,157,173],[88,131,136,174],[88,131,162,175],[88,131,150,176],[88,131,177],[88,131,136,143,145,154,162,173,176,178],[88,131,162,179],[88,131,143,146,148,162,170,173,179,180],[76,88,131],[88,131,146,162,180],[88,131,182],[88,98,102,131,173],[88,98,131,162,173],[88,93,131],[88,95,98,131,170,173],[88,131,151,170],[88,131,180],[88,93,131,180],[88,95,98,131,151,173],[88,90,91,94,97,131,143,162,173],[88,98,105,131],[88,90,96,131],[88,98,119,120,131],[88,94,98,131,165,173,180],[88,119,131,180],[88,92,93,131,180],[88,98,131],[88,92,93,94,95,96,97,98,99,100,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,120,121,122,123,124,125,131],[88,98,113,131],[88,98,105,106,131],[88,96,98,106,107,131],[88,97,131],[88,90,93,98,131],[88,98,102,106,107,131],[88,102,131],[88,96,98,101,131,173],[88,90,95,98,105,131],[88,131,162],[88,93,98,119,131,178,180],[88,131,136,184,192,193,195,246],[82,88,131,184,186,188,192,193,194],[82,88,131],[82,88,131,184,191,192,193],[88,131,186,192,193,194,195,245,247],[88,131,196,223,225,227,229,231,232],[88,131,195,196],[88,131,228],[88,131,226],[88,131,184,195,196],[88,131,224],[82,88,131,195,196],[82,88,131,195,196,233],[88,131,195,196,230],[88,131,222],[88,131,197],[88,131,184,192,195,196,199],[88,131,200],[88,131,195,196,201],[88,131,195,196,203,245],[88,131,202],[88,131,195,196,245],[88,131,217],[88,131,219],[88,131,195,196,218,220],[88,131,205],[88,131,185,198,201,204,206,211,213,216,221,233,235,241,243,244],[88,131,214],[88,131,196,215],[88,131,195],[88,131,234],[88,131,242],[88,131,196,237,238,239],[88,131,185,195,196],[88,131,184,185,195,196],[88,131,185,196,236,237,238,239,240],[88,131,192,195,196,200],[88,131,209],[88,131,196,208,210],[88,131,207],[88,131,192,195,196],[88,131,212],[88,131,152,187],[88,131,181,182,183,184,185,195],[75,77,78,79,80,81,88,131,249],[79,80,88,131],[77,78,79,80,81,88,131,248,250],[88,131,248],[77,88,131]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"abee51ebffafd50c07d76be5848a34abfe4d791b5745ef1e5648718722fab924","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"69e65d976bf166ce4a9e6f6c18f94d2424bf116e90837ace179610dbccad9b42","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"15c1c3d7b2e46e0025417ed6d5f03f419e57e6751f87925ca19dc88297053fe6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d540251809289a05349b70ab5f4b7b99f922af66ab3c39ba56a475dcf95d5ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"994bb83b5479a9f8e00d7f3cd977fccd8ec66b82cc6d94bef17e0c80c2e3e8fa","impliedFormat":1},{"version":"b80c780c52524beb13488942543972c8b0e54400e8b59cee0169f38d0fabb968","impliedFormat":1},{"version":"a6968d3cfb8ea1f87cc028b755b0c2d78d892c5f7610178463c91d6bb6c547d9","impliedFormat":1},{"version":"e49a39e9397aa52617b25f93881923b3155e998d2852fb4f88a73c5ad110eb7b","signature":"e5184fbcc1b2fc497ef4b3eabf1eb8f4638f1e4e3dc44fb9d25d188be01fae11"},{"version":"0fc355901e1c7508760a4b929af34a83b4ad82b41da6852550e4caefe1fddc2d","signature":"2177f233bb9c7259981f1f2d5d71474993246d92fe64ad500a5a669a43a5252e"},{"version":"3bbbc122d5521d44cd6e918a1e197dd3b298d609924d8ee2d9a500b6b1eab899","signature":"e06f77c0d818bfe86ec80ca9cc1302127af0bea6422b9f2980e871420371f68d"},{"version":"52cf2904c704b1fda8b89bee3e072acaf967f3b324b945809f08bfd0fe41a364","signature":"526643edf393b635bda316a35981371d195995815c389f965203235e5b139987"},{"version":"01ba761ce6d75a4142858a053f45d64d255e057049ab1cc4d9a93e76b8b5c444","impliedFormat":99},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true,"impliedFormat":1},{"version":"2d1319e6b5d0efd8c5eae07eb864a00102151e8b9afddd2d45db52e9aae002c4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"ca6d304b929748ea15c33f28c1f159df18a94470b424ab78c52d68d40a41e1e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"a72ffc815104fb5c075106ebca459b2d55d07862a773768fce89efc621b3964b","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36","impliedFormat":1},{"version":"d674383111e06b6741c4ad2db962131b5b0fa4d0294b998566c635e86195a453","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","impliedFormat":1},{"version":"a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"c521f961c1606c94dc831992e659f426b6def6e2e6e327ee25d3c642eb393f95","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","impliedFormat":1},{"version":"3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","impliedFormat":1},{"version":"5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","impliedFormat":1},{"version":"e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"4d7da7075068195f8f127f41c61e304cdca5aafb1be2d0f4fb67c6b4c3e98d50","affectsGlobalScope":true,"impliedFormat":1},{"version":"a4bdde4e601e9554a844e1e0d0ccfa05e183ef9d82ab3ac25f17c1709033d360","impliedFormat":1},{"version":"ad23fd126ff06e72728dd7bfc84326a8ca8cec2b9d2dac0193d42a777df0e7d8","impliedFormat":1},{"version":"9dd9f50652a176469e85fb65aa081d2e7eb807e2c476f378233de4f1f6604962","impliedFormat":1},{"version":"93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","impliedFormat":1},{"version":"4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","impliedFormat":1},{"version":"dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e","impliedFormat":1},{"version":"7edec695cdb707c7146ac34c44ca364469c7ea504344b3206c686e79f61b61a2","affectsGlobalScope":true,"impliedFormat":1},{"version":"d206b4baf4ddcc15d9d69a9a2f4999a72a2c6adeaa8af20fa7a9960816287555","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"d1b1295af3667779be43eb6d4fbaa342e656aa2c4b77a4ad3cf42ec55baeea00","impliedFormat":1},{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"a20f1e119615bf7632729fd89b6c0b5ffdc2df3b512d6304146294528e3ebe19","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","impliedFormat":1},{"version":"e9b18bef86287c3e6319addddfd57dfaa14a7a6d8353c042e1806383f5a9472e","impliedFormat":1},{"version":"e432b0e3761ca9ba734bdd41e19a75fec1454ca8e9769bfdf8b31011854cf06a","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"5fe5bdd4b7cdbbe00c862ec8a925fabd8cc5738a6a9adda343b59d0efa21ea57","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"bb715efb4857eb94539eafb420352105a0cff40746837c5140bf6b035dd220ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"fdedf82878e4c744bc2a1c1e802ae407d63474da51f14a54babe039018e53d8f","affectsGlobalScope":true,"impliedFormat":1},{"version":"08353b04a3501d84fc8d7b49de99f6c1cc26026e6d9d697a18315f3bfe92ed03","affectsGlobalScope":true,"impliedFormat":1},{"version":"578d8bb6dcb2a1c03c4c3f8eb71abc9677e1a5c788b7f24848e3138ce17f3400","impliedFormat":1},{"version":"4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"5b566927cad2ed2139655d55d690ffa87df378b956e7fe1c96024c4d9f75c4cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"183b5b2e211391e91b1e171079c4bfde5339fba0238167dc254978b3337eea72","affectsGlobalScope":true,"impliedFormat":1},{"version":"efeedd8bbc5c0d53e760d8b120a010470722982e6ae14de8d1bcff66ebc2ae71","impliedFormat":1},{"version":"b718a94332858862943630649a310d6f8e9a09f86ae7215d8554e75bbbfd7817","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","impliedFormat":1},{"version":"9a2eaab4e54953c6b2ba21f7ac4c2593859da03917011c10a2acd8864e38e7b2","impliedFormat":1},{"version":"c8740697b2743eccb4eac0782928f948c71e0bc37682e33ad022dd85102e4714","impliedFormat":1},{"version":"5114487ceb491e04a303a8c2d26e56c15eafd51a1993ae65ed00074327ab67a2","impliedFormat":1},"b20be9c59df833382fd0dfd75379ca4439a080fb6c62fafe00abf2d39741cd36","40aafefb21f04c09263b77529c4daee0647a08c04e4aa9856c1e4fa753f3a60f",{"version":"9b5521682e099634ec67429b419b22bca40a37e06b019c46de07e5e63ad5a268","affectsGlobalScope":true},"6fb22581c00359517cf90b0720166cc0dd08c3d1dd1c75225224a2e7da8a19c8","e462048b3ba563b5d3060d6107c478f0007d38119d568bfe0cd5b83d2cb02271",{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","impliedFormat":1},{"version":"3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","impliedFormat":1},"de6ca9fd315c62d9353894e89302acb19a5ab188f1fea62c9c7cf7d8466e5fc0","cc624fed549e583bd253afdcf28aac5b53249293f64c79ac6bd78bbaf7e8dcc9","eded884fb3de7e891aa06f955bd5db9848a91c2a336194a3c30734c13a0f9144","bf83410a9a48863422b9b2312c8a13de78ccb10fe3e8dbe45afcc2eb4cb401b1","c2fff095a797e5637240596619b23ba4c724dc134cdd3e0ca22afaa01295c464","284bd40877ed1b0695cc1d2891ce968b556faf03ea245188e77d5da90f21a491","5775ef558645af04f06472dc727b7e532a0ebd7008318bd0b43bf8ab47525534","799ec8313f67361184d14fc157e930ec4d1f70ceb78d3a5073bf326122139797","eb2202fd1c91d98a4a4864e9080abc4a46dcc9dbf5c0d54035ef194fabf9c916","38b483c1daa47cd809ca0a97ef545cdbfb3872e629614a6acd46f7b94aa0d0c5","830a50750425473e9d76d958033d2863c2b46b18a7a4e05cb0764cf37556440b","3e9f1f003a13c8637a7a6812bbf8bd7bee2130157c7f08a47f8bf715c6c0a6f4","cd584c1755b2c8e67a82fab942af7467da4e614c6e4d120ad77df0e787e48559","835a4ac6c4b99b463f47c33a0be3f86bef4409e07ba3e18f02295c7a0b940e21","6f4610c2a8e43de6f62b6a116478cf547fce0fbc64bb2cf5224d137023f1ad56","d09bfb58ecae01e08a624958738fc02d3296bf28f521d09afb03f027435d53b4","4ebfbd90fcd5b7d4f7d2c6649ca515899e826deb4bfc0a8e7d3ff5ed24bc5c6f","df67d33a034245111eb8f3ff06670b3da70575f45f7fd994893c21f109ea3bde","38b483c1daa47cd809ca0a97ef545cdbfb3872e629614a6acd46f7b94aa0d0c5","b07b0446b4f58317c3a0527744d83a07041dd2a54e526b5397af513304667467","c8172eb0258e82ccc8a93666a1d98dbda9aa7ab90d5fc8ba6644c9b42bf9a87d","c7c6b2b78d01743fca3dd10fa73c1fd8f115300ed8c4b7af6ba97d45968918ea","91b39ce310554cb90c289e291fc7992c9f614852e90c2ddd276b557e19f47389","4715b7766c371739621df409f82d12249a6d8c1d97b07f6e1f59c50ba630561a","8bcc1d84a9d3aa18c2ee057776e41fa5415e255adab678ced0cc832882d607f2","263f244733afca9acf5e82703ecb476fe4a0687acb7d3efefcadaee364164557","d29d0a431e997bd35dae73eb8ec8071917f803a4235c9537079304d9defd7091","49eccae04ba2f8831ebd94234eabe1b43d2063b2a1b612d1b4d9d3fdcbd27797","1cb9fe49c03cc7c3b1ecee69fbd137bae540c136156f0b0387bd1e53734805aa","f7de8301cb77c561f2a55ffa03a6973811f112d02f119138775ab968f691908e","4f58e23d8fa8260ac3ab8d0cb48c0b412f49ae4b46b3ea14b59a7f065d6b4255","3e33f30a9dcc37ff213504fe067bb827ebcfe4c4cd3aaaa9fa2329a538301eb0","eee5e7000f9376123fbd21f2616c282056c839ba9eaacd8cfbc5bd9ac18e9842","41682fc99584795a23a3e6d06df4de5f04f20a13f1caf1a88c012cba89d50243","0ccf4161e64507ee46e7d3d7726bba3e3b0fe69f893d89595dc7e34896871506","a03003cea945edd30da136c44d112cfdbdb2f43c90790a8745e2087a74aa4a80","c70f0b56fd40308b4f1921784029a8e3b41b5e642e88eed01113fc654ce433a8","3a9083ccfc7b6309ec4bc53099bf40479f3f3f1f807345cc635faa1eaaed13a4","537e3f4293c9109c8dc9441e09ef00c38f768d5d12e12c59e6ee2606b9973d5e","9faa187c4c0bdf581c67ba3f24fe278bcdd5d2a2c4330d458a56614d2940c5e6","f67908be8d65adbceaf50a6ab652248bbdc69f4ead067e258d6d9e83e32bd99c","1089a56378a2146ba041ef7cf15d4011df470134e53759b42b728115c43a1428","93d33133da8cb8e498b3a5f50ff450d4689901e05e8807ec7cd07b3b871b57d2","2efa41069ef7afc7e4096af8265becd543c3b297b9a82248190638b5df0e9ebf","c2bd35fd01295cf7a3c55d30ac41400a4992ca8eb3c6122649c0b2823dd4d630","d15fea296320a5525c2c65ec4f02c5b5ad769322a67707499a40e15cac13a274","49ac6a2b6124dcbc29b6f051cabf513269ce04172302d5a00aee7e2e561ac531","281ec1cac054f50904fcae032b898dd877fc7ee1d21bfe78f17263606ae26913","1beaa39505e3783116b2b303ec64a51ca0d9a330132edcb43fabab5e7635d29c","a651dd1228fa7103736f1ef172084d09e21116db3b707134e8a00ffcab2debfd","88a1851c5b1ed27c2a189b541b9a5aa3318a8584a250e5f830e352053251b1dd","22a551708b3b751bfd9986bc0135bd08804c1bd7049577a6909ed8d40440d499","eccf3bb17285993150f425f486062204a9b0263bd97d496ca1eed6e002a95f19","44720dcf14a872ab857396ca930281db6be373d7ae3cbbd40a8442db174fac72",{"version":"abd6ccdaae9905ea2ec85488fdce744930862327633eebd40d429511f6a1d5da","impliedFormat":1},"26806252498185448ba3de3a81788f3c3f185547f04a78843a3d9d4295815c1b","a759fc3ecb71a33b51e4381af9604e22e386a06dc6f0aa21cc95c322d75dd2c9",{"version":"d04d78022ab77180fb06fcaa21f5c31bbbbf0e63ce16b566651febce64a2645a","signature":"b20bb75daf09f0924aa9e78f9666fd22a1cc147b4ecdbe01f2434bf44240a4b3"},{"version":"8c5ed224ec0a66d1dde0138364ae1227bca7ffe067c4499022b774d6a8cd66cb","signature":"facdcb7568d350f5f5b495fdae9fab75424867a29ecd2acddb7a6513cbdac2c4"},{"version":"da8fa89c2397ca972684c8c5df21518d549c504ea04e9e1021843c6002a96563","signature":"d23f70b7146289b068475561020f9fcaed9b6cebb6e70919b03d8834c3f55e28"},{"version":"7d2b7fe4adb76d8253f20e4dbdce044f1cdfab4902ec33c3604585f553883f7d","impliedFormat":1},{"version":"393d0ee0144b9500d1a98f98edbfd1a1a3bab8095723665afb3c43734eb067cf","affectsGlobalScope":true,"impliedFormat":1}],"root":[[78,81],[249,251]],"options":{"allowJs":false,"allowSyntheticDefaultImports":true,"alwaysStrict":true,"composite":true,"declaration":true,"declarationDir":"./types/live","emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":1,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":false,"outDir":"./","removeComments":false,"rootDir":"../src","skipLibCheck":true,"sourceMap":false,"strict":true,"strictNullChecks":true,"target":5,"tsBuildInfoFile":"./tsconfig.build.tsbuildinfo"},"referencedMap":[[246,1],[190,2],[191,3],[128,4],[129,4],[130,5],[131,6],[132,7],[133,8],[83,2],[86,9],[84,2],[85,2],[134,10],[135,11],[136,12],[137,13],[138,14],[139,15],[140,15],[142,16],[141,17],[143,18],[144,19],[145,20],[127,21],[146,22],[147,23],[148,24],[149,25],[150,26],[151,27],[152,28],[153,29],[154,30],[155,31],[156,32],[157,33],[158,34],[159,34],[160,35],[161,2],[162,36],[164,37],[163,38],[165,39],[166,40],[167,41],[168,42],[169,43],[170,44],[171,45],[88,46],[87,2],[180,47],[172,48],[173,49],[174,50],[175,51],[176,52],[177,53],[178,54],[179,55],[252,2],[253,2],[181,56],[75,2],[77,57],[82,2],[89,2],[76,2],[189,58],[182,2],[183,59],[73,2],[74,2],[12,2],[13,2],[15,2],[14,2],[2,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[23,2],[3,2],[24,2],[4,2],[25,2],[29,2],[26,2],[27,2],[28,2],[30,2],[31,2],[32,2],[5,2],[33,2],[34,2],[35,2],[36,2],[6,2],[40,2],[37,2],[38,2],[39,2],[41,2],[7,2],[42,2],[47,2],[48,2],[43,2],[44,2],[45,2],[46,2],[8,2],[52,2],[49,2],[50,2],[51,2],[53,2],[9,2],[54,2],[55,2],[56,2],[59,2],[57,2],[58,2],[60,2],[61,2],[10,2],[62,2],[1,2],[63,2],[64,2],[11,2],[69,2],[66,2],[65,2],[72,2],[70,2],[68,2],[71,2],[67,2],[105,60],[115,61],[104,60],[125,62],[96,63],[95,64],[124,65],[118,66],[123,67],[98,68],[112,69],[97,70],[121,71],[93,72],[92,65],[122,73],[94,74],[99,75],[100,2],[103,75],[90,2],[126,76],[116,77],[107,78],[108,79],[110,80],[106,81],[109,82],[119,65],[101,83],[102,84],[111,85],[91,86],[114,77],[113,75],[117,2],[120,87],[187,2],[247,88],[193,2],[195,89],[192,90],[194,91],[248,92],[233,93],[232,94],[229,95],[228,94],[227,96],[226,97],[225,98],[224,99],[230,100],[231,101],[223,102],[222,99],[197,94],[198,103],[200,104],[201,105],[199,106],[204,107],[203,108],[202,109],[217,97],[218,110],[219,94],[220,111],[221,112],[205,99],[206,113],[245,114],[214,97],[215,115],[216,116],[196,117],[235,118],[234,94],[244,94],[243,119],[242,94],[240,120],[239,121],[238,122],[237,122],[236,122],[241,123],[185,2],[209,124],[210,125],[211,126],[208,127],[207,128],[213,129],[212,97],[184,2],[188,130],[186,131],[250,132],[80,2],[81,133],[79,2],[249,134],[251,135],[78,136]],"latestChangedDtsFile":"./types/live/live/index.d.ts","version":"5.6.3"}
|
|
@@ -203,6 +203,11 @@ declare enum EventNames {
|
|
|
203
203
|
* en: Mode updated
|
|
204
204
|
* zh: 更新房间模式成功
|
|
205
205
|
*/
|
|
206
|
-
MODE_UPDATED = "server.mode.updated"
|
|
206
|
+
MODE_UPDATED = "server.mode.updated",
|
|
207
|
+
/**
|
|
208
|
+
* en: Live created
|
|
209
|
+
* zh: 直播创建
|
|
210
|
+
*/
|
|
211
|
+
LIVE_CREATED = "server.live.created"
|
|
207
212
|
}
|
|
208
213
|
export default EventNames;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ScreenConfig, type AudioPropertiesConfig, type IRTCEngine } from '@volcengine/rtc';
|
|
2
|
-
import { type CreateRoomData, type GetToken, type
|
|
2
|
+
import { RoomMode, type CreateRoomData, type GetToken, type TranslateConfig, type CreateRoomTurnDetection } from '@coze/api';
|
|
3
3
|
import * as RealtimeUtils from './utils';
|
|
4
4
|
import EventNames from './event-names';
|
|
5
5
|
import { RealtimeEventHandler } from './event-handler';
|
|
@@ -32,6 +32,8 @@ export interface RealtimeClientConfig {
|
|
|
32
32
|
isAutoSubscribeAudio?: boolean /** optional, Whether to automatically subscribe to bot reply audio streams, defaults to true */;
|
|
33
33
|
prologueContent?: string /** optional, Prologue content */;
|
|
34
34
|
roomMode?: RoomMode /** optional, Room mode */;
|
|
35
|
+
translateConfig?: TranslateConfig /** optional, Translation configuration */;
|
|
36
|
+
turnDetection?: CreateRoomTurnDetection /** optional, Turn detection */;
|
|
35
37
|
}
|
|
36
38
|
declare class RealtimeClient extends RealtimeEventHandler {
|
|
37
39
|
_config: RealtimeClientConfig;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WebRTC资源状态
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ResourceStatus {
|
|
5
|
+
IDLE = "idle",// 初始状态
|
|
6
|
+
CONNECTING = "connecting",// 连接中
|
|
7
|
+
CONNECTED = "connected",// 已连接
|
|
8
|
+
FAILED = "failed",// 连接失败
|
|
9
|
+
CLOSING = "closing",// 关闭中
|
|
10
|
+
CLOSED = "closed"
|
|
11
|
+
}
|
|
12
|
+
export type StatusChangeCallback = (status: ResourceStatus) => void;
|
|
13
|
+
/**
|
|
14
|
+
* 同声传译客户端
|
|
15
|
+
*/
|
|
16
|
+
export declare class WebLiveClient {
|
|
17
|
+
private peerConnection;
|
|
18
|
+
private resourceUrl;
|
|
19
|
+
private status;
|
|
20
|
+
private player;
|
|
21
|
+
private statusListeners;
|
|
22
|
+
private liveId;
|
|
23
|
+
constructor(liveId: string);
|
|
24
|
+
/**
|
|
25
|
+
* 获取当前连接状态
|
|
26
|
+
*/
|
|
27
|
+
getStatus(): ResourceStatus;
|
|
28
|
+
/**
|
|
29
|
+
* 添加状态变化监听器
|
|
30
|
+
* @param callback 状态变化回调函数
|
|
31
|
+
*/
|
|
32
|
+
onStatusChange(callback: StatusChangeCallback): void;
|
|
33
|
+
/**
|
|
34
|
+
* 移除状态变化监听器
|
|
35
|
+
* @param callback 要移除的回调函数
|
|
36
|
+
*/
|
|
37
|
+
offStatusChange(callback: StatusChangeCallback): void;
|
|
38
|
+
/**
|
|
39
|
+
* 移除状态变化监听器
|
|
40
|
+
* @param callback 要移除的回调函数
|
|
41
|
+
*/
|
|
42
|
+
removeStatusListener(callback: StatusChangeCallback): void;
|
|
43
|
+
/**
|
|
44
|
+
* 订阅音频资源
|
|
45
|
+
* @param appId 应用ID
|
|
46
|
+
* @param streamId 流ID
|
|
47
|
+
* @param clientId 客户端ID
|
|
48
|
+
*/
|
|
49
|
+
subscribe(appId: string, streamId: string, clientId?: string): Promise<{
|
|
50
|
+
status: ResourceStatus;
|
|
51
|
+
peerConnection: RTCPeerConnection;
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* 销毁订阅资源
|
|
55
|
+
*/
|
|
56
|
+
unsubscribe(): Promise<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* 静音/取消静音
|
|
59
|
+
* @param muted 是否静音
|
|
60
|
+
*/
|
|
61
|
+
setMuted(muted: boolean): void;
|
|
62
|
+
/**
|
|
63
|
+
* 关闭并清理资源
|
|
64
|
+
*/
|
|
65
|
+
close(): void;
|
|
66
|
+
/**
|
|
67
|
+
* 获取直播信息
|
|
68
|
+
*/
|
|
69
|
+
getLiveData: () => Promise<import("@coze/api").RetrieveLiveData>;
|
|
70
|
+
/**
|
|
71
|
+
* 等待ICE收集完成
|
|
72
|
+
* @param pc RTCPeerConnection实例
|
|
73
|
+
*/
|
|
74
|
+
private waitForIceGathering;
|
|
75
|
+
private setupPeerConnectionListeners;
|
|
76
|
+
/**
|
|
77
|
+
* 关闭PeerConnection
|
|
78
|
+
*/
|
|
79
|
+
private closePeerConnection;
|
|
80
|
+
/**
|
|
81
|
+
* 设置状态并触发监听回调
|
|
82
|
+
* @param newStatus 新状态
|
|
83
|
+
* @private 私有方法,仅内部使用
|
|
84
|
+
*/
|
|
85
|
+
private setStatus;
|
|
86
|
+
}
|
|
@@ -203,6 +203,11 @@ declare enum EventNames {
|
|
|
203
203
|
* en: Mode updated
|
|
204
204
|
* zh: 更新房间模式成功
|
|
205
205
|
*/
|
|
206
|
-
MODE_UPDATED = "server.mode.updated"
|
|
206
|
+
MODE_UPDATED = "server.mode.updated",
|
|
207
|
+
/**
|
|
208
|
+
* en: Live created
|
|
209
|
+
* zh: 直播创建
|
|
210
|
+
*/
|
|
211
|
+
LIVE_CREATED = "server.live.created"
|
|
207
212
|
}
|
|
208
213
|
export default EventNames;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ScreenConfig, type AudioPropertiesConfig, type IRTCEngine } from '@volcengine/rtc';
|
|
2
|
-
import { type CreateRoomData, type GetToken, type
|
|
2
|
+
import { RoomMode, type CreateRoomData, type GetToken, type TranslateConfig, type CreateRoomTurnDetection } from '@coze/api';
|
|
3
3
|
import * as RealtimeUtils from './utils';
|
|
4
4
|
import EventNames from './event-names';
|
|
5
5
|
import { RealtimeEventHandler } from './event-handler';
|
|
@@ -32,6 +32,8 @@ export interface RealtimeClientConfig {
|
|
|
32
32
|
isAutoSubscribeAudio?: boolean /** optional, Whether to automatically subscribe to bot reply audio streams, defaults to true */;
|
|
33
33
|
prologueContent?: string /** optional, Prologue content */;
|
|
34
34
|
roomMode?: RoomMode /** optional, Room mode */;
|
|
35
|
+
translateConfig?: TranslateConfig /** optional, Translation configuration */;
|
|
36
|
+
turnDetection?: CreateRoomTurnDetection /** optional, Turn detection */;
|
|
35
37
|
}
|
|
36
38
|
declare class RealtimeClient extends RealtimeEventHandler {
|
|
37
39
|
_config: RealtimeClientConfig;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type AudioPropertiesConfig, type IRTCEngine, type NetworkQuality, type onUserJoinedEvent, type onUserLeaveEvent, type UserMessageEvent } from '@volcengine/rtc';
|
|
2
|
+
import { RealtimeEventHandler } from './event-handler';
|
|
3
|
+
import { type VideoConfig } from '.';
|
|
4
|
+
export declare class EngineClient extends RealtimeEventHandler {
|
|
5
|
+
private engine;
|
|
6
|
+
private joinUserId;
|
|
7
|
+
private _AIAnsExtension;
|
|
8
|
+
private _isSupportVideo;
|
|
9
|
+
private _videoConfig?;
|
|
10
|
+
private _streamIndex?;
|
|
11
|
+
private _roomUserId?;
|
|
12
|
+
constructor(appId: string, debug?: boolean, isTestEnv?: boolean, isSupportVideo?: boolean, videoConfig?: VideoConfig);
|
|
13
|
+
bindEngineEvents(): void;
|
|
14
|
+
removeEventListener(): void;
|
|
15
|
+
_parseMessage(event: UserMessageEvent): any;
|
|
16
|
+
handleMessage(event: UserMessageEvent): void;
|
|
17
|
+
handleEventError(e: unknown): void;
|
|
18
|
+
handleUserJoin(event: onUserJoinedEvent): void;
|
|
19
|
+
handleUserLeave(event: onUserLeaveEvent): void;
|
|
20
|
+
handlePlayerEvent(event: unknown): void;
|
|
21
|
+
handleNetworkQuality(uplinkNetworkQuality: NetworkQuality, downlinkNetworkQuality: NetworkQuality): void;
|
|
22
|
+
handleTrackEnded(event: any): void;
|
|
23
|
+
joinRoom(options: {
|
|
24
|
+
token: string;
|
|
25
|
+
roomId: string;
|
|
26
|
+
uid: string;
|
|
27
|
+
audioMutedDefault?: boolean;
|
|
28
|
+
videoOnDefault?: boolean;
|
|
29
|
+
isAutoSubscribeAudio?: boolean;
|
|
30
|
+
}): Promise<void>;
|
|
31
|
+
setAudioInputDevice(deviceId: string): Promise<void>;
|
|
32
|
+
setAudioOutputDevice(deviceId: string): Promise<void>;
|
|
33
|
+
setVideoInputDevice(deviceId: string, isAutoCapture?: boolean): Promise<void>;
|
|
34
|
+
createLocalStream(userId?: string, videoConfig?: VideoConfig): Promise<void>;
|
|
35
|
+
disconnect(): Promise<void>;
|
|
36
|
+
changeAudioState(isMicOn: boolean): Promise<void>;
|
|
37
|
+
changeVideoState(isVideoOn: boolean): Promise<void>;
|
|
38
|
+
stop(): Promise<void>;
|
|
39
|
+
sendMessage(message: Record<string, unknown>): Promise<void>;
|
|
40
|
+
enableAudioPropertiesReport(config?: AudioPropertiesConfig): void;
|
|
41
|
+
handleLocalAudioPropertiesReport(event: any): void;
|
|
42
|
+
handleRemoteAudioPropertiesReport(event: unknown): void;
|
|
43
|
+
enableAudioNoiseReduction(): Promise<void>;
|
|
44
|
+
initAIAnsExtension(): Promise<void>;
|
|
45
|
+
changeAIAnsExtension(enable: boolean): void;
|
|
46
|
+
startAudioPlaybackDeviceTest(): Promise<void>;
|
|
47
|
+
stopAudioPlaybackDeviceTest(): void;
|
|
48
|
+
getRtcEngine(): IRTCEngine;
|
|
49
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum RealtimeError {
|
|
2
|
+
DEVICE_ACCESS_ERROR = "DEVICE_ACCESS_ERROR",
|
|
3
|
+
STREAM_CREATION_ERROR = "STREAM_CREATION_ERROR",
|
|
4
|
+
CONNECTION_ERROR = "CONNECTION_ERROR",
|
|
5
|
+
DISCONNECTION_ERROR = "DISCONNECTION_ERROR",
|
|
6
|
+
INTERRUPT_ERROR = "INTERRUPT_ERROR",
|
|
7
|
+
EVENT_HANDLER_ERROR = "EVENT_HANDLER_ERROR",
|
|
8
|
+
PERMISSION_DENIED = "PERMISSION_DENIED",
|
|
9
|
+
NETWORK_ERROR = "NETWORK_ERROR",
|
|
10
|
+
INVALID_STATE = "INVALID_STATE",
|
|
11
|
+
CREATE_ROOM_ERROR = "CREATE_ROOM_ERROR",
|
|
12
|
+
PARSE_MESSAGE_ERROR = "PARSE_MESSAGE_ERROR",
|
|
13
|
+
HANDLER_MESSAGE_ERROR = "HANDLER_MESSAGE_ERROR"
|
|
14
|
+
}
|
|
15
|
+
export declare const ErrorMessages: Record<RealtimeError, string>;
|
|
16
|
+
export declare class RealtimeAPIError extends Error {
|
|
17
|
+
code: RealtimeError;
|
|
18
|
+
error?: unknown;
|
|
19
|
+
/**
|
|
20
|
+
* @param code - Error code
|
|
21
|
+
* @param message - Error message
|
|
22
|
+
* @param error - Error object
|
|
23
|
+
*/
|
|
24
|
+
constructor(code: RealtimeError, message: string, error?: unknown);
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type EventCallback = (eventName: string, event: unknown) => void;
|
|
2
|
+
export declare class RealtimeEventHandler {
|
|
3
|
+
private eventHandlers;
|
|
4
|
+
protected _debug: boolean;
|
|
5
|
+
constructor(debug?: boolean);
|
|
6
|
+
clearEventHandlers(): void;
|
|
7
|
+
on(eventName: string, callback: EventCallback): EventCallback;
|
|
8
|
+
off(eventName: string, callback: EventCallback): void;
|
|
9
|
+
private _dispatchToHandlers;
|
|
10
|
+
dispatch(eventName: string, event: unknown, consoleLog?: boolean): void;
|
|
11
|
+
_log(message: string, event?: unknown): void;
|
|
12
|
+
}
|