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.umd.cjs
CHANGED
|
@@ -6349,7 +6349,7 @@
|
|
|
6349
6349
|
}
|
|
6350
6350
|
});
|
|
6351
6351
|
onMount(() => {
|
|
6352
|
-
log("mounted", "3.0
|
|
6352
|
+
log("mounted", "3.1.0");
|
|
6353
6353
|
if (instance) {
|
|
6354
6354
|
globalThis.$altcha.instances.add(instance);
|
|
6355
6355
|
}
|
|
@@ -7339,7 +7339,7 @@
|
|
|
7339
7339
|
$$cleanup();
|
|
7340
7340
|
return $$pop;
|
|
7341
7341
|
}
|
|
7342
|
-
if (typeof window !== "undefined" && window.customElements) customElements.define("altcha-widget", create_custom_element(
|
|
7342
|
+
if (typeof window !== "undefined" && window.customElements && !customElements.get("altcha-widget")) customElements.define("altcha-widget", create_custom_element(
|
|
7343
7343
|
Widget,
|
|
7344
7344
|
{
|
|
7345
7345
|
auto: { type: "String" },
|