Skip to content

Commit 59982f4

Browse files
authored
chore: update changeset
1 parent 1cdd8dd commit 59982f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/user-update-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
'@clerk/shared': minor
44
---
55

6-
Add `user.updateMetadata({ unsafeMetadata })` on the `UserResource`. Hits `PATCH /v1/me/metadata` with deep-merge semantics — top-level and nested keys are merged with the existing `unsafeMetadata`, and any key set to `null` is removed. Only `unsafeMetadata` is writable; `publicMetadata` and `privateMetadata` remain Backend-API only.
6+
Add `user.updateMetadata()` for updating current user's metadata attributes by merging existing values with the provided parameters.

0 commit comments

Comments
 (0)