@openfin/core 41.100.105 → 42.100.1

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.
Files changed (2) hide show
  1. package/out/stub.js +7 -1
  2. package/package.json +1 -1
package/out/stub.js CHANGED
@@ -15953,7 +15953,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
15953
15953
  const getResultPromise = new Promise((resolve, reject) => {
15954
15954
  fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
15955
15955
  resolve(intentResult);
15956
- }).catch(() => reject(new Error('getResult is not supported in this environment')));
15956
+ }).catch(() => {
15957
+ // not supported in web, suppress the error
15958
+ if (interopModule.wire.environment.type === 'other') {
15959
+ return;
15960
+ }
15961
+ reject(new Error('getResult is not supported in this environment'));
15962
+ });
15957
15963
  });
15958
15964
  // Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
15959
15965
  const metadata = app ? { target: app, intentResolutionResultId: guid } : { intentResolutionResultId: guid };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "41.100.105",
3
+ "version": "42.100.1",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",