dce-reactkit 3.6.24 → 3.6.25

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.6.24",
3
+ "version": "3.6.25",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -346,6 +346,14 @@ const genRouteHandler = (
346
346
  ? launchInfo.userEmail
347
347
  : undefined
348
348
  );
349
+ output.userAvatarURL = (
350
+ launchInfo
351
+ ? (
352
+ launchInfo.userImage
353
+ ?? 'http://www.gravatar.com/avatar/?d=identicon'
354
+ )
355
+ : undefined
356
+ );
349
357
  output.isLearner = (
350
358
  launchInfo
351
359
  ? !!launchInfo.isLearner