handy online tools for AT Protocol boat.kelinci.net
atproto bluesky atcute typescript solidjs
20
fork

Configure Feed

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

refactor: faster did:key check

Mary c9e85fdf 64d014f3

+1 -1
+1 -1
src/api/types/strings.ts
··· 24 24 25 25 export const didKeyString = v.pipe( 26 26 v.string(), 27 - v.check((str) => str.startsWith('did:key:')), 27 + v.check((str) => str.length >= 9 && str.startsWith('did:key:')), 28 28 );