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