diff --git a/packages/realm-web/CHANGELOG.md b/packages/realm-web/CHANGELOG.md index ade2bfe013..c2d8bb4f93 100644 --- a/packages/realm-web/CHANGELOG.md +++ b/packages/realm-web/CHANGELOG.md @@ -10,6 +10,7 @@ ### Fixed * Fixed app hydration to be more robust: Errors are now logged instead of thrown. ([#3549](https://github.com/realm/realm-js/pull/3549)) * Fixed a potential lock, when refreshing an access token or fetching custom user data, failed due to 401/unauthorized. An unauthorized response, during token-refresh, will now clear all the users' tokens. ([#3549](https://github.com/realm/realm-js/pull/3549)) +* Fixed user profile type, making less assumptions on the value type of custom profile data (changing from string to unknown). ([#3576](https://github.com/realm/realm-js/pull/3576), since 1.2.0) ### Internal * None diff --git a/types/app.d.ts b/types/app.d.ts index 3d9093af6a..491ee414fb 100644 --- a/types/app.d.ts +++ b/types/app.d.ts @@ -609,9 +609,9 @@ declare namespace Realm { maxAge?: string; } & { /** - * Authentication providers might store other data here. + * Authentication providers might store additional data here. */ - [key: string]: string; + [key: string]: unknown; }; /**