@openfin/core 42.100.59 → 42.100.60

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.
Files changed (2) hide show
  1. package/out/stub.js +3 -3
  2. package/package.json +1 -1
package/out/stub.js CHANGED
@@ -7390,9 +7390,9 @@ class ChannelBase {
7390
7390
  }
7391
7391
  async processAction(topic, payload, senderIdentity) {
7392
7392
  try {
7393
- const mainAction = this.subscriptions.has(topic)
7394
- ? this.subscriptions.get(topic)
7395
- : (currentPayload, id) => (this.defaultAction ?? ChannelBase.defaultAction)(topic, currentPayload, id);
7393
+ const registeredAction = this.subscriptions.get(topic);
7394
+ const defaultAction = (currentPayload, id) => (this.defaultAction ?? ChannelBase.defaultAction)(topic, currentPayload, id);
7395
+ const mainAction = registeredAction ?? defaultAction;
7396
7396
  const preActionProcessed = this.preAction ? await this.preAction(topic, payload, senderIdentity) : payload;
7397
7397
  const actionProcessed = await mainAction(preActionProcessed, senderIdentity);
7398
7398
  return this.postAction ? await this.postAction(topic, actionProcessed, senderIdentity) : actionProcessed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "42.100.59",
3
+ "version": "42.100.60",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",