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.

chore: fmt

Mary 97d2ef31 cd1ed4d3

+14 -21
+1 -3
packages/bluesky/richtext-segmenter/README.md
··· 20 20 const facets = [ 21 21 { 22 22 index: { byteStart: 6, byteEnd: 15 }, 23 - features: [ 24 - { $type: 'app.bsky.richtext.facet#mention', did: 'did:plc:z72i7hdynmk6r22z27h6tvur' }, 25 - ], 23 + features: [{ $type: 'app.bsky.richtext.facet#mention', did: 'did:plc:z72i7hdynmk6r22z27h6tvur' }], 26 24 }, 27 25 ]; 28 26
+7 -2
packages/clients/cache/lib/store.test.ts
··· 318 318 const result = cache.normalize(outputSchema, response); 319 319 320 320 // author should be normalized 321 - const author = cache.get(AppBskyActorDefs.profileViewBasicSchema, sampleFeedResponse.feed[0].post.author.did); 321 + const author = cache.get( 322 + AppBskyActorDefs.profileViewBasicSchema, 323 + sampleFeedResponse.feed[0].post.author.did, 324 + ); 322 325 expect(author).toBeDefined(); 323 326 expect(author?.handle).toBe('thatmc.bsky.social'); 324 327 ··· 382 385 const result1 = normalizeResponse(response1); 383 386 384 387 expect(cache.get(AppBskyFeedDefs.postViewSchema, sampleFeedResponse.feed[0].post.uri)).toBeDefined(); 385 - expect(result1.feed[0].post).toBe(cache.get(AppBskyFeedDefs.postViewSchema, sampleFeedResponse.feed[0].post.uri)); 388 + expect(result1.feed[0].post).toBe( 389 + cache.get(AppBskyFeedDefs.postViewSchema, sampleFeedResponse.feed[0].post.uri), 390 + ); 386 391 387 392 // use the same normalizer again 388 393 const response2 = structuredClone(sampleFeedResponse);
+1 -6
packages/definitions/bluesky/CHANGELOG.md
··· 295 295 get them. 296 296 297 297 ```ts 298 - import type { 299 - InferInput, 300 - InferOutput, 301 - InferXRPCBodyInput, 302 - InferXRPCBodyOutput, 303 - } from '@atcute/lexicons'; 298 + import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons'; 304 299 305 300 import type { AppBskyActorSearchActors } from '@atcute/bluesky'; 306 301
+1 -6
packages/definitions/ozone/CHANGELOG.md
··· 269 269 get them. 270 270 271 271 ```ts 272 - import type { 273 - InferInput, 274 - InferOutput, 275 - InferXRPCBodyInput, 276 - InferXRPCBodyOutput, 277 - } from '@atcute/lexicons'; 272 + import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons'; 278 273 279 274 import type { AppBskyActorSearchActors } from '@atcute/bluesky'; 280 275
+1 -2
packages/oauth/browser-client/README.md
··· 140 140 longer-lived sessions, set up a [client assertion backend][client-assertion-backend] to enable 141 141 **confidential client mode**. 142 142 143 - [client-assertion-backend]: 144 - https://github.com/bluesky-social/proposals/tree/main/0010-client-assertion-backend 143 + [client-assertion-backend]: https://github.com/bluesky-social/proposals/tree/main/0010-client-assertion-backend 145 144 146 145 add `fetchClientAssertion` to your config. the backend API is entirely up to you - this is just one 147 146 example:
+3 -2
packages/servers/xrpc-server-deno/README.md
··· 3 3 Deno WebSocket adapter for [`@atcute/xrpc-server`](../xrpc-server/). 4 4 5 5 ```sh 6 - deno add jsr:@aspect/xrpc-server-deno 6 + deno add npm:@atcute/xrpc-server-deno 7 7 ``` 8 8 9 - see the [subscriptions section](../xrpc-server/#subscriptions) in the main package for usage details. 9 + see the [subscriptions section](../xrpc-server/#subscriptions) in the main package for usage 10 + details. 10 11 11 12 ```ts 12 13 import { XRPCRouter } from '@atcute/xrpc-server';