a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(client): make use of the new xrpc interfaces

Mary c5a073be e8592d0c

+1 -4
+1 -4
packages/clients/client/lib/credential-manager.ts
··· 1 1 import { getPdsEndpoint, type DidDocument } from '@atcute/identity'; 2 2 import type { Did } from '@atcute/lexicons'; 3 - import type { InferXRPCBodyOutput } from '@atcute/lexicons/validations'; 4 3 5 4 import type { ComAtprotoServerCreateSession } from '@atcute/atproto'; 6 5 ··· 203 202 this.#onRefresh?.(this.session!); 204 203 } 205 204 206 - #updateSession( 207 - raw: InferXRPCBodyOutput<ComAtprotoServerCreateSession.mainSchema['output']>, 208 - ): AtpSessionData { 205 + #updateSession(raw: ComAtprotoServerCreateSession.$output): AtpSessionData { 209 206 const didDoc = raw.didDoc as DidDocument | undefined; 210 207 211 208 let pdsUri: string | undefined;