@readme/httpsnippet 9.0.0 → 10.0.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/dist/{index-D_ySc8Oi.d.ts → index-BTuTGf5t.d.ts} +1 -1
- package/dist/{index-BRpINGne.d.cts → index-C-fCLOHv.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/targets/index.d.cts +1 -1
- package/dist/targets/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -158,7 +158,7 @@ declare class HTTPSnippet {
|
|
|
158
158
|
headersObj: ReducedHelperObject;
|
|
159
159
|
queryObj: ReducedHelperObject;
|
|
160
160
|
};
|
|
161
|
-
convert(targetId: TargetId, clientId?: ClientId, options?: any):
|
|
161
|
+
convert(targetId: TargetId, clientId?: ClientId, options?: any): false | string[];
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
export { type ClientId as C, type Extension as E, type HarRequest as H, type RequestExtras as R, type TargetId as T, type ClientInfo as a, type Converter as b, type Client as c, type ClientPlugin as d, type TargetInfo as e, type Target as f, addTarget as g, isClient as h, isTarget as i, addClientPlugin as j, addTargetClient as k, type Request as l, type HTTPSnippetOptions as m, HTTPSnippet as n, availableTargets as o, extname as p, targets as t };
|
|
@@ -158,7 +158,7 @@ declare class HTTPSnippet {
|
|
|
158
158
|
headersObj: ReducedHelperObject;
|
|
159
159
|
queryObj: ReducedHelperObject;
|
|
160
160
|
};
|
|
161
|
-
convert(targetId: TargetId, clientId?: ClientId, options?: any):
|
|
161
|
+
convert(targetId: TargetId, clientId?: ClientId, options?: any): false | string[];
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
export { type ClientId as C, type Extension as E, type HarRequest as H, type RequestExtras as R, type TargetId as T, type ClientInfo as a, type Converter as b, type Client as c, type ClientPlugin as d, type TargetInfo as e, type Target as f, addTarget as g, isClient as h, isTarget as i, addClientPlugin as j, addTargetClient as k, type Request as l, type HTTPSnippetOptions as m, HTTPSnippet as n, availableTargets as o, extname as p, targets as t };
|
package/dist/index.cjs
CHANGED
|
@@ -3753,7 +3753,7 @@ var HTTPSnippet = class {
|
|
|
3753
3753
|
}
|
|
3754
3754
|
const { convert } = target.clientsById[clientId || target.info.default];
|
|
3755
3755
|
const results = this.requests.map((request2) => convert(request2, options));
|
|
3756
|
-
return results
|
|
3756
|
+
return results;
|
|
3757
3757
|
}
|
|
3758
3758
|
};
|
|
3759
3759
|
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|