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 a72b6f62 b1d6c826

+2 -4
+1
packages/bluesky/richtext-segmenter/lib/index.bench.ts
··· 1 1 import type { AppBskyRichtextFacet } from '@atcute/bluesky'; 2 + 2 3 import { bench, run } from 'mitata'; 3 4 4 5 import { segmentize } from './index.ts';
+1 -4
packages/servers/xrpc-server/lib/auth/jwt-verifier.ts
··· 256 256 // prevent issuers from minting very long-lived tokens: the configured max-age 257 257 // window bounds how far `exp` can be in the future and how far `iat` can be in 258 258 // the past. 259 - if ( 260 - payload.exp - now > this.maxAge || 261 - (payload.iat !== undefined && now - payload.iat > this.maxAge) 262 - ) { 259 + if (payload.exp - now > this.maxAge || (payload.iat !== undefined && now - payload.iat > this.maxAge)) { 263 260 return { 264 261 ok: false, 265 262 error: {