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.mjs CHANGED
@@ -5488,7 +5488,7 @@ function validateAndParseEthAddress(address) {
5488
5488
  }
5489
5489
 
5490
5490
  // src/utils/connect/fetch.ts
5491
- var fetch_default = typeof globalThis !== "undefined" && globalThis.fetch.bind(globalThis) || typeof window !== "undefined" && window.fetch.bind(window) || typeof global !== "undefined" && global.fetch.bind(global) || (() => {
5491
+ 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) || (() => {
5492
5492
  throw new LibraryError(
5493
5493
  "'fetch()' not detected, use the 'baseFetch' constructor parameter to set it"
5494
5494
  );