versacall-core-library-react 2.0.81-dev → 2.0.82-dev
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.
|
@@ -166,6 +166,7 @@ function decodeVarInt(buf, offset) {
|
|
|
166
166
|
* Leaves any trailing incomplete bytes in receiveBuffer.
|
|
167
167
|
*/
|
|
168
168
|
function drainBuffer() {
|
|
169
|
+
console.log('[vc-worker] drainBuffer called, buffer length:', receiveBuffer.length);
|
|
169
170
|
let offset = 0;
|
|
170
171
|
while (offset < receiveBuffer.length) {
|
|
171
172
|
const firstByte = receiveBuffer[offset];
|
|
@@ -305,6 +306,7 @@ function openWebSocket(config) {
|
|
|
305
306
|
pingIntervalId = setInterval(() => wsSend(PINGREQ), 25000);
|
|
306
307
|
};
|
|
307
308
|
ws.onmessage = ev => {
|
|
309
|
+
console.log('[vc-worker] WebSocket data received, bytes:', ev.data.byteLength);
|
|
308
310
|
receiveBuffer = concat(receiveBuffer, new Uint8Array(ev.data));
|
|
309
311
|
drainBuffer();
|
|
310
312
|
};
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"versacall": {
|
|
3
3
|
"title": "Versacall Core Library React",
|
|
4
4
|
"applicationType": "react-library",
|
|
5
|
-
"build":
|
|
5
|
+
"build": 82
|
|
6
6
|
},
|
|
7
7
|
"name": "versacall-core-library-react",
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.82-dev",
|
|
9
9
|
"description": "Versacall Core Library",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"module": "dist/index.js",
|