@rotorsoft/act 2.1.16 → 2.2.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
@@ -27,7 +27,7 @@ import {
27
27
  store,
28
28
  unscoped_ports,
29
29
  validate
30
- } from "./chunk-CWWTVYIN.js";
30
+ } from "./chunk-LHSNV3VN.js";
31
31
  import {
32
32
  checkAppends,
33
33
  checkVersion,
@@ -3938,6 +3938,7 @@ var Act = class {
3938
3938
  actor: void 0,
3939
3939
  asOf
3940
3940
  } : streamOrTarget;
3941
+ check("page", target.asOf ?? {});
3941
3942
  return await this._es.load(merged, target, callback);
3942
3943
  });
3943
3944
  }
@@ -4383,7 +4384,7 @@ var Act = class {
4383
4384
  * ```
4384
4385
  */
4385
4386
  async blocked_streams(options) {
4386
- check("page", options ?? {});
4387
+ check("page", { limit: options?.limit });
4387
4388
  return this._scoped(async () => {
4388
4389
  const positions = [];
4389
4390
  await store().query_streams(