@openfin/remote-adapter 40.103.1 → 40.103.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.
@@ -851,7 +851,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
851
851
  const getResultPromise = new Promise((resolve, reject) => {
852
852
  fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
853
853
  resolve(intentResult);
854
- }).catch(() => reject(new Error('getResult is not supported in this environment')));
854
+ }).catch(() => {
855
+ // not supported in web, suppress the error
856
+ if (interopModule.wire.environment.type === 'other') {
857
+ resolve(undefined);
858
+ }
859
+ reject(new Error('getResult is not supported in this environment'));
860
+ });
855
861
  });
856
862
  // Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
857
863
  const metadata = app ? { target: app, intentResolutionResultId: guid } : { intentResolutionResultId: guid };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "40.103.1",
3
+ "version": "40.103.5",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -20,6 +20,6 @@
20
20
  "author": "OpenFin",
21
21
  "dependencies": {
22
22
  "lodash": "^4.17.21",
23
- "@openfin/core": "40.103.1"
23
+ "@openfin/core": "40.103.5"
24
24
  }
25
25
  }