@wildix/xbees-connect 1.2.0-alpha.7 → 1.2.0-alpha.8
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/dist-es/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.0-alpha.
|
|
3
|
+
"version": "1.2.0-alpha.8",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -33,7 +33,7 @@ export class MessageListener {
|
|
|
33
33
|
}
|
|
34
34
|
onMessage = (message) => {
|
|
35
35
|
if (window.location.host === message.origin || window === message.source) {
|
|
36
|
-
console.debug(
|
|
36
|
+
console.debug(`onMessage skipped ${window.location.host} - ${message.origin} - ${window === message.source} - ${message}`);
|
|
37
37
|
// skip events started from integration itself if any
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
@@ -43,7 +43,7 @@ export class MessageListener {
|
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
45
|
const { type, payload } = data;
|
|
46
|
-
console.debug(
|
|
46
|
+
console.debug(`onMessage call - ${type} - ${payload}`);
|
|
47
47
|
this.listeners.forEach(({ eventName, callback }) => {
|
|
48
48
|
if (eventName === type) {
|
|
49
49
|
if (type === EventType.ADD_CALL) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.0-alpha.
|
|
3
|
+
"version": "1.2.0-alpha.8",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=16"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "c69a81d27e17a11fdcd05d9b24eb504ee348d40c"
|
|
53
53
|
}
|