@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",
@@ -26345,7 +26345,7 @@
26345
26345
  var success = item.message.status == 'success';
26346
26346
  if (validated) {
26347
26347
  setTimeout(function () {
26348
- return validated(success, item.message);
26348
+ return validated(success, transaction);
26349
26349
  }, 200);
26350
26350
  }
26351
26351
  if (item.message.release) {
@@ -26509,7 +26509,7 @@
26509
26509
  }
26510
26510
  clearInterval(pollingInterval);
26511
26511
  if (validated) {
26512
- validated(true, data);
26512
+ validated(true, transaction);
26513
26513
  }
26514
26514
  setRelease(true);
26515
26515
  }