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.
- package/dist/redfireforge.mjs +5 -1
- package/package.json +1 -1
package/dist/redfireforge.mjs
CHANGED
|
@@ -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
|
|
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();
|