@rango-dev/widget-embedded 0.41.1-next.0 → 0.41.1-next.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.41.1-next.0",
3
+ "version": "0.41.1-next.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -66,4 +66,5 @@ export const BannerContainer = styled('div', {
66
66
  position: 'absolute',
67
67
  bottom: '-$10',
68
68
  transform: 'translateY(100%)',
69
+ overflow: 'hidden',
69
70
  });
@@ -641,7 +641,8 @@ export const createWalletsSlice = keepLastUpdated<AppStoreState, WalletsSlice>(
641
641
  response = await httpService().getWalletsDetails(addressesToFetch);
642
642
  } catch (e) {
643
643
  get().setConnectedWalletHasError(accounts);
644
- throw new Error(`Request for fetching balances failed.`, { cause: e });
644
+ console.error(`Request for fetching balances failed. cause: ${e}`);
645
+ return;
645
646
  }
646
647
 
647
648
  const walletsDetails = response.wallets;
@@ -720,8 +721,8 @@ export const createWalletsSlice = keepLastUpdated<AppStoreState, WalletsSlice>(
720
721
  get().setConnectedWalletRetrievedData(accounts, walletsDetails);
721
722
  } else {
722
723
  get().setConnectedWalletHasError(accounts);
723
- throw new Error(
724
- `We couldn't fetch your account balances. Seem there is no information on blockchain for them yet.`
724
+ console.error(
725
+ "We couldn't fetch your account balances. Seem there is no information on blockchain for them yet."
725
726
  );
726
727
  }
727
728
  },