Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions packages/oauth-provider/test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ export async function createDpopProof(
* @param alg The algorithm (default: ES256)
* @returns The key pair and public JWK
*/
export async function generateDpopKeyPair(
alg: string = "ES256",
): Promise<{
export async function generateDpopKeyPair(alg: string = "ES256"): Promise<{
privateKey: CryptoKey;
publicKey: CryptoKey;
publicJwk: JsonWebKey;
Expand Down
4 changes: 1 addition & 3 deletions packages/pds/src/account-do.ts
Original file line number Diff line number Diff line change
Expand Up @@ -755,9 +755,7 @@ export class AccountDurableObject extends DurableObject<PDSEnv> {

// Lazily iterate SQLite rows — the cursor is already lazy,
// only .toArray() would materialize everything in memory.
const cursor = this.ctx.storage.sql.exec(
"SELECT cid, bytes FROM blocks",
);
const cursor = this.ctx.storage.sql.exec("SELECT cid, bytes FROM blocks");

async function* blocks(): AsyncGenerator<CarBlock> {
for (const row of cursor) {
Expand Down
Loading
Loading