@miden-npm/react 2.1.2 → 2.1.3

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
@@ -3577,7 +3577,7 @@ var PayByTransfer = ({
3577
3577
  caller
3578
3578
  );
3579
3579
  if (response?.isSuccessful) {
3580
- setPaymentAccountDetails(response.data);
3580
+ setPaymentAccountDetails(response);
3581
3581
  startTimer();
3582
3582
  setMessage("Virtual account generated successfully for payment.");
3583
3583
  setIsMakingPayment(true);
@@ -3780,7 +3780,14 @@ var PayByTransfer = ({
3780
3780
  BaseLabelInfo,
3781
3781
  {
3782
3782
  label: "Bank Name",
3783
- value: `${paymentAccountDetails?.bank} ${paymentAccountDetails?.accountName}`
3783
+ value: paymentAccountDetails?.bank
3784
+ }
3785
+ ),
3786
+ /* @__PURE__ */ jsx37(
3787
+ BaseLabelInfo,
3788
+ {
3789
+ label: "Account Name",
3790
+ value: paymentAccountDetails?.accountName
3784
3791
  }
3785
3792
  ),
3786
3793
  /* @__PURE__ */ jsxs25("div", { className: "flex items-center justify-between", children: [