Skip to content

Commit 0c5eed2

Browse files
committed
chore(changeset): declare the added locale key and error status as widening
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nwxuShQ1A7T6jAiLn
1 parent 2c55521 commit 0c5eed2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎.changeset/33650-invitation-refusal-copy.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'@object-ui/i18n': patch
55
---
66

7-
Clause-②: no
7+
Clause-②: yes (widening)
88
Metadata-protocol: none
99

1010
Organization invitation refusals now read in the console's language. Opening an
@@ -16,3 +16,9 @@ says the invitation may already have been used and where an accepted
1616
invitation's organization is. Inviting someone who is already a member shows a
1717
translated sentence instead of "User is already a member of this organization".
1818
Errors thrown by `@object-ui/auth` now also carry the HTTP `status`.
19+
20+
Widening, nothing removed or narrowed: `@object-ui/i18n` gains the key
21+
`organization.errors.alreadyMember` in all eleven locale packs (and rewords
22+
`organization.errors.invitationNotFound`), and errors thrown by
23+
`@object-ui/auth` gain a numeric `status` property beside the existing
24+
`message` and `code`.

0 commit comments

Comments
 (0)