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.

fix(identity): mark `@context` as optional

fixes https://github.com/mary-ext/atcute/issues/66

Mary dd9b89a5 65044698

+7 -2
+5
.changeset/funky-carpets-rush.md
··· 1 + --- 2 + '@atcute/identity': patch 3 + --- 4 + 5 + mark `@context` as optional
+1 -1
packages/identity/identity/lib/typedefs.ts
··· 66 66 67 67 export const didDocument: v.Type<t.DidDocument> = v 68 68 .object({ 69 - '@context': v.array(rfc3968UriSchema), 69 + '@context': v.array(rfc3968UriSchema).optional(), 70 70 71 71 id: didString, 72 72
+1 -1
packages/identity/identity/lib/types.ts
··· 15 15 } 16 16 17 17 export interface DidDocument { 18 - '@context': string[]; 18 + '@context'?: string[]; 19 19 id: Did; 20 20 controller?: Did | Did[]; 21 21 alsoKnownAs?: string[];