eat-js-sdk 0.0.21 → 0.0.22

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.
@@ -3630,7 +3630,7 @@
3630
3630
  const { correct_answer: correctAnswer, typein_type: typeinType } = data.interaction;
3631
3631
  scoringMetadata = {
3632
3632
  hasAnswer: true,
3633
- answer: typeinType === TYPEIN_TYPE_SHORT ? correctAnswer[0][0] : correctAnswer[0].answer[0]
3633
+ answer: typeinType === TYPEIN_TYPE_SHORT ? correctAnswer[0][0] : correctAnswer[0][0].answer[0]
3634
3634
  };
3635
3635
  $$invalidate(0, sessionData = { ...sessionData, scoringMetadata });
3636
3636
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Authoring tool frontend SDK",
5
5
  "contributors": [
6
6
  {