@cadenza.io/core 1.11.0 → 1.11.1

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/dist/index.js CHANGED
@@ -212,6 +212,11 @@ var SignalBroker = class _SignalBroker {
212
212
  } else {
213
213
  delete context.__signalEmission;
214
214
  }
215
+ if (this.debug) {
216
+ console.log(
217
+ `Emitting signal ${signal} with context ${JSON.stringify(context)}`
218
+ );
219
+ }
215
220
  let executed;
216
221
  executed = this.executeListener(signal, context);
217
222
  if (!isSubMeta) {
@@ -220,12 +225,6 @@ var SignalBroker = class _SignalBroker {
220
225
  const parent = parts.slice(0, i).join(".");
221
226
  executed = executed || this.executeListener(parent + ".*", context);
222
227
  }
223
- if (this.debug) {
224
- console.log(
225
- `Emitted signal ${signal} with context ${JSON.stringify(context)}`,
226
- executed ? "\u2705" : "\u274C"
227
- );
228
- }
229
228
  }
230
229
  return executed;
231
230
  }