[SDK] Validate and brand the persisted account did (#11387)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-13 22:26:22 +03:00
committed by GitHub
parent 9fe0084874
commit 3677c98873
46 changed files with 154 additions and 205 deletions
@@ -124,7 +124,7 @@ function GermSelfButton({did}: {did: string}) {
const {mutate: deleteDeclaration, isPending} = useMutation({
mutationFn: async () => {
const previousRecord = await pdsClient
// the profile view is still legacy-typed, so its did is unbranded
// the component takes the did as a plain string prop
.get(com.germnetwork.declaration, {
repo: did as DidString,
rkey: 'self',