ouisys-engine 2.1.51 → 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 +1 -1
- package/package.json +1 -1
- package/src/api/index.ts +1 -1
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=
|
|
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
|
|
package/package.json
CHANGED
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
|
|
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
|
}
|