@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/umd/index.js CHANGED
@@ -22562,9 +22562,11 @@
22562
22562
  }
22563
22563
  };
22564
22564
  React.useEffect(function () {
22565
+ var wallets = [];
22565
22566
  web3Wallets.getWallets({
22566
22567
  drip: function drip(wallet) {
22567
- setDetectedWallets(Array.from(new Set(detectedWallets.concat(wallet))));
22568
+ wallets = wallets.concat(wallet);
22569
+ setDetectedWallets(wallets);
22568
22570
  }
22569
22571
  });
22570
22572
  var previouslyConnectedWalletName = get();
@@ -26385,7 +26387,7 @@
26385
26387
  var success = item.message.status == 'success';
26386
26388
  if (validated) {
26387
26389
  setTimeout(function () {
26388
- return validated(success, item.message);
26390
+ return validated(success, transaction);
26389
26391
  }, 200);
26390
26392
  }
26391
26393
  if (item.message.release) {
@@ -26549,7 +26551,7 @@
26549
26551
  }
26550
26552
  clearInterval(pollingInterval);
26551
26553
  if (validated) {
26552
- validated(true, data);
26554
+ validated(true, transaction);
26553
26555
  }
26554
26556
  setRelease(true);
26555
26557
  }