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(bluesky-threading): incorrect clockid randomness

Mary 6ba553fd 4bd4ff04

+6 -1
+5
.changeset/swift-rocks-cheat.md
··· 1 + --- 2 + '@atcute/bluesky-threading': patch 3 + --- 4 + 5 + fix incorrect clockid randomness
+1 -1
packages/bluesky/threading/lib/index.ts
··· 114 114 115 115 for (let idx = 0, len = posts.length; idx < len; idx++) { 116 116 // Get the record key for this post 117 - rkey = TID.createRaw(now.getTime(), Math.floor(Math.random() * 1023)); 117 + rkey = TID.createRaw(now.getTime(), Math.floor(Math.random() * 1024)); 118 118 119 119 const post = posts[idx]; 120 120 const uri: CanonicalResourceUri = `at://${did}/app.bsky.feed.post/${rkey}`;