@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.cjs CHANGED
@@ -4647,7 +4647,7 @@ function MidenCheckoutCard({
4647
4647
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
4648
4648
  "div",
4649
4649
  {
4650
- className: checkoutState === "SUCCESS" ? "col-span-3" : "col-span-2",
4650
+ className: checkoutState === "SUCCESS" || checkoutState === "USED" && paymentType === "BANK_TRANSFER" ? "col-span-3" : "col-span-2",
4651
4651
  children: [
4652
4652
  checkoutState === "PENDING" && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center justify-between p-6", children: [
4653
4653
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(IconMidenLogo, {}),
@@ -4696,7 +4696,7 @@ function MidenCheckoutCard({
4696
4696
  }
4697
4697
  ) })
4698
4698
  ] }),
4699
- checkoutState === "SUCCESS" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4699
+ checkoutState === "SUCCESS" || checkoutState === "USED" && paymentType === "BANK_TRANSFER" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4700
4700
  BaseSuccess,
4701
4701
  {
4702
4702
  amount: paymentObject.amount,