@scaffoldly/rowdy 0.0.2-1-beta.20251028190207.242852b → 0.0.2-1-beta.20251028200621.1acb4c6
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 +7 -2
- package/dist/index.js +12 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -262,7 +262,6 @@ type Search = {
|
|
|
262
262
|
} | URLSearchParams | string;
|
|
263
263
|
declare class URI extends URL implements ILoggable {
|
|
264
264
|
readonly insecure: boolean;
|
|
265
|
-
readonly pure: string;
|
|
266
265
|
protected static awaits: Map<string, Observable<URI>>;
|
|
267
266
|
static ERROR: string;
|
|
268
267
|
protected constructor(url: URL, insecure?: boolean);
|
|
@@ -299,12 +298,18 @@ declare class Routes implements IRoutes, ILoggable {
|
|
|
299
298
|
repr(): string;
|
|
300
299
|
}
|
|
301
300
|
|
|
301
|
+
type Source = {
|
|
302
|
+
method: string;
|
|
303
|
+
uri: URI;
|
|
304
|
+
headers: Record<string, unknown>;
|
|
305
|
+
};
|
|
302
306
|
declare abstract class HttpProxy<P extends Pipeline> extends Proxy<P, HttpResponse> {
|
|
303
307
|
readonly method: string;
|
|
304
308
|
readonly uri: URI;
|
|
305
309
|
readonly headers: HttpHeaders;
|
|
306
310
|
readonly body: Buffer;
|
|
307
|
-
|
|
311
|
+
readonly source: Source;
|
|
312
|
+
constructor(pipeline: P, request: Request<P>, method: string, uri: URI, headers: HttpHeaders, body: Buffer, source: Source);
|
|
308
313
|
get httpsAgent(): Agent | undefined;
|
|
309
314
|
invoke(): Observable<HttpResponse>;
|
|
310
315
|
repr(): string;
|