@instructure/quiz-core 17.32.1-rc.0 → 17.32.1-rc.3

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.
@@ -155,6 +155,13 @@ export var SDKApp = (_dec = themeable(theme, styles), _dec(_class = (_temp = _cl
155
155
  /* eslint-disable-line react/no-unused-prop-types */
156
156
  outcomesEndpoint: PropTypes.string,
157
157
  outcomesToken: PropTypes.string,
158
+ rceConfig: PropTypes.shape({
159
+ contextId: PropTypes.string.isRequired,
160
+ contextType: PropTypes.string.isRequired,
161
+ canvasUserId: PropTypes.string.isRequired,
162
+ rcsHost: PropTypes.string.isRequired,
163
+ tokenFetchFn: PropTypes.func.isRequired
164
+ }),
158
165
  timeZone: PropTypes.string,
159
166
  translations: PropTypes.objectOf(PropTypes.shape({
160
167
  message: PropTypes.string
@@ -168,6 +175,7 @@ export var SDKApp = (_dec = themeable(theme, styles), _dec(_class = (_temp = _cl
168
175
  locale: null,
169
176
  outcomesEndpoint: null,
170
177
  outcomesToken: null,
178
+ rceConfig: null,
171
179
  translations: null,
172
180
  timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone
173
181
  }, _temp)) || _class);
@@ -183,6 +183,13 @@ var SDKApp = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_
183
183
  /* eslint-disable-line react/no-unused-prop-types */
184
184
  outcomesEndpoint: _propTypes.default.string,
185
185
  outcomesToken: _propTypes.default.string,
186
+ rceConfig: _propTypes.default.shape({
187
+ contextId: _propTypes.default.string.isRequired,
188
+ contextType: _propTypes.default.string.isRequired,
189
+ canvasUserId: _propTypes.default.string.isRequired,
190
+ rcsHost: _propTypes.default.string.isRequired,
191
+ tokenFetchFn: _propTypes.default.func.isRequired
192
+ }),
186
193
  timeZone: _propTypes.default.string,
187
194
  translations: _propTypes.default.objectOf(_propTypes.default.shape({
188
195
  message: _propTypes.default.string
@@ -196,6 +203,7 @@ var SDKApp = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_
196
203
  locale: null,
197
204
  outcomesEndpoint: null,
198
205
  outcomesToken: null,
206
+ rceConfig: null,
199
207
  translations: null,
200
208
  timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone
201
209
  }, _temp)) || _class);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.32.1-rc.0+cf2608af9",
3
+ "version": "17.32.1-rc.3+2034387c4",
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.32.1-rc.0+cf2608af9",
45
- "@instructure/quiz-i18n": "17.32.1-rc.0+cf2608af9",
46
- "@instructure/quiz-interactions": "17.32.1-rc.0+cf2608af9",
47
- "@instructure/quiz-number-input": "17.32.1-rc.0+cf2608af9",
48
- "@instructure/quiz-rce": "17.32.1-rc.0+cf2608af9",
44
+ "@instructure/quiz-common": "17.32.1-rc.3+2034387c4",
45
+ "@instructure/quiz-i18n": "17.32.1-rc.3+2034387c4",
46
+ "@instructure/quiz-interactions": "17.32.1-rc.3+2034387c4",
47
+ "@instructure/quiz-number-input": "17.32.1-rc.3+2034387c4",
48
+ "@instructure/quiz-rce": "17.32.1-rc.3+2034387c4",
49
49
  "@instructure/ui-a11y-content": "^7.11.0",
50
50
  "@instructure/ui-alerts": "^7.11.0",
51
51
  "@instructure/ui-avatar": "^7.11.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.32.1-rc.0+cf2608af9",
109
+ "instructure-validations": "17.32.1-rc.3+2034387c4",
110
110
  "ipaddr.js": "^1.5.4",
111
111
  "isomorphic-fetch": "^2.2.0",
112
112
  "isuuid": "^0.1.0",
@@ -137,7 +137,7 @@
137
137
  "uuid": "^3.2.1"
138
138
  },
139
139
  "devDependencies": {
140
- "@instructure/quiz-scripts": "17.32.1-rc.0+cf2608af9",
140
+ "@instructure/quiz-scripts": "17.32.1-rc.3+2034387c4",
141
141
  "@instructure/ui-axe-check": "^7.11.0",
142
142
  "@instructure/ui-babel-preset": "^7.11.0",
143
143
  "@instructure/ui-karma-config": "^7.11.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.32.1-rc.0+cf2608af9",
159
+ "quiz-presets": "17.32.1-rc.3+2034387c4",
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": "cf2608af9581e047bff600e1c23a1b051c1c6928"
175
+ "gitHead": "2034387c4059b155dcd5a1536b2eae02d7c79576"
176
176
  }