decentralised sync engine
0
fork

Configure Feed

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

refactor: rename export

serenity 3a355d4c 47814177

+3 -3
+3 -3
src/lib/utils/handshake.ts
··· 1 1 import type { AtUri, Did } from "@/lib/types/atproto"; 2 - import type { ShardSessionInfo } from "@/lib/types/handshake"; 2 + import { type ShardSessionInfo } from "@/lib/types/handshake"; 3 3 import { 4 - handshakeResponseSchema, 5 4 httpSuccessResponseSchema, 5 + shardHandshakeResponseSchema, 6 6 } from "@/lib/types/http/responses"; 7 7 import { atUriToString } from "@/lib/utils/atproto"; 8 8 import { getShardEndpointFromDid } from "@/lib/utils/gmstn"; ··· 54 54 success: handshakeDataParseSuccess, 55 55 error: handshakeDataParseError, 56 56 data: handshakeDataParsed, 57 - } = handshakeResponseSchema.safeParse(handshakeData); 57 + } = shardHandshakeResponseSchema.safeParse(handshakeData); 58 58 if (!handshakeDataParseSuccess) 59 59 return { ok: false, error: z.treeifyError(handshakeDataParseError) }; 60 60