starknet 9.1.0 → 9.1.1

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.js CHANGED
@@ -5665,7 +5665,7 @@ function validateAndParseEthAddress(address) {
5665
5665
  }
5666
5666
 
5667
5667
  // src/utils/connect/fetch.ts
5668
- var fetch_default = typeof globalThis !== "undefined" && globalThis.fetch.bind(globalThis) || typeof window !== "undefined" && window.fetch.bind(window) || typeof global !== "undefined" && global.fetch.bind(global) || (() => {
5668
+ var fetch_default = typeof globalThis !== "undefined" && typeof globalThis.fetch !== "undefined" && globalThis.fetch.bind(globalThis) || typeof window !== "undefined" && typeof window.fetch !== "undefined" && window.fetch.bind(window) || typeof global !== "undefined" && typeof global.fetch !== "undefined" && global.fetch.bind(global) || (() => {
5669
5669
  throw new LibraryError(
5670
5670
  "'fetch()' not detected, use the 'baseFetch' constructor parameter to set it"
5671
5671
  );