soonspacejs 3.0.0-alpha.12 → 3.0.0-alpha.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonspacejs",
3
- "version": "3.0.0-alpha.12",
3
+ "version": "3.0.0-alpha.13",
4
4
  "homepage": "https://www.xwbuilders.com/soonspacejs/",
5
5
  "description": "SoonSpace.js 3.0 alpha",
6
6
  "module": "./dist/index.esm.js",
@@ -0,0 +1,9 @@
1
+ /** Shared per-origin validation admission. Work must own its complete HTTP body. */
2
+ export declare class ModelValidationScheduler {
3
+ private readonly concurrency;
4
+ private pools;
5
+ private sequence;
6
+ constructor(concurrency?: number);
7
+ schedule<T>(origin: string, bytes: number, signal: AbortSignal | undefined, work: () => Promise<T>): Promise<T>;
8
+ private drain;
9
+ }