@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.
- package/out/stub.js +7 -1
- 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(() =>
|
|
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 };
|