@volr/react-ui 0.1.104 → 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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3562,7 +3562,7 @@ function usePaymentModalState(open, onOpenChange) {
|
|
|
3562
3562
|
}
|
|
3563
3563
|
dispatch({ type: "SET_BALANCE_LOADING", loading: true });
|
|
3564
3564
|
try {
|
|
3565
|
-
const evmClient = evm(tokenInfo.chainId);
|
|
3565
|
+
const evmClient = evm.client(tokenInfo.chainId);
|
|
3566
3566
|
let balanceRaw;
|
|
3567
3567
|
if (tokenInfo.address === "native") {
|
|
3568
3568
|
balanceRaw = await evmClient.getBalance(user.evmAddress);
|
|
@@ -3636,7 +3636,7 @@ function usePaymentModalState(open, onOpenChange) {
|
|
|
3636
3636
|
createdPaymentId = payment.id;
|
|
3637
3637
|
dispatch({ type: "SET_CREATED_PAYMENT", payment });
|
|
3638
3638
|
paymentOptions.options.handlers?.onCreated?.({ id: payment.id });
|
|
3639
|
-
const evmClient = evm(tokenInfo.chainId);
|
|
3639
|
+
const evmClient = evm.client(tokenInfo.chainId);
|
|
3640
3640
|
dispatch({ type: "SET_PROCESSING_STEP", step: "broadcasting" });
|
|
3641
3641
|
let result;
|
|
3642
3642
|
if (tokenInfo.address === "native") {
|