@depay/widgets 10.2.5 → 10.2.6
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.bundle.js +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +3 -2
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -24001,7 +24001,7 @@ var PaymentTrackingProvider = (function (props) {
|
|
|
24001
24001
|
socket.close(1000);
|
|
24002
24002
|
if (success) {
|
|
24003
24003
|
setRelease(true);
|
|
24004
|
-
setClosable(
|
|
24004
|
+
setClosable(true);
|
|
24005
24005
|
setForwardTo(item.message.forward_to);
|
|
24006
24006
|
if (!!item.message.forward_to) {
|
|
24007
24007
|
setTimeout(function () {
|
|
@@ -24095,10 +24095,11 @@ var PaymentTrackingProvider = (function (props) {
|
|
|
24095
24095
|
var handlePollingResponse = function handlePollingResponse(data) {
|
|
24096
24096
|
if (data) {
|
|
24097
24097
|
if (data && data.forward_to) {
|
|
24098
|
+
setClosable(true);
|
|
24098
24099
|
setForwardTo(data.forward_to);
|
|
24099
24100
|
setTimeout(function () {
|
|
24100
24101
|
props.document.location.href = data.forward_to;
|
|
24101
|
-
},
|
|
24102
|
+
}, 200);
|
|
24102
24103
|
} else {
|
|
24103
24104
|
setClosable(true);
|
|
24104
24105
|
}
|