@openfin/node-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/node-adapter.js +8 -2
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -15665,7 +15665,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
15665
15665
|
const getResultPromise = new Promise((resolve, reject) => {
|
15666
15666
|
fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
|
15667
15667
|
resolve(intentResult);
|
15668
|
-
}).catch(() =>
|
15668
|
+
}).catch(() => {
|
15669
|
+
// not supported in web, suppress the error
|
15670
|
+
if (interopModule.wire.environment.type === 'other') {
|
15671
|
+
resolve(undefined);
|
15672
|
+
}
|
15673
|
+
reject(new Error('getResult is not supported in this environment'));
|
15674
|
+
});
|
15669
15675
|
});
|
15670
15676
|
// Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
|
15671
15677
|
const metadata = app ? { target: app, intentResolutionResultId: guid } : { intentResolutionResultId: guid };
|
@@ -17745,7 +17751,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17745
17751
|
};
|
17746
17752
|
}
|
17747
17753
|
getAdapterVersionSync() {
|
17748
|
-
return "41.100.
|
17754
|
+
return "41.100.106";
|
17749
17755
|
}
|
17750
17756
|
observeBounds(element, onChange) {
|
17751
17757
|
throw new Error('Method not implemented.');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "41.100.
|
3
|
+
"version": "41.100.106",
|
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": "41.100.
|
27
|
+
"@openfin/core": "41.100.106",
|
28
28
|
"lodash": "^4.17.21",
|
29
29
|
"ws": "^7.3.0"
|
30
30
|
}
|