@wildix/xbees-connect 1.1.4 → 1.1.5
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 +1 -1
- package/dist-es/src/Client.js +5 -1
- package/package.json +2 -2
package/dist-es/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.1.4
|
|
3
|
+
"version": "1.1.4",
|
|
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": "",
|
package/dist-es/src/Client.js
CHANGED
|
@@ -120,7 +120,11 @@ export class Client {
|
|
|
120
120
|
return this.referrer;
|
|
121
121
|
}
|
|
122
122
|
getBackToAppUrl() {
|
|
123
|
-
|
|
123
|
+
const url = new URL(`${this.referrer}/integrations/${this.iframeId}`);
|
|
124
|
+
if (Client.getInstance().isPlatformNative()) {
|
|
125
|
+
url.protocol = 'com.wildix.rnc:';
|
|
126
|
+
}
|
|
127
|
+
return url.toString();
|
|
124
128
|
}
|
|
125
129
|
isDataOnly() {
|
|
126
130
|
return this.variant === 'no-ui' || this.variant === 'daemon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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": "",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=16"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "c22c0f1e9bfe829e236308481ecf587bee397578"
|
|
46
46
|
}
|