@depay/widgets 11.4.3 → 11.4.5

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
@@ -22567,9 +22567,11 @@ var SelectWalletDialog = (function (props) {
22567
22567
  }
22568
22568
  };
22569
22569
  useEffect(function () {
22570
+ var wallets = [];
22570
22571
  getWallets({
22571
22572
  drip: function drip(wallet) {
22572
- setDetectedWallets(Array.from(new Set(detectedWallets.concat(wallet))));
22573
+ wallets = wallets.concat(wallet);
22574
+ setDetectedWallets(wallets);
22573
22575
  }
22574
22576
  });
22575
22577
  var previouslyConnectedWalletName = get();
@@ -26390,7 +26392,7 @@ var PaymentTrackingProvider = (function (props) {
26390
26392
  var success = item.message.status == 'success';
26391
26393
  if (validated) {
26392
26394
  setTimeout(function () {
26393
- return validated(success, item.message);
26395
+ return validated(success, transaction);
26394
26396
  }, 200);
26395
26397
  }
26396
26398
  if (item.message.release) {
@@ -26554,7 +26556,7 @@ var PaymentTrackingProvider = (function (props) {
26554
26556
  }
26555
26557
  clearInterval(pollingInterval);
26556
26558
  if (validated) {
26557
- validated(true, data);
26559
+ validated(true, transaction);
26558
26560
  }
26559
26561
  setRelease(true);
26560
26562
  }