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.
@@ -6349,7 +6349,7 @@
6349
6349
  }
6350
6350
  });
6351
6351
  onMount(() => {
6352
- log("mounted", "3.0.10");
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" },