@rotorsoft/act 1.32.7 → 1.32.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/README.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/act.d.ts.map +1 -1
- package/dist/@types/adapters/in-memory-store.d.ts.map +1 -1
- package/dist/@types/internal/correlate-cycle.d.ts +11 -0
- package/dist/@types/internal/correlate-cycle.d.ts.map +1 -1
- package/dist/@types/types/ports.d.ts +9 -0
- package/dist/@types/types/ports.d.ts.map +1 -1
- package/dist/{chunk-7OAW4YMO.js → chunk-F4F5AKM3.js} +9 -1
- package/dist/{chunk-7OAW4YMO.js.map → chunk-F4F5AKM3.js.map} +1 -1
- package/dist/index.cjs +30 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +8 -0
- package/dist/test/index.cjs.map +1 -1
- package/dist/test/index.js +1 -1
- package/package.json +1 -1
package/dist/test/index.cjs
CHANGED
|
@@ -1377,6 +1377,12 @@ var InMemoryStore = class {
|
|
|
1377
1377
|
const prev_max_event_id_by_stream = this._max_event_id_by_stream;
|
|
1378
1378
|
const prev_max_non_snap_event_id = this._max_non_snap_event_id;
|
|
1379
1379
|
const prev_pii = this._pii;
|
|
1380
|
+
const prev_correlated_at = this._correlated_at;
|
|
1381
|
+
const prev_correlators = new Map(
|
|
1382
|
+
[...this._correlators].map(([k, v]) => [k, { ...v }])
|
|
1383
|
+
);
|
|
1384
|
+
this._correlated_at = -1;
|
|
1385
|
+
for (const c of this._correlators.values()) c.at = -1;
|
|
1380
1386
|
this._events = [];
|
|
1381
1387
|
this._next_id = 0;
|
|
1382
1388
|
this._streams = /* @__PURE__ */ new Map();
|
|
@@ -1413,6 +1419,8 @@ var InMemoryStore = class {
|
|
|
1413
1419
|
this._max_event_id_by_stream = prev_max_event_id_by_stream;
|
|
1414
1420
|
this._max_non_snap_event_id = prev_max_non_snap_event_id;
|
|
1415
1421
|
this._pii = prev_pii;
|
|
1422
|
+
this._correlated_at = prev_correlated_at;
|
|
1423
|
+
this._correlators = prev_correlators;
|
|
1416
1424
|
throw err;
|
|
1417
1425
|
}
|
|
1418
1426
|
}
|