@volr/react-ui 0.1.103 → 0.1.105

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 CHANGED
@@ -3557,7 +3557,7 @@ function usePaymentModalState(open, onOpenChange) {
3557
3557
  }
3558
3558
  dispatch({ type: "SET_BALANCE_LOADING", loading: true });
3559
3559
  try {
3560
- const evmClient = evm(tokenInfo.chainId);
3560
+ const evmClient = evm.client(tokenInfo.chainId);
3561
3561
  let balanceRaw;
3562
3562
  if (tokenInfo.address === "native") {
3563
3563
  balanceRaw = await evmClient.getBalance(user.evmAddress);
@@ -3631,7 +3631,7 @@ function usePaymentModalState(open, onOpenChange) {
3631
3631
  createdPaymentId = payment.id;
3632
3632
  dispatch({ type: "SET_CREATED_PAYMENT", payment });
3633
3633
  paymentOptions.options.handlers?.onCreated?.({ id: payment.id });
3634
- const evmClient = evm(tokenInfo.chainId);
3634
+ const evmClient = evm.client(tokenInfo.chainId);
3635
3635
  dispatch({ type: "SET_PROCESSING_STEP", step: "broadcasting" });
3636
3636
  let result;
3637
3637
  if (tokenInfo.address === "native") {