@instructure/quiz-core 17.46.2-rc.0 → 17.46.2-rc.1

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.
@@ -27,7 +27,8 @@ export var postQuizSessionResults = function postQuizSessionResults(sessionId, s
27
27
  var fetcher = new Fetcher();
28
28
  return fetcher.post(url, params).then(function (quizSessionResult) {
29
29
  return dispatch([postToParent({
30
- subject: SUBMISSION_UPDATE_SUBJECT
30
+ subject: SUBMISSION_UPDATE_SUBJECT,
31
+ percentage: quizSessionResult.percentage
31
32
  }), handleQuizSessionResultsResponse([quizSessionResult]), fetchQuizSessionCb(sessionId)]);
32
33
  });
33
34
  };
@@ -41,7 +41,8 @@ var postQuizSessionResults = function postQuizSessionResults(sessionId, sessionI
41
41
  var fetcher = new _Fetcher.default();
42
42
  return fetcher.post(url, params).then(function (quizSessionResult) {
43
43
  return dispatch([(0, _postMessage.postToParent)({
44
- subject: _quizCommon.SUBMISSION_UPDATE_SUBJECT
44
+ subject: _quizCommon.SUBMISSION_UPDATE_SUBJECT,
45
+ percentage: quizSessionResult.percentage
45
46
  }), (0, _callHandlers.handleQuizSessionResultsResponse)([quizSessionResult]), fetchQuizSessionCb(sessionId)]);
46
47
  });
47
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.46.2-rc.0+32cd54270",
3
+ "version": "17.46.2-rc.1+626af1e04",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -41,11 +41,11 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@instructure/outcomes-ui": "^2.1.2",
44
- "@instructure/quiz-common": "17.46.2-rc.0+32cd54270",
45
- "@instructure/quiz-i18n": "17.46.2-rc.0+32cd54270",
46
- "@instructure/quiz-interactions": "17.46.2-rc.0+32cd54270",
47
- "@instructure/quiz-number-input": "17.46.2-rc.0+32cd54270",
48
- "@instructure/quiz-rce": "17.46.2-rc.0+32cd54270",
44
+ "@instructure/quiz-common": "17.46.2-rc.1+626af1e04",
45
+ "@instructure/quiz-i18n": "17.46.2-rc.1+626af1e04",
46
+ "@instructure/quiz-interactions": "17.46.2-rc.1+626af1e04",
47
+ "@instructure/quiz-number-input": "17.46.2-rc.1+626af1e04",
48
+ "@instructure/quiz-rce": "17.46.2-rc.1+626af1e04",
49
49
  "@instructure/ui-a11y-content": "^7.20.0",
50
50
  "@instructure/ui-alerts": "^7.20.0",
51
51
  "@instructure/ui-avatar": "^7.20.0",
@@ -106,7 +106,7 @@
106
106
  "eventemitter3": "^3.1.0",
107
107
  "humps": "^2.0.0",
108
108
  "immutable": "^3.8.1",
109
- "instructure-validations": "17.46.2-rc.0+32cd54270",
109
+ "instructure-validations": "17.46.2-rc.1+626af1e04",
110
110
  "ipaddr.js": "^1.5.4",
111
111
  "isomorphic-fetch": "^2.2.0",
112
112
  "isuuid": "^0.1.0",
@@ -156,7 +156,7 @@
156
156
  "intl": "^1.2.4",
157
157
  "jquery": "^2.2.3",
158
158
  "most-subject": "^5.3.0",
159
- "quiz-presets": "17.46.2-rc.0+32cd54270",
159
+ "quiz-presets": "17.46.2-rc.1+626af1e04",
160
160
  "react": "^16.8.6",
161
161
  "react-addons-test-utils": "^15.6.2",
162
162
  "react-dom": "^16.8.6",
@@ -172,5 +172,5 @@
172
172
  "publishConfig": {
173
173
  "access": "public"
174
174
  },
175
- "gitHead": "32cd542701006788bb96771f4bf8f6f7a8a398a0"
175
+ "gitHead": "626af1e04e57fc9ca7cc8a135f12d3c9e08bd201"
176
176
  }