@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.
package/dist/esm/index.js CHANGED
@@ -25764,7 +25764,7 @@ var Footer = (function () {
25764
25764
  }, "Pay");
25765
25765
  } else if (paymentState == 'paying') {
25766
25766
  return /*#__PURE__*/React.createElement("a", {
25767
- className: "ButtonPrimary disabled",
25767
+ className: "ButtonPrimary",
25768
25768
  title: "Performing the payment - please wait",
25769
25769
  href: transaction === null || transaction === void 0 ? void 0 : transaction.url,
25770
25770
  target: "_blank",
@@ -26390,7 +26390,7 @@ var PaymentTrackingProvider = (function (props) {
26390
26390
  var success = item.message.status == 'success';
26391
26391
  if (validated) {
26392
26392
  setTimeout(function () {
26393
- return validated(success, item.message);
26393
+ return validated(success, transaction);
26394
26394
  }, 200);
26395
26395
  }
26396
26396
  if (item.message.release) {
@@ -26554,7 +26554,7 @@ var PaymentTrackingProvider = (function (props) {
26554
26554
  }
26555
26555
  clearInterval(pollingInterval);
26556
26556
  if (validated) {
26557
- validated(true, data);
26557
+ validated(true, transaction);
26558
26558
  }
26559
26559
  setRelease(true);
26560
26560
  }