@rotorsoft/act 2.1.1 → 2.1.2
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/act.d.ts.map +1 -1
- package/dist/@types/csv.d.ts +2 -1
- package/dist/@types/csv.d.ts.map +1 -1
- package/dist/@types/internal/correlate-cycle.d.ts.map +1 -1
- package/dist/@types/scoped.d.ts +2 -4
- package/dist/@types/scoped.d.ts.map +1 -1
- package/dist/@types/types/action.d.ts +1 -213
- package/dist/@types/types/action.d.ts.map +1 -1
- package/dist/@types/types/index.d.ts +1 -0
- package/dist/@types/types/index.d.ts.map +1 -1
- package/dist/@types/types/ports.d.ts +2 -1
- package/dist/@types/types/ports.d.ts.map +1 -1
- package/dist/@types/types/restore.d.ts +220 -0
- package/dist/@types/types/restore.d.ts.map +1 -0
- package/dist/adapter.cjs +3 -3
- package/dist/adapter.js +2 -2
- package/dist/{chunk-QPVUARKL.js → chunk-ADMH76IO.js} +3 -3
- package/dist/{chunk-QPVUARKL.js.map → chunk-ADMH76IO.js.map} +1 -1
- package/dist/{chunk-W3PHEA5Q.js → chunk-C35J3SNT.js} +1 -1
- package/dist/chunk-C35J3SNT.js.map +1 -0
- package/dist/{chunk-PZQXTGWF.cjs → chunk-D7LQNOEV.cjs} +4 -4
- package/dist/{chunk-PZQXTGWF.cjs.map → chunk-D7LQNOEV.cjs.map} +1 -1
- package/dist/{chunk-7VYSJIXD.cjs → chunk-QFYPSI6P.cjs} +1 -1
- package/dist/chunk-QFYPSI6P.cjs.map +1 -0
- package/dist/{chunk-LN3OP4OL.cjs → chunk-QWYMR7ZP.cjs} +17 -17
- package/dist/{chunk-LN3OP4OL.cjs.map → chunk-QWYMR7ZP.cjs.map} +1 -1
- package/dist/{chunk-UXDNSZAD.js → chunk-TUALNYW2.js} +2 -2
- package/dist/index.cjs +192 -196
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -13
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +5 -5
- package/dist/test/index.js +3 -3
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7VYSJIXD.cjs.map +0 -1
- package/dist/chunk-W3PHEA5Q.js.map +0 -1
- /package/dist/{chunk-UXDNSZAD.js.map → chunk-TUALNYW2.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
store,
|
|
40
40
|
unscoped_ports,
|
|
41
41
|
validate
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ADMH76IO.js";
|
|
43
43
|
import {
|
|
44
44
|
checkAppends,
|
|
45
45
|
checkVersion,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
isStreamName,
|
|
49
49
|
parseNotification,
|
|
50
50
|
seedEvent
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TUALNYW2.js";
|
|
52
52
|
import {
|
|
53
53
|
ActorSchema,
|
|
54
54
|
CausationEventSchema,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
pii_schemas,
|
|
84
84
|
sensitive,
|
|
85
85
|
sensitiveFields
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-C35J3SNT.js";
|
|
87
87
|
|
|
88
88
|
// src/signals.ts
|
|
89
89
|
process.once("SIGINT", async (arg) => {
|
|
@@ -2727,8 +2727,8 @@ function report_undeclared_lane(seen, handler, target, lane, declared) {
|
|
|
2727
2727
|
function report_bad_priority(seen, handler, target, priority) {
|
|
2728
2728
|
report_once(
|
|
2729
2729
|
seen,
|
|
2730
|
-
`priority|${handler}
|
|
2731
|
-
`Reaction "${handler}" resolved priority ${String(priority)} for target "${target}", which isn't a 32-bit integer.
|
|
2730
|
+
`priority|${handler}`,
|
|
2731
|
+
`Reaction "${handler}" resolved priority ${String(priority)} for target "${target}", which isn't a 32-bit integer. Running it at priority 0 instead. The equivalent static \`.to({ priority })\` is rejected at build; a dynamic resolver's priority is only knowable here.`
|
|
2732
2732
|
);
|
|
2733
2733
|
}
|
|
2734
2734
|
function report_lane_conflict(seen, handler, target, kept, dropped) {
|
|
@@ -2905,7 +2905,7 @@ var CorrelateCycle = class {
|
|
|
2905
2905
|
resolved.target,
|
|
2906
2906
|
resolved.priority
|
|
2907
2907
|
);
|
|
2908
|
-
|
|
2908
|
+
resolved = { ...resolved, priority: 0 };
|
|
2909
2909
|
}
|
|
2910
2910
|
let lane = resolved.lane;
|
|
2911
2911
|
if (lane !== void 0 && !this._declared_lanes.has(lane)) {
|
|
@@ -3802,13 +3802,9 @@ var Act = class {
|
|
|
3802
3802
|
* @see {@link query} for large result sets
|
|
3803
3803
|
*/
|
|
3804
3804
|
async query_array(query) {
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
events.push(this.registry.query_gate(e.name)(e));
|
|
3809
|
-
}, query);
|
|
3810
|
-
return events;
|
|
3811
|
-
});
|
|
3805
|
+
const events = [];
|
|
3806
|
+
await this.query(query, (e) => events.push(e));
|
|
3807
|
+
return events;
|
|
3812
3808
|
}
|
|
3813
3809
|
/**
|
|
3814
3810
|
* Wipe the sensitive-data payload for every event on the stream — see
|