@rotorsoft/act 0.23.0 → 0.23.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
@@ -1241,13 +1241,13 @@ var Act = class {
1241
1241
  },
1242
1242
  { ...query, after }
1243
1243
  );
1244
- this._correlation_checkpoint = last_id;
1245
1244
  if (correlated.size) {
1246
1245
  const streams = [...correlated.entries()].map(([stream, { source }]) => ({
1247
1246
  stream,
1248
1247
  source
1249
1248
  }));
1250
1249
  const { subscribed } = await store().subscribe(streams);
1250
+ this._correlation_checkpoint = last_id;
1251
1251
  if (subscribed) {
1252
1252
  tracer.correlated(streams);
1253
1253
  for (const { stream } of streams) {
@@ -1256,6 +1256,7 @@ var Act = class {
1256
1256
  }
1257
1257
  return { subscribed, last_id };
1258
1258
  }
1259
+ this._correlation_checkpoint = last_id;
1259
1260
  return { subscribed: 0, last_id };
1260
1261
  }
1261
1262
  /**