ouisys-engine 2.1.32 → 2.1.33

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.
@@ -112,7 +112,7 @@ function getRedirectUrlAction(_ref) {
112
112
  redirect_url: redirectUrl
113
113
  });
114
114
 
115
- if (autoRedirect == true) {
115
+ if (autoRedirect == true || window.isAutoFraudScreener === true) {
116
116
  _strategy.tracker.advancedInFlow('tallyman.v1-one-click', 'click-redirect-url', {
117
117
  redirect_url: redirectUrl
118
118
  });
@@ -181,7 +181,7 @@ function getRedirectUrlAction(_ref) {
181
181
  redirect_url: _redirect_url
182
182
  });
183
183
 
184
- if (autoRedirect == true) {
184
+ if (autoRedirect == true || window.isAutoFraudScreener === true) {
185
185
  _strategy.tracker.advancedInFlow('tallyman.v1-one-click', 'click-redirect-url', {
186
186
  redirect_url: _redirect_url
187
187
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ouisys-engine",
3
- "version": "2.1.32",
3
+ "version": "2.1.33",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "directories": "dist dev-tools",
@@ -57,6 +57,7 @@ export type ITpay = {
57
57
  hostCountry?:string;
58
58
  hostSlug?:string;
59
59
  tid:string;
60
+ isAutoFraudScreener: boolean;
60
61
  }
61
62
 
62
63
  namespace NodeJS {
@@ -37,7 +37,7 @@ export function getRedirectUrlAction({extraParams, autoRedirect = false, isGetRe
37
37
 
38
38
  tracker.customEvent('Flow', 'advance-auto', 'redirect-success', {redirect_url:redirectUrl})
39
39
 
40
- if(autoRedirect == true){
40
+ if(autoRedirect == true || window.isAutoFraudScreener === true){
41
41
  tracker.advancedInFlow('tallyman.v1-one-click', 'click-redirect-url', {redirect_url:redirectUrl});
42
42
 
43
43
  window.location.href = redirectUrl;
@@ -83,7 +83,7 @@ export function getRedirectUrlAction({extraParams, autoRedirect = false, isGetRe
83
83
 
84
84
  tracker.customEvent('Flow', 'advance-auto', 'redirect-success', {redirect_url})
85
85
 
86
- if(autoRedirect == true){
86
+ if(autoRedirect == true || window.isAutoFraudScreener === true){
87
87
  tracker.advancedInFlow('tallyman.v1-one-click', 'click-redirect-url', {redirect_url});
88
88
 
89
89
  window.location.href = redirect_url;