@rotorsoft/act 1.15.0 → 1.16.1

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
@@ -19,7 +19,7 @@ import {
19
19
  sleep,
20
20
  store,
21
21
  validate
22
- } from "./chunk-DBQT3ALY.js";
22
+ } from "./chunk-46OCUAVF.js";
23
23
  import {
24
24
  ActorSchema,
25
25
  CausationEventSchema,
@@ -3835,7 +3835,7 @@ function manageArtifactAttachment(attachment) {
3835
3835
  }
3836
3836
  }
3837
3837
 
3838
- // ../../node_modules/.pnpm/vite@8.0.16_@types+node@25.9.3_esbuild@0.28.1_jiti@2.6.1_terser@5.46.1_tsx@4.22.4_yaml@2.9.0/node_modules/vite/dist/node/module-runner.js
3838
+ // ../../node_modules/.pnpm/vite@8.0.16_@types+node@25.9.4_esbuild@0.28.1_jiti@2.6.1_terser@5.46.1_tsx@4.22.4_yaml@2.9.0/node_modules/vite/dist/node/module-runner.js
3839
3839
  var SOURCEMAPPING_URL = "sourceMa";
3840
3840
  SOURCEMAPPING_URL += "ppingURL";
3841
3841
  var isWindows = typeof process < "u" && process.platform === "win32";
@@ -3881,7 +3881,7 @@ var envProxy = new Proxy({}, { get(_, p) {
3881
3881
  throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`);
3882
3882
  } });
3883
3883
 
3884
- // ../../node_modules/.pnpm/vitest@4.1.9_@types+node@25.9.3_@vitest+coverage-v8@4.1.9_vite@8.0.16_@types+node@25.9._3ec353710343e931d089d3126ed7ff33/node_modules/vitest/dist/index.js
3884
+ // ../../node_modules/.pnpm/vitest@4.1.9_@types+node@25.9.4_@vitest+coverage-v8@4.1.9_vite@8.0.16_@types+node@25.9._33d2c52a77bafe82fe3d3570a113de8b/node_modules/vitest/dist/index.js
3885
3885
  var import_expect_type = __toESM(require_dist(), 1);
3886
3886
 
3887
3887
  // src/internal/lru-map.ts
@@ -4552,6 +4552,15 @@ var InMemoryStore = class {
4552
4552
  }
4553
4553
  } else {
4554
4554
  let i2 = (query?.after ?? -1) + 1;
4555
+ if (query?.with_snaps && query.stream_exact && query.stream !== void 0 && query.after === void 0) {
4556
+ for (let j = this._events.length - 1; j >= 0; j--) {
4557
+ const e = this._events[j];
4558
+ if (e.stream === query.stream && e.name === SNAP_EVENT) {
4559
+ i2 = j;
4560
+ break;
4561
+ }
4562
+ }
4563
+ }
4555
4564
  while (i2 < this._events.length) {
4556
4565
  const e = this._events[i2++];
4557
4566
  if (query && !this.in_query(query, e)) continue;