@instructure/quiz-core 18.2.1-rc.1 → 18.2.1-rc.2
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.
|
@@ -60,13 +60,13 @@ export var updateTimerInfo = function updateTimerInfo(timerData) {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
export var previewResponse = function previewResponse(
|
|
63
|
+
export var previewResponse = function previewResponse(sessionItem, value) {
|
|
64
64
|
var invalid = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
|
|
65
65
|
return {
|
|
66
66
|
type: PREVIEW_RESPONSE,
|
|
67
67
|
payload: {
|
|
68
|
-
position:
|
|
69
|
-
itemId:
|
|
68
|
+
position: sessionItem.position,
|
|
69
|
+
itemId: sessionItem.getItem().id,
|
|
70
70
|
userResponse: {
|
|
71
71
|
value: value
|
|
72
72
|
},
|
|
@@ -93,13 +93,13 @@ var updateTimerInfo = function updateTimerInfo(timerData) {
|
|
|
93
93
|
|
|
94
94
|
exports.updateTimerInfo = updateTimerInfo;
|
|
95
95
|
|
|
96
|
-
var previewResponse = function previewResponse(
|
|
96
|
+
var previewResponse = function previewResponse(sessionItem, value) {
|
|
97
97
|
var invalid = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
|
|
98
98
|
return {
|
|
99
99
|
type: _quizCommon.PREVIEW_RESPONSE,
|
|
100
100
|
payload: {
|
|
101
|
-
position:
|
|
102
|
-
itemId:
|
|
101
|
+
position: sessionItem.position,
|
|
102
|
+
itemId: sessionItem.getItem().id,
|
|
103
103
|
userResponse: {
|
|
104
104
|
value: value
|
|
105
105
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "18.2.1-rc.
|
|
3
|
+
"version": "18.2.1-rc.2+f39d76d88",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@instructure/grading-utils": "^1.0.0",
|
|
44
44
|
"@instructure/outcomes-ui": "^2.1.9",
|
|
45
|
-
"@instructure/quiz-common": "18.2.1-rc.
|
|
46
|
-
"@instructure/quiz-i18n": "18.2.1-rc.
|
|
47
|
-
"@instructure/quiz-interactions": "18.2.1-rc.
|
|
48
|
-
"@instructure/quiz-number-input": "18.2.1-rc.
|
|
49
|
-
"@instructure/quiz-rce": "18.2.1-rc.
|
|
45
|
+
"@instructure/quiz-common": "18.2.1-rc.2+f39d76d88",
|
|
46
|
+
"@instructure/quiz-i18n": "18.2.1-rc.2+f39d76d88",
|
|
47
|
+
"@instructure/quiz-interactions": "18.2.1-rc.2+f39d76d88",
|
|
48
|
+
"@instructure/quiz-number-input": "18.2.1-rc.2+f39d76d88",
|
|
49
|
+
"@instructure/quiz-rce": "18.2.1-rc.2+f39d76d88",
|
|
50
50
|
"@instructure/ui-a11y-content": "^7.20.0",
|
|
51
51
|
"@instructure/ui-alerts": "^7.20.0",
|
|
52
52
|
"@instructure/ui-avatar": "^7.20.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"eventemitter3": "^3.1.0",
|
|
108
108
|
"humps": "^2.0.0",
|
|
109
109
|
"immutable": "^3.8.1",
|
|
110
|
-
"instructure-validations": "18.2.1-rc.
|
|
110
|
+
"instructure-validations": "18.2.1-rc.2+f39d76d88",
|
|
111
111
|
"ipaddr.js": "^1.5.4",
|
|
112
112
|
"isomorphic-fetch": "^2.2.0",
|
|
113
113
|
"isuuid": "^0.1.0",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"intl": "^1.2.4",
|
|
159
159
|
"jquery": "^2.2.3",
|
|
160
160
|
"most-subject": "^5.3.0",
|
|
161
|
-
"quiz-presets": "18.2.1-rc.
|
|
161
|
+
"quiz-presets": "18.2.1-rc.2+f39d76d88",
|
|
162
162
|
"react": "^16.8.6",
|
|
163
163
|
"react-addons-test-utils": "^15.6.2",
|
|
164
164
|
"react-dom": "^16.8.6",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"publishConfig": {
|
|
175
175
|
"access": "public"
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "f39d76d8848092fa90adcf98d91da3059534dc8c"
|
|
178
178
|
}
|