@zubari/sdk 0.5.9 → 0.5.11

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.
@@ -1332,7 +1332,12 @@ function parseChainError(chain, errorMessage) {
1332
1332
  function isBrowser() {
1333
1333
  return typeof window !== "undefined" && typeof window.document !== "undefined";
1334
1334
  }
1335
- var dynamicImport = new Function("specifier", "return import(specifier)");
1335
+ async function dynamicImport(specifier) {
1336
+ return import(
1337
+ /* webpackIgnore: true */
1338
+ specifier
1339
+ );
1340
+ }
1336
1341
  async function canUseNativeWdk() {
1337
1342
  if (isBrowser()) {
1338
1343
  return false;
@@ -1841,7 +1846,12 @@ async function getPriceForChain(chain) {
1841
1846
  const prices = await fetchPrices();
1842
1847
  return prices[chain] || 0;
1843
1848
  }
1844
- var dynamicImport2 = new Function("specifier", "return import(specifier)");
1849
+ async function dynamicImport2(specifier) {
1850
+ return import(
1851
+ /* webpackIgnore: true */
1852
+ specifier
1853
+ );
1854
+ }
1845
1855
  async function loadWdkModules() {
1846
1856
  if (wdkLoaded) return;
1847
1857
  if (wdkLoadError) throw wdkLoadError;