@rotorsoft/act 1.22.4 → 1.22.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/.tsbuildinfo +1 -1
- package/dist/@types/adapters/in-memory-store.d.ts.map +1 -1
- package/dist/@types/internal/drain.d.ts.map +1 -1
- package/dist/@types/types/ports.d.ts +15 -9
- package/dist/@types/types/ports.d.ts.map +1 -1
- package/dist/@types/types/reaction.d.ts +8 -6
- package/dist/@types/types/reaction.d.ts.map +1 -1
- package/dist/@types/utils.d.ts +20 -0
- package/dist/@types/utils.d.ts.map +1 -1
- package/dist/{chunk-2FN4RFBQ.js → chunk-CWBI4NQD.js} +18 -5
- package/dist/chunk-CWBI4NQD.js.map +1 -0
- package/dist/index.cjs +20 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +16 -4
- package/dist/test/index.cjs.map +1 -1
- package/dist/test/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-2FN4RFBQ.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -13,13 +13,14 @@ import {
|
|
|
13
13
|
dispose,
|
|
14
14
|
disposeAndExit,
|
|
15
15
|
extend,
|
|
16
|
+
is_literal_source,
|
|
16
17
|
log,
|
|
17
18
|
port,
|
|
18
19
|
scoped,
|
|
19
20
|
sleep,
|
|
20
21
|
store,
|
|
21
22
|
validate
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CWBI4NQD.js";
|
|
23
24
|
import {
|
|
24
25
|
ActorSchema,
|
|
25
26
|
CausationEventSchema,
|
|
@@ -1638,8 +1639,10 @@ async function fetch(leased, eventLimit) {
|
|
|
1638
1639
|
return Promise.all(
|
|
1639
1640
|
leased.map(async ({ stream, source, at, lagging }) => {
|
|
1640
1641
|
const events = [];
|
|
1642
|
+
const stream_exact = source !== void 0 && is_literal_source(source) ? true : void 0;
|
|
1641
1643
|
await store().query((e) => events.push(e), {
|
|
1642
1644
|
stream: source,
|
|
1645
|
+
stream_exact,
|
|
1643
1646
|
after: at,
|
|
1644
1647
|
limit: eventLimit
|
|
1645
1648
|
});
|
|
@@ -4586,6 +4589,7 @@ export {
|
|
|
4586
4589
|
dispose,
|
|
4587
4590
|
disposeAndExit,
|
|
4588
4591
|
extend,
|
|
4592
|
+
is_literal_source,
|
|
4589
4593
|
log,
|
|
4590
4594
|
port,
|
|
4591
4595
|
projection,
|