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
|
@@ -6059,7 +6059,7 @@
|
|
|
6059
6059
|
}
|
|
6060
6060
|
});
|
|
6061
6061
|
onMount(() => {
|
|
6062
|
-
log("mounted", "3.0.
|
|
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("
|
|
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("
|
|
6697
|
+
dispatch("verified", { payload: get(payload) });
|
|
6698
6698
|
}
|
|
6699
6699
|
} catch (err) {
|
|
6700
6700
|
log("verification failed", err);
|