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.
@@ -6347,7 +6347,7 @@ function Widget($$anchor, $$props) {
6347
6347
  }
6348
6348
  });
6349
6349
  onMount(() => {
6350
- log("mounted", "3.0.10");
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" },