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.

fix: multibase validation

Mary ac6b324f b0b78cd1

+4 -2
+4 -2
src/api/types/did-doc.ts
··· 5 5 const verificationMethod = v.object({ 6 6 id: v.string(), 7 7 type: v.string(), 8 - controller: v.string(), 9 - publicKeyMultibase: v.optional(v.string()), 8 + controller: didString, 9 + publicKeyMultibase: v.optional( 10 + v.pipe(v.string(), v.regex(/^z[a-km-zA-HJ-NP-Z1-9]+$|^u[a-zA-Z0-9]$/, 'must be a valid multibase value')), 11 + ), 10 12 }); 11 13 12 14 const service = v.pipe(