[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
@@ -75,7 +75,6 @@ export function StarterPackCard({
let followUris: Map<string, string>
try {
followUris = await bulkWriteFollows(pdsClient, appviewClient, dids, {
// the starter pack view is still legacy-typed
uri: view.uri,
cid: view.cid,
})
+1 -1
View File
@@ -21,7 +21,7 @@ export async function bulkWriteFollows(
const followRecords: $Typed<app.bsky.graph.follow.Main>[] = dids.map(did => {
return {
$type: 'app.bsky.graph.follow',
// callers hold plain dids read off legacy-typed views
// the helper takes the dids as plain strings
subject: did as DidString,
createdAt: toDatetimeString(new Date()),
via,