ouisys-engine 2.1.49 → 2.1.52

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/api/index.js CHANGED
@@ -688,7 +688,7 @@ var RealTallyman = {
688
688
  isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
689
689
  newHost = isDMB ? "de.tallymans.com" : host;
690
690
  _context22.next = 4;
691
- return fetch("https://".concat(newHost, "/tallyman/helper/?action=google-captcha-v3-config&country=").concat(country, "&slug=").concat(slug, "&device=").concat(device, "&domain=n.gamiclub.com")).then(function (x) {
691
+ return fetch("https://".concat(newHost, "/tallyman/helper/?action=google-captcha-v3-config&country=").concat(country, "&slug=").concat(slug, "&device=").concat(device, "&domain=").concat(domain)).then(function (x) {
692
692
  return x.json();
693
693
  });
694
694
 
@@ -125,7 +125,7 @@ function getRedirectUrlAction(_ref) {
125
125
 
126
126
  setTimeout(function () {
127
127
  window.location.href = redirectUrl;
128
- }, 1000);
128
+ }, 0);
129
129
  }
130
130
  }, 500);
131
131
  } else {
@@ -135,7 +135,7 @@ function getRedirectUrlAction(_ref) {
135
135
 
136
136
  setTimeout(function () {
137
137
  window.location.href = redirectUrl;
138
- }, 3000);
138
+ }, 1000);
139
139
  }
140
140
  } else {
141
141
  dispatch({
@@ -205,7 +205,9 @@ function getRedirectUrlAction(_ref) {
205
205
  redirect_url: _redirect_url
206
206
  });
207
207
 
208
- window.location.href = _redirect_url;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ouisys-engine",
3
- "version": "2.1.49",
3
+ "version": "2.1.52",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "directories": "dist dev-tools",
package/src/api/index.ts CHANGED
@@ -217,7 +217,7 @@ export const RealTallyman:ITallyman = {
217
217
  getGoogleCaptcha:async(host: string, country: string, slug: string, device:string, domain: string):Promise<IGoogleReCaptcha>=>{
218
218
  const isDMB = (window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1) ? true : false;
219
219
  const newHost = isDMB ? "de.tallymans.com" : host;
220
- return await fetch(`https://${newHost}/tallyman/helper/?action=google-captcha-v3-config&country=${country}&slug=${slug}&device=${device}&domain=n.gamiclub.com`).then(x => x.json())
220
+ return await fetch(`https://${newHost}/tallyman/helper/?action=google-captcha-v3-config&country=${country}&slug=${slug}&device=${device}&domain=${domain}`).then(x => x.json())
221
221
 
222
222
  }
223
223
  }
@@ -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"){
@@ -46,14 +45,14 @@ export function getRedirectUrlAction({extraParams, autoRedirect = false, isGetRe
46
45
  tracker.advancedInFlow('tallyman.v1-one-click', 'click-redirect-url', {redirect_url:redirectUrl});
47
46
  setTimeout(() => {
48
47
  window.location.href = redirectUrl;
49
- }, 1000);
48
+ }, 0);
50
49
  }
51
50
  }, 500);
52
51
  }else{
53
52
  tracker.advancedInFlow('tallyman.v1-one-click', 'click-redirect-url', {redirect_url:redirectUrl});
54
53
  setTimeout(() => {
55
54
  window.location.href = redirectUrl;
56
- }, 3000);
55
+ }, 1000);
57
56
  }
58
57
 
59
58
 
@@ -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
- window.location.href = redirect_url;
105
+ setTimeout(() => {
106
+ window.location.href = redirect_url;
107
+ }, 3000);
107
108
  }else{
108
109
  dispatch({
109
110
  type: "GET_REDIRECT_URL",