@orderly.network/wallet-connector-privy 2.8.2 → 2.8.3-alpha.0
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -3413,7 +3413,7 @@ function WalletConnectorPrivyProvider(props) {
|
|
|
3413
3413
|
if (!hasStoreData && !hasApiData) {
|
|
3414
3414
|
return;
|
|
3415
3415
|
}
|
|
3416
|
-
if (!swapChainInfoRes) {
|
|
3416
|
+
if (props.enableSwapDeposit && !swapChainInfoRes) {
|
|
3417
3417
|
return;
|
|
3418
3418
|
}
|
|
3419
3419
|
let testChainsList = [];
|
|
@@ -3449,7 +3449,8 @@ function WalletConnectorPrivyProvider(props) {
|
|
|
3449
3449
|
testChainInfos,
|
|
3450
3450
|
mainnetChainInfosFromStore,
|
|
3451
3451
|
testChainInfosFromStore,
|
|
3452
|
-
swapChainInfoRes
|
|
3452
|
+
swapChainInfoRes,
|
|
3453
|
+
props.enableSwapDeposit
|
|
3453
3454
|
// swapLoading,
|
|
3454
3455
|
]);
|
|
3455
3456
|
useEffect(() => {
|