@openfin/remote-adapter 41.100.104 → 41.100.106
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/remote-adapter.js +7 -1
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -16165,7 +16165,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
|
16165
16165
|
const getResultPromise = new Promise((resolve, reject) => {
|
|
16166
16166
|
fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
|
|
16167
16167
|
resolve(intentResult);
|
|
16168
|
-
}).catch(() =>
|
|
16168
|
+
}).catch(() => {
|
|
16169
|
+
// not supported in web, suppress the error
|
|
16170
|
+
if (interopModule.wire.environment.type === 'other') {
|
|
16171
|
+
resolve(undefined);
|
|
16172
|
+
}
|
|
16173
|
+
reject(new Error('getResult is not supported in this environment'));
|
|
16174
|
+
});
|
|
16169
16175
|
});
|
|
16170
16176
|
// Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
|
|
16171
16177
|
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": "41.100.
|
|
3
|
+
"version": "41.100.106",
|
|
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": "41.100.
|
|
23
|
+
"@openfin/core": "41.100.106"
|
|
24
24
|
}
|
|
25
25
|
}
|