@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.js
CHANGED
|
@@ -3438,7 +3438,7 @@ function WalletConnectorPrivyProvider(props) {
|
|
|
3438
3438
|
if (!hasStoreData && !hasApiData) {
|
|
3439
3439
|
return;
|
|
3440
3440
|
}
|
|
3441
|
-
if (!swapChainInfoRes) {
|
|
3441
|
+
if (props.enableSwapDeposit && !swapChainInfoRes) {
|
|
3442
3442
|
return;
|
|
3443
3443
|
}
|
|
3444
3444
|
let testChainsList = [];
|
|
@@ -3474,7 +3474,8 @@ function WalletConnectorPrivyProvider(props) {
|
|
|
3474
3474
|
testChainInfos,
|
|
3475
3475
|
mainnetChainInfosFromStore,
|
|
3476
3476
|
testChainInfosFromStore,
|
|
3477
|
-
swapChainInfoRes
|
|
3477
|
+
swapChainInfoRes,
|
|
3478
|
+
props.enableSwapDeposit
|
|
3478
3479
|
// swapLoading,
|
|
3479
3480
|
]);
|
|
3480
3481
|
React19.useEffect(() => {
|