redfireforge-cli 0.8.1 → 0.8.2

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.
@@ -30920,7 +30920,11 @@ async function nodeFetch(url, method, headers, body, signal) {
30920
30920
  if (signal) opts.signal = signal;
30921
30921
  const doFetch = async (fetchOpts) => {
30922
30922
  const t0 = performance.now();
30923
- const response = await fetch(targetUrl, fetchOpts);
30923
+ const fetchFn = fetchOpts.dispatcher ? (await import(
30924
+ /* @vite-ignore */
30925
+ "undici"
30926
+ )).fetch : fetch;
30927
+ const response = await fetchFn(targetUrl, fetchOpts);
30924
30928
  const tFirstByte = performance.now();
30925
30929
  const responseBody = await response.text();
30926
30930
  const tDone = performance.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redfireforge-cli",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "RedfireForge CLI — API Performance Testing from the Command Line",
5
5
  "keywords": [
6
6
  "api",