@openfin/node-adapter 41.100.105 → 42.100.1
Sign up to get free protection for your applications and to get access to all the features.
- package/out/node-adapter.js +8 -2
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -15644,7 +15644,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
15644
15644
|
const getResultPromise = new Promise((resolve, reject) => {
|
15645
15645
|
fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
|
15646
15646
|
resolve(intentResult);
|
15647
|
-
}).catch(() =>
|
15647
|
+
}).catch(() => {
|
15648
|
+
// not supported in web, suppress the error
|
15649
|
+
if (interopModule.wire.environment.type === 'other') {
|
15650
|
+
return;
|
15651
|
+
}
|
15652
|
+
reject(new Error('getResult is not supported in this environment'));
|
15653
|
+
});
|
15648
15654
|
});
|
15649
15655
|
// Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
|
15650
15656
|
const metadata = app ? { target: app, intentResolutionResultId: guid } : { intentResolutionResultId: guid };
|
@@ -17724,7 +17730,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17724
17730
|
};
|
17725
17731
|
}
|
17726
17732
|
getAdapterVersionSync() {
|
17727
|
-
return "
|
17733
|
+
return "42.100.1";
|
17728
17734
|
}
|
17729
17735
|
observeBounds(element, onChange) {
|
17730
17736
|
throw new Error('Method not implemented.');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "
|
3
|
+
"version": "42.100.1",
|
4
4
|
"description": "See README.md",
|
5
5
|
"main": "out/node-adapter.js",
|
6
6
|
"types": "out/node-adapter.d.ts",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"author": "OpenFin",
|
25
25
|
"dependencies": {
|
26
26
|
"@types/node": "^20.14.2",
|
27
|
-
"@openfin/core": "
|
27
|
+
"@openfin/core": "42.100.1",
|
28
28
|
"lodash": "^4.17.21",
|
29
29
|
"ws": "^7.3.0"
|
30
30
|
}
|