@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/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-2FN4RFBQ.js";
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,