@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildix/xbees-connect",
3
- "version": "1.1.4-y.0",
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": "",
@@ -120,7 +120,11 @@ export class Client {
120
120
  return this.referrer;
121
121
  }
122
122
  getBackToAppUrl() {
123
- return `${this.referrer}/integrations/${this.iframeId}`;
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.4",
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": "485f83d2aa614de28b039aaa7c3bc788e10cbbb9"
45
+ "gitHead": "c22c0f1e9bfe829e236308481ecf587bee397578"
46
46
  }