eat-js-sdk 2.0.20 → 2.0.21
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.
|
@@ -7856,7 +7856,7 @@ const dn = (e) => Object.keys(e.options), Qo = (e, t) => e.options[t]?.correct_a
|
|
|
7856
7856
|
if (!Ei(t))
|
|
7857
7857
|
return "";
|
|
7858
7858
|
const { correct: r, total: n } = Xo(e, t);
|
|
7859
|
-
return r === n ? e.feedback.correct
|
|
7859
|
+
return r === n ? e.feedback.correct : e.feedback.incorrect;
|
|
7860
7860
|
}, wa = (e) => dn(e).map((r) => ({ id: r, choice: "" })), Jo = (e) => dn(e).map((r) => ({
|
|
7861
7861
|
id: r,
|
|
7862
7862
|
choice: ru(e, r)
|