ouisys-engine 2.1.53 → 2.1.54

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
 
@@ -17,7 +17,6 @@ var loadScriptSrc = function loadScriptSrc(_ref) {
17
17
  script.src = url;
18
18
  var headElem = document.getElementsByTagName('head')[0];
19
19
  headElem.insertBefore(script, headElem.firstChild);
20
- console.log('loadScript');
21
20
 
22
21
  script.onload = function () {
23
22
  var scriptInner = "\n grecaptcha.ready(function() {\n grecaptcha.execute(\"".concat(key, "\", {action: 'submit'}).then(function(token) {\n // To be used by tallyman\n window.reCaptchaToken = token;\n console.log(\"-------\" + token);\n });\n });\n ");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ouisys-engine",
3
- "version": "2.1.53",
3
+ "version": "2.1.54",
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
  }