@scaffoldly/rowdy 0.0.2-1-beta.20251011143634.08bc5fc → 0.0.2-1-beta.20251011154954.5ba3ed2

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.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env node
2
+ import { Observable } from 'rxjs';
3
+
2
4
  interface ILoggable {
3
5
  repr(): string;
4
6
  }
@@ -38,13 +40,15 @@ type Search = {
38
40
  } | URLSearchParams | string;
39
41
  declare class URI extends URL implements ILoggable {
40
42
  readonly insecure: boolean;
43
+ protected static awaits: Map<string, Observable<URI>>;
41
44
  static REASON: string;
42
- private constructor();
45
+ protected constructor(url: URL, insecure?: boolean);
43
46
  get reason(): string | undefined;
44
47
  withSearch(search: Search, value?: string): this;
45
48
  static from(uri: string): URI;
46
49
  static fromError(error: Error, code?: number): URI;
47
- health(): Promise<URIHealth>;
50
+ health(timeoutMs?: number): Promise<URIHealth>;
51
+ await(intervalMs?: number): Observable<URI>;
48
52
  repr(): string;
49
53
  }
50
54
  type Health = {