@hcaptcha/react-hcaptcha 0.3.10 → 1.0.0
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/index.js +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var mountCaptchaScript = function mountCaptchaScript() {
|
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
var domain = params.apihost || "https://hcaptcha.com";
|
|
44
|
+
var domain = params.apihost || "https://js.hcaptcha.com";
|
|
45
45
|
delete params.apihost;
|
|
46
46
|
var script = document.createElement("script");
|
|
47
47
|
script.src = "".concat(domain, "/1/api.js?render=explicit&onload=hcaptchaOnLoad");
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -17,7 +17,7 @@ const mountCaptchaScript = (params={}) => {
|
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const domain = params.apihost || "https://hcaptcha.com";
|
|
20
|
+
const domain = params.apihost || "https://js.hcaptcha.com";
|
|
21
21
|
delete params.apihost;
|
|
22
22
|
|
|
23
23
|
const script = document.createElement("script");
|