@depay/widgets 11.4.2 → 11.4.4

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.
@@ -25759,7 +25759,7 @@
25759
25759
  }, "Pay");
25760
25760
  } else if (paymentState == 'paying') {
25761
25761
  return /*#__PURE__*/React__default["default"].createElement("a", {
25762
- className: "ButtonPrimary disabled",
25762
+ className: "ButtonPrimary",
25763
25763
  title: "Performing the payment - please wait",
25764
25764
  href: transaction === null || transaction === void 0 ? void 0 : transaction.url,
25765
25765
  target: "_blank",
@@ -26385,7 +26385,7 @@
26385
26385
  var success = item.message.status == 'success';
26386
26386
  if (validated) {
26387
26387
  setTimeout(function () {
26388
- return validated(success, item.message);
26388
+ return validated(success, transaction);
26389
26389
  }, 200);
26390
26390
  }
26391
26391
  if (item.message.release) {
@@ -26549,7 +26549,7 @@
26549
26549
  }
26550
26550
  clearInterval(pollingInterval);
26551
26551
  if (validated) {
26552
- validated(true, data);
26552
+ validated(true, transaction);
26553
26553
  }
26554
26554
  setRelease(true);
26555
26555
  }