versacall-core-library-react 2.0.79-dev → 2.0.81-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.
@@ -236,6 +236,16 @@ function onPublish(flags, body) {
236
236
  const qos = flags >> 1 & 0x03;
237
237
  const payloadStart = 2 + topicLen + (qos > 0 ? 2 : 0);
238
238
  const payloadStr = textDecoder.decode(body.slice(payloadStart));
239
+
240
+ // TEMPORARY DEBUG - remove after diagnosis
241
+ ports.forEach(port => {
242
+ try {
243
+ port.postMessage({
244
+ type: 'LOG',
245
+ message: 'RAW TOPIC: ' + topic + ' | QOS: ' + qos + ' | PAYLOAD: ' + payloadStr.substring(0, 200)
246
+ });
247
+ } catch (_) {}
248
+ });
239
249
  let data;
240
250
  try {
241
251
  data = JSON.parse(payloadStr);
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": 79
5
+ "build": 81
6
6
  },
7
7
  "name": "versacall-core-library-react",
8
- "version": "2.0.79-dev",
8
+ "version": "2.0.81-dev",
9
9
  "description": "Versacall Core Library",
10
10
  "main": "dist/index.js",
11
11
  "module": "dist/index.js",