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.

refactor(cache): clone the entire array

Mary 34179d7b 4011a00d

+3 -4
+3 -4
packages/clients/cache/lib/walker.ts
··· 183 183 184 184 if (walked !== item) { 185 185 if (next === undefined) { 186 - next = prev.slice(0, i); 186 + next = prev.slice(); 187 187 } 188 - next.push(walked); 189 - } else if (next !== undefined) { 190 - next.push(walked); 188 + 189 + next[i] = walked; 191 190 } 192 191 } 193 192