@zubari/sdk 0.5.8 → 0.5.10
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/{WalletManager-i2BBu6uz.d.mts → WalletManager-DOjsIbb1.d.mts} +2 -0
- package/dist/{WalletManager-Csfokchy.d.ts → WalletManager-n5KdhSRd.d.ts} +2 -0
- package/dist/{contracts-ITj7CkiV.d.mts → contracts-BWEndqf6.d.mts} +1 -1
- package/dist/{contracts-BHI5gorb.d.ts → contracts-DtN5ys2L.d.ts} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +42 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +42 -5
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.mts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +39 -4
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +39 -4
- package/dist/react/index.mjs.map +1 -1
- package/dist/services/index.js +6 -2
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +6 -2
- package/dist/services/index.mjs.map +1 -1
- package/dist/wallet/index.d.mts +2 -2
- package/dist/wallet/index.d.ts +2 -2
- package/dist/wallet/index.js +39 -4
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +39 -4
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/services/index.js
CHANGED
|
@@ -1332,7 +1332,9 @@ function parseChainError(chain, errorMessage) {
|
|
|
1332
1332
|
function isBrowser() {
|
|
1333
1333
|
return typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
1334
1334
|
}
|
|
1335
|
-
|
|
1335
|
+
async function dynamicImport(specifier) {
|
|
1336
|
+
return import(specifier);
|
|
1337
|
+
}
|
|
1336
1338
|
async function canUseNativeWdk() {
|
|
1337
1339
|
if (isBrowser()) {
|
|
1338
1340
|
return false;
|
|
@@ -1841,7 +1843,9 @@ async function getPriceForChain(chain) {
|
|
|
1841
1843
|
const prices = await fetchPrices();
|
|
1842
1844
|
return prices[chain] || 0;
|
|
1843
1845
|
}
|
|
1844
|
-
|
|
1846
|
+
async function dynamicImport2(specifier) {
|
|
1847
|
+
return import(specifier);
|
|
1848
|
+
}
|
|
1845
1849
|
async function loadWdkModules() {
|
|
1846
1850
|
if (wdkLoaded) return;
|
|
1847
1851
|
if (wdkLoadError) throw wdkLoadError;
|