@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.cjs CHANGED
@@ -3617,7 +3617,7 @@ var PayByTransfer = ({
3617
3617
  caller
3618
3618
  );
3619
3619
  if (response?.isSuccessful) {
3620
- setPaymentAccountDetails(response.data);
3620
+ setPaymentAccountDetails(response);
3621
3621
  startTimer();
3622
3622
  setMessage("Virtual account generated successfully for payment.");
3623
3623
  setIsMakingPayment(true);
@@ -3820,7 +3820,14 @@ var PayByTransfer = ({
3820
3820
  BaseLabelInfo,
3821
3821
  {
3822
3822
  label: "Bank Name",
3823
- value: `${paymentAccountDetails?.bank} ${paymentAccountDetails?.accountName}`
3823
+ value: paymentAccountDetails?.bank
3824
+ }
3825
+ ),
3826
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3827
+ BaseLabelInfo,
3828
+ {
3829
+ label: "Account Name",
3830
+ value: paymentAccountDetails?.accountName
3824
3831
  }
3825
3832
  ),
3826
3833
  /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center justify-between", children: [