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