@openfin/node-adapter 42.100.59 → 42.100.61
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 +4 -4
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -7102,9 +7102,9 @@ class ChannelBase {
|
|
7102
7102
|
}
|
7103
7103
|
async processAction(topic, payload, senderIdentity) {
|
7104
7104
|
try {
|
7105
|
-
const
|
7106
|
-
|
7107
|
-
|
7105
|
+
const registeredAction = this.subscriptions.get(topic);
|
7106
|
+
const defaultAction = (currentPayload, id) => (this.defaultAction ?? ChannelBase.defaultAction)(topic, currentPayload, id);
|
7107
|
+
const mainAction = registeredAction ?? defaultAction;
|
7108
7108
|
const preActionProcessed = this.preAction ? await this.preAction(topic, payload, senderIdentity) : payload;
|
7109
7109
|
const actionProcessed = await mainAction(preActionProcessed, senderIdentity);
|
7110
7110
|
return this.postAction ? await this.postAction(topic, actionProcessed, senderIdentity) : actionProcessed;
|
@@ -17759,7 +17759,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17759
17759
|
};
|
17760
17760
|
}
|
17761
17761
|
getAdapterVersionSync() {
|
17762
|
-
return "42.100.
|
17762
|
+
return "42.100.61";
|
17763
17763
|
}
|
17764
17764
|
observeBounds(element, onChange) {
|
17765
17765
|
throw new Error('Method not implemented.');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "42.100.
|
3
|
+
"version": "42.100.61",
|
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": "42.100.
|
27
|
+
"@openfin/core": "42.100.61",
|
28
28
|
"lodash": "^4.17.21",
|
29
29
|
"ws": "^7.3.0"
|
30
30
|
}
|