altcha 3.0.3 → 3.0.4

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.
@@ -6057,7 +6057,7 @@ function Widget($$anchor, $$props) {
6057
6057
  }
6058
6058
  });
6059
6059
  onMount(() => {
6060
- log("mounted", "3.0.3");
6060
+ log("mounted", "3.0.4");
6061
6061
  if (instance) {
6062
6062
  globalThis.$altcha.instances.add(instance);
6063
6063
  }
@@ -6621,7 +6621,7 @@ function Widget($$anchor, $$props) {
6621
6621
  set(payload, btoa(JSON.stringify({ challenge: null, solution: null, test: true })), true);
6622
6622
  log("verified");
6623
6623
  setState(State.VERIFIED);
6624
- dispatch("vefified", { payload: get(payload) });
6624
+ dispatch("verified", { payload: get(payload) });
6625
6625
  return { payload: get(payload) };
6626
6626
  }
6627
6627
  challenge = await fetchChallenge();
@@ -6692,7 +6692,7 @@ function Widget($$anchor, $$props) {
6692
6692
  } else {
6693
6693
  log("verified");
6694
6694
  setState(State.VERIFIED);
6695
- dispatch("vefified", { payload: get(payload) });
6695
+ dispatch("verified", { payload: get(payload) });
6696
6696
  }
6697
6697
  } catch (err) {
6698
6698
  log("verification failed", err);