@openfin/remote-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/remote-adapter.js +3 -3
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -9849,9 +9849,9 @@ class ChannelBase {
|
|
|
9849
9849
|
}
|
|
9850
9850
|
async processAction(topic, payload, senderIdentity) {
|
|
9851
9851
|
try {
|
|
9852
|
-
const
|
|
9853
|
-
|
|
9854
|
-
|
|
9852
|
+
const registeredAction = this.subscriptions.get(topic);
|
|
9853
|
+
const defaultAction = (currentPayload, id) => (this.defaultAction ?? ChannelBase.defaultAction)(topic, currentPayload, id);
|
|
9854
|
+
const mainAction = registeredAction ?? defaultAction;
|
|
9855
9855
|
const preActionProcessed = this.preAction ? await this.preAction(topic, payload, senderIdentity) : payload;
|
|
9856
9856
|
const actionProcessed = await mainAction(preActionProcessed, senderIdentity);
|
|
9857
9857
|
return this.postAction ? await this.postAction(topic, actionProcessed, senderIdentity) : actionProcessed;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "42.100.
|
|
3
|
+
"version": "42.100.61",
|
|
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": "42.100.
|
|
23
|
+
"@openfin/core": "42.100.61"
|
|
24
24
|
}
|
|
25
25
|
}
|