@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.
- package/dist/{WalletManager-n5KdhSRd.d.ts → WalletManager-CKl2SNaa.d.ts} +48 -131
- package/dist/{WalletManager-DOjsIbb1.d.mts → WalletManager-DJU1LrxR.d.mts} +48 -131
- package/dist/{contracts-DtN5ys2L.d.ts → contracts-BKYCmAnz.d.ts} +1 -1
- package/dist/{contracts-BWEndqf6.d.mts → contracts-QiCjGhX7.d.mts} +1 -1
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.mts +3 -4
- package/dist/react/index.d.ts +3 -4
- package/dist/react/index.js +6 -1
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +6 -1
- package/dist/react/index.mjs.map +1 -1
- package/dist/services/index.js +12 -2
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +12 -2
- package/dist/services/index.mjs.map +1 -1
- package/dist/wallet/index.d.mts +3 -4
- package/dist/wallet/index.d.ts +3 -4
- package/dist/wallet/index.js +6 -1
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +6 -1
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -839,7 +839,12 @@ function parseChainError(chain, errorMessage) {
|
|
|
839
839
|
function isBrowser() {
|
|
840
840
|
return typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
841
841
|
}
|
|
842
|
-
|
|
842
|
+
async function dynamicImport(specifier) {
|
|
843
|
+
return import(
|
|
844
|
+
/* webpackIgnore: true */
|
|
845
|
+
specifier
|
|
846
|
+
);
|
|
847
|
+
}
|
|
843
848
|
async function canUseNativeWdk() {
|
|
844
849
|
if (isBrowser()) {
|
|
845
850
|
return false;
|
|
@@ -7625,7 +7630,12 @@ async function getPriceForChain2(chain) {
|
|
|
7625
7630
|
const prices = await fetchPrices2();
|
|
7626
7631
|
return prices[chain] || 0;
|
|
7627
7632
|
}
|
|
7628
|
-
|
|
7633
|
+
async function dynamicImport2(specifier) {
|
|
7634
|
+
return import(
|
|
7635
|
+
/* webpackIgnore: true */
|
|
7636
|
+
specifier
|
|
7637
|
+
);
|
|
7638
|
+
}
|
|
7629
7639
|
async function loadWdkModules() {
|
|
7630
7640
|
if (wdkLoaded) return;
|
|
7631
7641
|
if (wdkLoadError) throw wdkLoadError;
|