@miden-npm/react 2.0.5 → 2.0.6

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
@@ -4607,7 +4607,7 @@ function MidenCheckoutCard({
4607
4607
  /* @__PURE__ */ jsxs30(
4608
4608
  "div",
4609
4609
  {
4610
- className: checkoutState === "SUCCESS" ? "col-span-3" : "col-span-2",
4610
+ className: checkoutState === "SUCCESS" || checkoutState === "USED" && paymentType === "BANK_TRANSFER" ? "col-span-3" : "col-span-2",
4611
4611
  children: [
4612
4612
  checkoutState === "PENDING" && /* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between p-6", children: [
4613
4613
  /* @__PURE__ */ jsx42(IconMidenLogo, {}),
@@ -4656,7 +4656,7 @@ function MidenCheckoutCard({
4656
4656
  }
4657
4657
  ) })
4658
4658
  ] }),
4659
- checkoutState === "SUCCESS" && /* @__PURE__ */ jsx42(
4659
+ checkoutState === "SUCCESS" || checkoutState === "USED" && paymentType === "BANK_TRANSFER" && /* @__PURE__ */ jsx42(
4660
4660
  BaseSuccess,
4661
4661
  {
4662
4662
  amount: paymentObject.amount,