@caido/sdk-workflow 0.0.1 → 0.35.0
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 +1 -1
- package/src/typing.d.ts +2 -0
package/package.json
CHANGED
package/src/typing.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare type Console = {
|
|
|
17
17
|
* Calling `to<FORMAT>` will try to convert the body to the desired format.
|
|
18
18
|
*/
|
|
19
19
|
export declare class Body {
|
|
20
|
+
constructor(data: string | Array<number> | Uint8Array);
|
|
20
21
|
/**
|
|
21
22
|
* Parse the body as a string.
|
|
22
23
|
*
|
|
@@ -57,6 +58,7 @@ export declare type Request = {
|
|
|
57
58
|
* A mutable Request not yet sent.
|
|
58
59
|
*/
|
|
59
60
|
export declare class RequestSpec {
|
|
61
|
+
constructor(url: string);
|
|
60
62
|
getHost(): string;
|
|
61
63
|
setHost(host: string): void;
|
|
62
64
|
getPort(): number;
|