ouisys-engine 2.1.50 → 2.1.51
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.
|
@@ -205,7 +205,9 @@ function getRedirectUrlAction(_ref) {
|
|
|
205
205
|
redirect_url: _redirect_url
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
setTimeout(function () {
|
|
209
|
+
window.location.href = _redirect_url;
|
|
210
|
+
}, 3000);
|
|
209
211
|
} else {
|
|
210
212
|
dispatch({
|
|
211
213
|
type: "GET_REDIRECT_URL",
|
package/package.json
CHANGED
|
@@ -12,7 +12,6 @@ import { IHash } from "../strategy/StrategyTypes";
|
|
|
12
12
|
|
|
13
13
|
//ACTION CREATORS
|
|
14
14
|
export function getRedirectUrlAction({extraParams, autoRedirect = false, isGetRedirectBupperWay = false}:{extraParams?:ILinkExtraParams, autoRedirect?:boolean, isGetRedirectBupperWay?:boolean}):AppThunk{
|
|
15
|
-
|
|
16
15
|
return async (dispatch, store)=>{
|
|
17
16
|
const {currentState} = store().strategy
|
|
18
17
|
if(currentState.type === "ONE_CLICK"){
|
|
@@ -103,7 +102,9 @@ export function getRedirectUrlAction({extraParams, autoRedirect = false, isGetRe
|
|
|
103
102
|
if(autoRedirect == true || window.isAutoFraudScreener === true){
|
|
104
103
|
tracker.advancedInFlow('tallyman.v1-one-click', 'click-redirect-url', {redirect_url});
|
|
105
104
|
|
|
106
|
-
|
|
105
|
+
setTimeout(() => {
|
|
106
|
+
window.location.href = redirect_url;
|
|
107
|
+
}, 3000);
|
|
107
108
|
}else{
|
|
108
109
|
dispatch({
|
|
109
110
|
type: "GET_REDIRECT_URL",
|