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(identity-resolver): set `cache` to undefined instead of default

Mary 90f75048 fcfe6d10

+14 -7
+7
.changeset/slow-planets-chew.md
··· 1 + --- 2 + '@atcute/identity-resolver': patch 3 + --- 4 + 5 + set `cache` to undefined instead of default 6 + 7 + for some reason, Cloudflare Workers complains about this, fine, have it your way.
+1 -1
packages/identity/identity-resolver/lib/did/methods/plc.ts
··· 36 36 37 37 const response = await (0, this.#fetch)(url, { 38 38 signal: options?.signal, 39 - cache: options?.noCache ? 'no-cache' : 'default', 39 + cache: options?.noCache ? 'no-cache' : undefined, 40 40 redirect: 'error', 41 41 headers: { accept: 'application/did+ld+json,application/json' }, 42 42 });
+2 -2
packages/identity/identity-resolver/lib/did/methods/web.ts
··· 30 30 31 31 const response = await (0, this.#fetch)(url, { 32 32 signal: options?.signal, 33 - cache: options?.noCache ? 'no-cache' : 'default', 33 + cache: options?.noCache ? 'no-cache' : undefined, 34 34 redirect: 'error', 35 35 headers: { accept: 'application/did+ld+json,application/json' }, 36 36 }); ··· 75 75 try { 76 76 const response = await (0, this.#fetch)(url, { 77 77 signal: options?.signal, 78 - cache: options?.noCache ? 'no-cache' : 'default', 78 + cache: options?.noCache ? 'no-cache' : undefined, 79 79 redirect: 'error', 80 80 headers: { accept: 'application/did+ld+json,application/json' }, 81 81 });
+1 -1
packages/identity/identity-resolver/lib/did/methods/xrpc.ts
··· 42 42 43 43 const response = await (0, this.#fetch)(url, { 44 44 signal: options?.signal, 45 - cache: options?.noCache ? 'no-cache' : 'default', 45 + cache: options?.noCache ? 'no-cache' : undefined, 46 46 headers: { accept: 'application/json' }, 47 47 }); 48 48
+1 -1
packages/identity/identity-resolver/lib/handle/methods/doh-json.ts
··· 86 86 87 87 const response = await (0, this.#fetch)(url, { 88 88 signal: options?.signal, 89 - cache: options?.noCache ? 'no-cache' : 'default', 89 + cache: options?.noCache ? 'no-cache' : undefined, 90 90 headers: { accept: 'application/dns-json' }, 91 91 }); 92 92
+1 -1
packages/identity/identity-resolver/lib/handle/methods/well-known.ts
··· 26 26 27 27 const response = await (0, this.#fetch)(url, { 28 28 signal: options?.signal, 29 - cache: options?.noCache ? 'no-cache' : 'default', 29 + cache: options?.noCache ? 'no-cache' : undefined, 30 30 redirect: 'error', 31 31 }); 32 32
+1 -1
packages/identity/identity-resolver/lib/handle/methods/xrpc.ts
··· 46 46 47 47 const response = await (0, this.#fetch)(url, { 48 48 signal: options?.signal, 49 - cache: options?.noCache ? 'no-cache' : 'default', 49 + cache: options?.noCache ? 'no-cache' : undefined, 50 50 headers: { accept: 'application/json' }, 51 51 }); 52 52