@rotorsoft/act 1.22.7 → 1.22.8

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
@@ -20,7 +20,7 @@ import {
20
20
  sleep,
21
21
  store,
22
22
  validate
23
- } from "./chunk-QVHLKVS7.js";
23
+ } from "./chunk-YVLB5MMB.js";
24
24
  import {
25
25
  ActorSchema,
26
26
  CausationEventSchema,
@@ -45,7 +45,7 @@ import {
45
45
  pii_split,
46
46
  pii_strip,
47
47
  sensitive
48
- } from "./chunk-2RZSKBZZ.js";
48
+ } from "./chunk-LDWS6I2C.js";
49
49
 
50
50
  // src/signals.ts
51
51
  process.once("SIGINT", async (arg) => {
@@ -4703,6 +4703,7 @@ export {
4703
4703
  extend,
4704
4704
  is_literal_source,
4705
4705
  log,
4706
+ pii_fields,
4706
4707
  port,
4707
4708
  projection,
4708
4709
  resolveAutocloseConfig,
@@ -749,7 +749,7 @@ var InMemoryStore = class {
749
749
  if (query && !this.in_query(query, e)) continue;
750
750
  if (query?.created_before && e.created >= query.created_before)
751
751
  continue;
752
- if (query.after && e.id <= query.after) break;
752
+ if (query.after !== void 0 && e.id <= query.after) break;
753
753
  if (query.created_after && e.created <= query.created_after) break;
754
754
  await Promise.resolve(
755
755
  callback(this._with_pii(e))
@@ -772,7 +772,7 @@ var InMemoryStore = class {
772
772
  const e = this._events[i++];
773
773
  if (query && !this.in_query(query, e)) continue;
774
774
  if (query?.created_after && e.created <= query.created_after) continue;
775
- if (query?.before && e.id >= query.before) break;
775
+ if (query?.before !== void 0 && e.id >= query.before) break;
776
776
  if (query?.created_before && e.created >= query.created_before) break;
777
777
  await Promise.resolve(
778
778
  callback(this._with_pii(e))