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(lexicons): return literal enum error if variant is closed

Mary aafe1538 1b665da0

+6 -1
+5
.changeset/tender-guests-lick.md
··· 1 + --- 2 + '@atcute/lexicons': patch 3 + --- 4 + 5 + return literal enum error if variant is closed
+1 -1
packages/lexicons/lexicons/lib/validations/index.ts
··· 1598 1598 } 1599 1599 1600 1600 if (typeof type !== 'string') { 1601 - return ISSUE_VARIANT_TYPE; 1601 + return closed ? issue : ISSUE_VARIANT_TYPE; 1602 1602 } 1603 1603 1604 1604 const schema = map[type];