@cadenza.io/core 1.7.4 → 1.7.5

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
@@ -72,7 +72,7 @@ var SignalBroker = class _SignalBroker {
72
72
  `Signal name must not contain backslashes: ${signalName}`
73
73
  );
74
74
  }
75
- if (/[A-Z]/.test(signalName.split(".").slice(1).join("."))) {
75
+ if (/[A-Z]/.test(signalName.split(":")[0].split(".").slice(1).join("."))) {
76
76
  throw new Error(
77
77
  `Signal name must not contain uppercase letters in the middle of the signal name. It is only allowed in the first part of the signal name: ${signalName}`
78
78
  );