@skip-go/widget 2.2.5-alpha.0 → 2.2.5-alpha.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/build/index.es.js CHANGED
@@ -671,6 +671,8 @@ function useTotalWallets() {
671
671
  }
672
672
  const WalletListItem = ({ children, chainType, walletName, ...props }) => {
673
673
  const Component = useMemo(() => {
674
+ if (walletName === 'prax')
675
+ return PenumbraWalletListItem;
674
676
  return chainType === 'cosmos' ? CosmosWalletListItem : EvmWalletListItem;
675
677
  }, [chainType]);
676
678
  return (jsx(Component, { walletName: walletName, ...props, children: children }));
@@ -717,6 +719,9 @@ const EvmWalletListItem = ({ children, walletName, ...props }) => {
717
719
  }, [walletName]);
718
720
  return jsx("div", { ...props, children: children });
719
721
  };
722
+ const PenumbraWalletListItem = ({ children, walletName, ...props }) => {
723
+ return jsx("div", { ...props, children: children });
724
+ };
720
725
 
721
726
  const useMakeWallets = () => {
722
727
  const { data: chains } = useChains();
@@ -3900,11 +3905,10 @@ const SetAddressDialog = ({ open, onOpen, chain, index, signRequired, isDestinat
3900
3905
  const { chainType, chainID, bech32Prefix } = chain;
3901
3906
  const { makeDestinationWallets } = useSkipConfig();
3902
3907
  const { makeWallets } = useMakeWallets();
3903
- const _wallets = makeWallets(chainID);
3904
3908
  const destinationWallets = makeDestinationWallets === null || makeDestinationWallets === void 0 ? void 0 : makeDestinationWallets(chainID);
3905
3909
  const wallets = destinationWallets && destinationWallets.length > 0
3906
3910
  ? destinationWallets
3907
- : _wallets;
3911
+ : makeWallets(chainID);
3908
3912
  const [address, setAddress] = useState('');
3909
3913
  const [isEditing, setIsEditing] = useState(false);
3910
3914
  const validateAddress = (address) => {