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.
- package/dist/external/altcha.js +3 -3
- package/dist/external/altcha.min.js +1 -1
- package/dist/external/altcha.umd.cjs +3 -3
- package/dist/external/altcha.umd.min.cjs +1 -1
- package/dist/main/altcha.i18n.js +3 -3
- package/dist/main/altcha.i18n.min.js +1 -1
- package/dist/main/altcha.i18n.umd.cjs +3 -3
- package/dist/main/altcha.i18n.umd.min.cjs +1 -1
- package/dist/main/altcha.js +3 -3
- package/dist/main/altcha.min.js +1 -1
- package/dist/main/altcha.umd.cjs +3 -3
- package/dist/main/altcha.umd.min.cjs +1 -1
- package/package.json +1 -1
package/dist/main/altcha.js
CHANGED
|
@@ -6057,7 +6057,7 @@ function Widget($$anchor, $$props) {
|
|
|
6057
6057
|
}
|
|
6058
6058
|
});
|
|
6059
6059
|
onMount(() => {
|
|
6060
|
-
log("mounted", "3.0.
|
|
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("
|
|
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("
|
|
6695
|
+
dispatch("verified", { payload: get(payload) });
|
|
6696
6696
|
}
|
|
6697
6697
|
} catch (err) {
|
|
6698
6698
|
log("verification failed", err);
|