@depay/widgets 10.2.6 → 10.2.7

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
@@ -22441,7 +22441,9 @@ var PaymentProvider = (function (props) {
22441
22441
  }
22442
22442
  setPaymentState('success');
22443
22443
  if (succeeded) {
22444
- succeeded(transaction);
22444
+ setTimeout(function () {
22445
+ return succeeded(transaction);
22446
+ }, 200);
22445
22447
  }
22446
22448
  };
22447
22449
  var paymentFailed = function paymentFailed(transaction, error) {
@@ -23995,7 +23997,9 @@ var PaymentTrackingProvider = (function (props) {
23995
23997
  }
23996
23998
  var success = item.message.status == 'success';
23997
23999
  if (validated) {
23998
- validated(success);
24000
+ setTimeout(function () {
24001
+ return validated(success);
24002
+ }, 200);
23999
24003
  }
24000
24004
  if (item.message.release) {
24001
24005
  socket.close(1000);