@lvce-editor/auth-worker 3.16.1 → 3.16.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.
@@ -2449,6 +2449,9 @@ const getAccountProfile = async (backendUrl, accessToken, fetchFn = fetch) => {
2449
2449
  throw new Error('The backend did not return an account identity.');
2450
2450
  }
2451
2451
  return {
2452
+ ...(typeof value.avatarUrl === 'string' && {
2453
+ avatarUrl: value.avatarUrl
2454
+ }),
2452
2455
  displayName: typeof value.displayName === 'string' ? value.displayName : '',
2453
2456
  email: typeof value.email === 'string' ? value.email : '',
2454
2457
  id: value.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/auth-worker",
3
- "version": "3.16.1",
3
+ "version": "3.16.2",
4
4
  "description": "Auth Worker",
5
5
  "repository": {
6
6
  "type": "git",