altcha 3.0.10 → 3.1.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/external/altcha.js +2 -2
- package/dist/external/altcha.min.js +1 -1
- package/dist/external/altcha.umd.cjs +2 -2
- package/dist/external/altcha.umd.min.cjs +1 -1
- package/dist/main/altcha.i18n.js +2 -2
- package/dist/main/altcha.i18n.min.js +1 -1
- package/dist/main/altcha.i18n.umd.cjs +2 -2
- package/dist/main/altcha.i18n.umd.min.cjs +1 -1
- package/dist/main/altcha.js +2 -2
- package/dist/main/altcha.min.js +1 -1
- package/dist/main/altcha.umd.cjs +2 -2
- package/dist/main/altcha.umd.min.cjs +1 -1
- package/dist/types/jsx.d.ts +10 -1
- package/dist/types/react.d.ts +4 -7
- package/dist/types/svelte.d.ts +2 -3
- package/package.json +6 -4
package/dist/main/altcha.js
CHANGED
|
@@ -6347,7 +6347,7 @@ function Widget($$anchor, $$props) {
|
|
|
6347
6347
|
}
|
|
6348
6348
|
});
|
|
6349
6349
|
onMount(() => {
|
|
6350
|
-
log("mounted", "3.0
|
|
6350
|
+
log("mounted", "3.1.0");
|
|
6351
6351
|
if (instance) {
|
|
6352
6352
|
globalThis.$altcha.instances.add(instance);
|
|
6353
6353
|
}
|
|
@@ -7337,7 +7337,7 @@ function Widget($$anchor, $$props) {
|
|
|
7337
7337
|
$$cleanup();
|
|
7338
7338
|
return $$pop;
|
|
7339
7339
|
}
|
|
7340
|
-
if (typeof window !== "undefined" && window.customElements) customElements.define("altcha-widget", create_custom_element(
|
|
7340
|
+
if (typeof window !== "undefined" && window.customElements && !customElements.get("altcha-widget")) customElements.define("altcha-widget", create_custom_element(
|
|
7341
7341
|
Widget,
|
|
7342
7342
|
{
|
|
7343
7343
|
auto: { type: "String" },
|