@depay/widgets 12.10.8 → 12.10.9

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.
@@ -26668,8 +26668,10 @@ var Footer = (function () {
26668
26668
  setSecondsLeftCountdown(0);
26669
26669
  }
26670
26670
  }, [confirmationsPassed]);
26671
- var trackingInfo = function trackingInfo() {
26672
- if (synchronousTracking == false && asynchronousTracking == false || asynchronousTracking && trackingInitialized) {
26671
+ var trackingInfo = function trackingInfo(transaction) {
26672
+ if (!transaction) {
26673
+ return null;
26674
+ } else if (synchronousTracking == false && asynchronousTracking == false || asynchronousTracking && trackingInitialized) {
26673
26675
  return null;
26674
26676
  } else if (asynchronousTracking && trackingInitialized == false) {
26675
26677
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
@@ -26778,7 +26780,7 @@ var Footer = (function () {
26778
26780
  className: "CardBodyWrapper"
26779
26781
  }, /*#__PURE__*/React.createElement("div", {
26780
26782
  className: "Opacity05"
26781
- }, "Transaction confirmed"))))), trackingInfo());
26783
+ }, "Transaction confirmed"))))), trackingInfo(transaction));
26782
26784
  }
26783
26785
  };
26784
26786
  var approvalButton = function approvalButton() {
@@ -27872,6 +27874,9 @@ var PaymentTrackingProvider = (function (props) {
27872
27874
  if (!synchronousTracking && !asynchronousTracking) {
27873
27875
  return Promise.resolve();
27874
27876
  }
27877
+ setDeadline(deadline);
27878
+ setAfterBlock(afterBlock);
27879
+ setPaymentRoute(paymentRoute);
27875
27880
  openSocket(transaction);
27876
27881
  return new Promise( /*#__PURE__*/function () {
27877
27882
  var _ref6 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee6(resolve, reject) {