@zubari/sdk 0.5.9 → 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/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.js +3 -1
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +3 -1
- 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.js +3 -1
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +3 -1
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -841,7 +841,9 @@ function parseChainError(chain, errorMessage) {
|
|
|
841
841
|
function isBrowser() {
|
|
842
842
|
return typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
843
843
|
}
|
|
844
|
-
|
|
844
|
+
async function dynamicImport(specifier) {
|
|
845
|
+
return import(specifier);
|
|
846
|
+
}
|
|
845
847
|
async function canUseNativeWdk() {
|
|
846
848
|
if (isBrowser()) {
|
|
847
849
|
return false;
|
|
@@ -7627,7 +7629,9 @@ async function getPriceForChain2(chain) {
|
|
|
7627
7629
|
const prices = await fetchPrices2();
|
|
7628
7630
|
return prices[chain] || 0;
|
|
7629
7631
|
}
|
|
7630
|
-
|
|
7632
|
+
async function dynamicImport2(specifier) {
|
|
7633
|
+
return import(specifier);
|
|
7634
|
+
}
|
|
7631
7635
|
async function loadWdkModules() {
|
|
7632
7636
|
if (wdkLoaded) return;
|
|
7633
7637
|
if (wdkLoadError) throw wdkLoadError;
|