versacall-core-library-react 2.0.83-dev → 2.0.84-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.
@@ -233,9 +233,12 @@ function onPublish(flags, body) {
233
233
  const topicLen = body[0] << 8 | body[1];
234
234
  if (2 + topicLen > body.length) return;
235
235
  const topic = textDecoder.decode(body.slice(2, 2 + topicLen));
236
+ console.log('[vc-worker] topic:', topic);
236
237
  const qos = flags >> 1 & 0x03;
238
+ console.log('[vc-worker] qos:', qos);
237
239
  const payloadStart = 2 + topicLen + (qos > 0 ? 2 : 0);
238
240
  const payloadStr = textDecoder.decode(body.slice(payloadStart));
241
+ console.log('[vc-worker] payload first 200 chars:', payloadStr.substring(0, 200));
239
242
 
240
243
  // TEMPORARY DEBUG - remove after diagnosis
241
244
  ports.forEach(port => {
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": 83
5
+ "build": 84
6
6
  },
7
7
  "name": "versacall-core-library-react",
8
- "version": "2.0.83-dev",
8
+ "version": "2.0.84-dev",
9
9
  "description": "Versacall Core Library",
10
10
  "main": "dist/index.js",
11
11
  "module": "dist/index.js",