eat-js-sdk 1.0.53 → 1.0.54

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.
@@ -19230,7 +19230,7 @@
19230
19230
  const { correct_answer: correctAnswer, typein_type: typeinType } = data.interaction;
19231
19231
  scoringMetadata = {
19232
19232
  hasAnswer: true,
19233
- answer: typeinType === TYPEIN_TYPE_SHORT ? correctAnswer[0][0] : typeinType === TYPEIN_TYPE_INLINE ? correctAnswer : correctAnswer[0][0].answer[0]
19233
+ answer: typeinType === TYPEIN_TYPE_SHORT ? correctAnswer[0][0] : typeinType === TYPEIN_TYPE_INLINE ? correctAnswer : correctAnswer[0].sample_answer[0]
19234
19234
  };
19235
19235
  $$invalidate(0, sessionData = { ...sessionData, scoringMetadata });
19236
19236
  if (isPreviewModeInteractive) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "change version": "1.0.12",
5
5
  "description": "Authoring tool frontend SDK",
6
6
  "contributors": [