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.

docs: list out password-session

Mary ab5c45cd 44d00711

+7 -6
+7 -6
README.md
··· 10 10 ``` 11 11 12 12 ```ts 13 - import { Client, simpleFetchHandler } from '@atcute/client'; 14 - import type {} from '@atcute/bluesky'; 13 + import { Client, simpleFetchHandler } from "@atcute/client"; 14 + import type {} from "@atcute/bluesky"; 15 15 16 16 const client = new Client({ 17 - handler: simpleFetchHandler({ service: 'https://public.api.bsky.app' }), 17 + handler: simpleFetchHandler({ service: "https://public.api.bsky.app" }), 18 18 }); 19 19 20 - const { data } = await client.get('app.bsky.actor.getProfile', { 21 - params: { actor: 'bsky.app' }, 20 + const { data } = await client.get("app.bsky.actor.getProfile", { 21 + params: { actor: "bsky.app" }, 22 22 }); 23 23 24 24 console.log(data.displayName); ··· 33 33 | Packages | 34 34 | ----------------------------------------------------------------------------------------------------------- | 35 35 | **Client packages** | 36 + | [`cache`](./packages/clients/cache): normalized cache store | 36 37 | [`client`](./packages/clients/client): XRPC HTTP client | 37 38 | [`firehose`](./packages/clients/firehose): XRPC subscription client | 38 39 | [`jetstream`](./packages/clients/jetstream): Jetstream WebSocket client | 40 + | [`password-session`](./packages/clients/password-session): password-based auth session handler | 39 41 | [`tap`](./packages/clients/tap): Tap WebSocket client | 40 - | [`cache`](./packages/clients/cache): normalized cache store | 41 42 | **Server packages** | 42 43 | [`xrpc-server`](./packages/servers/xrpc-server): XRPC web framework | 43 44 | [`xrpc-server-bun`](./packages/servers/xrpc-server-bun): Bun WebSocket adapter |