[SDK] Remove @atproto/api (#11386)

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 54da80dfb0
commit 9fe0084874
391 changed files with 3130 additions and 3589 deletions
@@ -1,9 +1,4 @@
import {
type AtIdentifierString,
type DidString,
type HandleString,
toDatetimeString,
} from '@atproto/syntax'
import {toDatetimeString} from '@atproto/syntax'
import {useMutation} from '@tanstack/react-query'
import {until} from '#/lib/async/until'
@@ -28,9 +23,9 @@ export function useVerificationCreateMutation() {
const {uri} = await pdsClient.create(app.bsky.graph.verification, {
// the profile view is still legacy-typed, so its strings are unbranded
subject: profile.did as DidString,
subject: profile.did,
createdAt: toDatetimeString(new Date()),
handle: profile.handle as HandleString,
handle: profile.handle,
displayName: profile.displayName || '',
})
@@ -48,7 +43,7 @@ export function useVerificationCreateMutation() {
},
() => {
return appviewClient.call(app.bsky.actor.getProfile, {
actor: (profile.did ?? '') as AtIdentifierString,
actor: profile.did ?? '',
})
},
)