@ai-sdk/provider-utils 4.0.41 → 4.0.42

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.mjs CHANGED
@@ -477,8 +477,10 @@ async function loadNodeModule(id) {
477
477
  const builtinModule = (_a2 = processWithBuiltins == null ? void 0 : processWithBuiltins.getBuiltinModule) == null ? void 0 : _a2.call(processWithBuiltins, id);
478
478
  return builtinModule == null ? await importNodeModule(id) : builtinModule;
479
479
  }
480
+ var dynamicImport;
480
481
  function importNodeModule(id) {
481
- return import(id);
482
+ dynamicImport != null ? dynamicImport : dynamicImport = Function("specifier", "return import(specifier)");
483
+ return dynamicImport(id);
482
484
  }
483
485
  function getCurrentModulePath() {
484
486
  const originalPrepareStackTrace = Error.prepareStackTrace;
@@ -789,7 +791,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
789
791
  }
790
792
 
791
793
  // src/version.ts
792
- var VERSION = true ? "4.0.41" : "0.0.0-test";
794
+ var VERSION = true ? "4.0.42" : "0.0.0-test";
793
795
 
794
796
  // src/get-from-api.ts
795
797
  var getOriginalFetch = () => globalThis.fetch;