@rotorsoft/act 1.31.15 → 1.31.17
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/.tsbuildinfo +1 -1
- package/dist/@types/adapters/in-memory-store.d.ts.map +1 -1
- package/dist/@types/internal/correlate-cycle.d.ts.map +1 -1
- package/dist/@types/types/ports.d.ts +17 -1
- package/dist/@types/types/ports.d.ts.map +1 -1
- package/dist/{chunk-T2AT4N6B.js → chunk-LTA7FYBC.js} +2 -2
- package/dist/chunk-LTA7FYBC.js.map +1 -0
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +1 -1
- package/dist/test/index.cjs.map +1 -1
- package/dist/test/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-T2AT4N6B.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
sleep,
|
|
26
26
|
store,
|
|
27
27
|
validate
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LTA7FYBC.js";
|
|
29
29
|
import {
|
|
30
30
|
ActorSchema,
|
|
31
31
|
CausationEventSchema,
|
|
@@ -1730,14 +1730,17 @@ var CorrelateCycle = class {
|
|
|
1730
1730
|
upgraded,
|
|
1731
1731
|
correlated_at: void 0
|
|
1732
1732
|
};
|
|
1733
|
-
const
|
|
1734
|
-
|
|
1733
|
+
const seen_in_scan = correlated.has(resolved.target);
|
|
1734
|
+
const held_lane = (seen_in_scan ? entry.lane : recorded?.lane) ?? DEFAULT_LANE;
|
|
1735
|
+
const held_priority = seen_in_scan ? entry.priority : recorded?.priority;
|
|
1736
|
+
const resolved_lane = lane ?? DEFAULT_LANE;
|
|
1737
|
+
if (held_priority === priority && held_lane !== resolved_lane)
|
|
1735
1738
|
report_lane_conflict(
|
|
1736
1739
|
this._reported,
|
|
1737
1740
|
reaction.handler.name,
|
|
1738
1741
|
resolved.target,
|
|
1739
|
-
|
|
1740
|
-
|
|
1742
|
+
held_lane,
|
|
1743
|
+
resolved_lane
|
|
1741
1744
|
);
|
|
1742
1745
|
if (carried.priority > entry.priority) {
|
|
1743
1746
|
entry.priority = carried.priority;
|