@bbthorson/atproto-cf-auth 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +133 -0
- package/dist/client.d.ts +68 -0
- package/dist/client.js +109 -0
- package/dist/client.js.map +1 -0
- package/dist/element.d.ts +5 -0
- package/dist/element.js +205 -0
- package/dist/element.js.map +1 -0
- package/dist/server/auth.d.ts +62 -0
- package/dist/server/auth.js +285 -0
- package/dist/server/auth.js.map +1 -0
- package/dist/server/cookies.d.ts +10 -0
- package/dist/server/cookies.js +30 -0
- package/dist/server/cookies.js.map +1 -0
- package/dist/server/index.d.ts +7 -0
- package/dist/server/index.js +6 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/runtime.d.ts +16 -0
- package/dist/server/runtime.js +53 -0
- package/dist/server/runtime.js.map +1 -0
- package/dist/server/seal.d.ts +16 -0
- package/dist/server/seal.js +51 -0
- package/dist/server/seal.js.map +1 -0
- package/dist/server/stores/d1.d.ts +22 -0
- package/dist/server/stores/d1.js +49 -0
- package/dist/server/stores/d1.js.map +1 -0
- package/dist/server/stores/kv.d.ts +18 -0
- package/dist/server/stores/kv.js +22 -0
- package/dist/server/stores/kv.js.map +1 -0
- package/dist/server/stores/memory.d.ts +6 -0
- package/dist/server/stores/memory.js +26 -0
- package/dist/server/stores/memory.js.map +1 -0
- package/dist/server/stores/types.d.ts +13 -0
- package/dist/server/stores/types.js +2 -0
- package/dist/server/stores/types.js.map +1 -0
- package/dist/shared.d.ts +41 -0
- package/dist/shared.js +74 -0
- package/dist/shared.js.map +1 -0
- package/package.json +63 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workers KV. Simple and free of schema, but eventually consistent: a write can
|
|
3
|
+
* take up to a minute to be visible from other locations. A sign-in usually
|
|
4
|
+
* starts and finishes at the same location, so this mostly works; prefer
|
|
5
|
+
* `d1Store` when you have a D1 database anyway.
|
|
6
|
+
*/
|
|
7
|
+
export function kvStore(kv, options = {}) {
|
|
8
|
+
const prefix = options.prefix ?? "bsky-auth:";
|
|
9
|
+
return {
|
|
10
|
+
async get(key) {
|
|
11
|
+
return (await kv.get(prefix + key)) ?? undefined;
|
|
12
|
+
},
|
|
13
|
+
async set(key, value, ttlSeconds) {
|
|
14
|
+
// KV's minimum expirationTtl is 60 seconds.
|
|
15
|
+
await kv.put(prefix + key, value, { expirationTtl: Math.max(60, Math.ceil(ttlSeconds)) });
|
|
16
|
+
},
|
|
17
|
+
async delete(key) {
|
|
18
|
+
await kv.delete(prefix + key);
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=kv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kv.js","sourceRoot":"","sources":["../../../src/server/stores/kv.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,MAAM,UAAU,OAAO,CAAC,EAAmB,EAAE,UAA+B,EAAE;IAC5E,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,YAAY,CAAC;IAC9C,OAAO;QACL,KAAK,CAAC,GAAG,CAAC,GAAG;YACX,OAAO,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,IAAI,SAAS,CAAC;QACnD,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,UAAU;YAC9B,4CAA4C;YAC5C,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,GAAG,EAAE,KAAK,EAAE,EAAE,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5F,CAAC;QACD,KAAK,CAAC,MAAM,CAAC,GAAG;YACd,MAAM,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC;QAChC,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AuthStore } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* For tests and single-process local development only. On Workers each
|
|
4
|
+
* isolate has its own memory, so sessions would vanish between requests.
|
|
5
|
+
*/
|
|
6
|
+
export declare function memoryStore(now?: () => number): AuthStore;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* For tests and single-process local development only. On Workers each
|
|
3
|
+
* isolate has its own memory, so sessions would vanish between requests.
|
|
4
|
+
*/
|
|
5
|
+
export function memoryStore(now = Date.now) {
|
|
6
|
+
const map = new Map();
|
|
7
|
+
return {
|
|
8
|
+
async get(key) {
|
|
9
|
+
const hit = map.get(key);
|
|
10
|
+
if (!hit)
|
|
11
|
+
return undefined;
|
|
12
|
+
if (hit.expiresAt <= now()) {
|
|
13
|
+
map.delete(key);
|
|
14
|
+
return undefined;
|
|
15
|
+
}
|
|
16
|
+
return hit.value;
|
|
17
|
+
},
|
|
18
|
+
async set(key, value, ttlSeconds) {
|
|
19
|
+
map.set(key, { value, expiresAt: now() + ttlSeconds * 1000 });
|
|
20
|
+
},
|
|
21
|
+
async delete(key) {
|
|
22
|
+
map.delete(key);
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=memory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../../src/server/stores/memory.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,MAAoB,IAAI,CAAC,GAAG;IACtD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAgD,CAAC;IACpE,OAAO;QACL,KAAK,CAAC,GAAG,CAAC,GAAG;YACX,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACzB,IAAI,CAAC,GAAG;gBAAE,OAAO,SAAS,CAAC;YAC3B,IAAI,GAAG,CAAC,SAAS,IAAI,GAAG,EAAE,EAAE,CAAC;gBAC3B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAChB,OAAO,SAAS,CAAC;YACnB,CAAC;YACD,OAAO,GAAG,CAAC,KAAK,CAAC;QACnB,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,UAAU;YAC9B,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,UAAU,GAAG,IAAI,EAAE,CAAC,CAAC;QAChE,CAAC;QACD,KAAK,CAAC,MAAM,CAAC,GAAG;YACd,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAClB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where sign-in state lives. Deliberately a tiny key/value contract: the auth
|
|
3
|
+
* core seals every value before it gets here and checks expiry on the way out,
|
|
4
|
+
* so an adapter only has to store strings and may drop them after `ttlSeconds`.
|
|
5
|
+
*
|
|
6
|
+
* Keys are namespaced by the core (`state:`, `oauth:`, `sid:`), so one table or
|
|
7
|
+
* namespace can be shared with nothing else needing to know.
|
|
8
|
+
*/
|
|
9
|
+
export interface AuthStore {
|
|
10
|
+
get(key: string): Promise<string | undefined>;
|
|
11
|
+
set(key: string, value: string, ttlSeconds: number): Promise<void>;
|
|
12
|
+
delete(key: string): Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/server/stores/types.ts"],"names":[],"mappings":""}
|
package/dist/shared.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pieces both halves need: the error vocabulary that travels from the server
|
|
3
|
+
* to the browser (as JSON or as `?auth_error=` on a redirect), and the shape of
|
|
4
|
+
* a signed-in user.
|
|
5
|
+
*/
|
|
6
|
+
export interface User {
|
|
7
|
+
/** The durable identity. Key everything on this, never on the handle. */
|
|
8
|
+
did: string;
|
|
9
|
+
/** Resolved at sign-in. Handles can change; refresh it if you display it long-term. */
|
|
10
|
+
handle?: string;
|
|
11
|
+
/** ISO timestamp of the sign-in that created this session. */
|
|
12
|
+
signedInAt: string;
|
|
13
|
+
}
|
|
14
|
+
export type AuthErrorCode = "invalid_handle" | "handle_not_found" | "authorize_failed" | "access_denied" | "callback_failed" | "browser_mismatch" | "use_loopback_ip" | "not_configured" | "network_error";
|
|
15
|
+
/** Default English copy. Apps with their own voice can map codes themselves. */
|
|
16
|
+
export declare const AUTH_ERROR_MESSAGES: Readonly<Record<AuthErrorCode, string>>;
|
|
17
|
+
export declare function isAuthErrorCode(value: unknown): value is AuthErrorCode;
|
|
18
|
+
export declare class AuthError extends Error {
|
|
19
|
+
readonly code: AuthErrorCode;
|
|
20
|
+
constructor(code: AuthErrorCode, message?: string);
|
|
21
|
+
}
|
|
22
|
+
/** The query parameter a failed sign-in redirect carries back to the app. */
|
|
23
|
+
export declare const AUTH_ERROR_PARAM = "auth_error";
|
|
24
|
+
/**
|
|
25
|
+
* Turn what someone typed into a handle or DID the server can resolve.
|
|
26
|
+
*
|
|
27
|
+
* Strips a leading `@`, whitespace and invisible characters that come along
|
|
28
|
+
* when a handle is pasted from a profile, and lowercases it. A bare name with no
|
|
29
|
+
* dot gets `.bsky.social` appended, which is what Bluesky's own app does.
|
|
30
|
+
* Pass `defaultDomain: null` to turn that off.
|
|
31
|
+
*/
|
|
32
|
+
export declare function normalizeHandle(input: string, options?: {
|
|
33
|
+
defaultDomain?: string | null;
|
|
34
|
+
}): string;
|
|
35
|
+
/** True for a syntactically valid handle or a did:plc / did:web. Run after `normalizeHandle`. */
|
|
36
|
+
export declare function isValidHandle(value: string): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Only same-site paths may be used as a post-sign-in destination; anything
|
|
39
|
+
* else would make the sign-in flow an open redirect.
|
|
40
|
+
*/
|
|
41
|
+
export declare function safeReturnTo(value: unknown): string | undefined;
|
package/dist/shared.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pieces both halves need: the error vocabulary that travels from the server
|
|
3
|
+
* to the browser (as JSON or as `?auth_error=` on a redirect), and the shape of
|
|
4
|
+
* a signed-in user.
|
|
5
|
+
*/
|
|
6
|
+
/** Default English copy. Apps with their own voice can map codes themselves. */
|
|
7
|
+
export const AUTH_ERROR_MESSAGES = {
|
|
8
|
+
invalid_handle: "That doesn't look like a Bluesky handle. Try something like you.bsky.social.",
|
|
9
|
+
handle_not_found: "We couldn't find that handle. Double-check it and try again.",
|
|
10
|
+
authorize_failed: "Your Bluesky server didn't respond. Try again in a moment.",
|
|
11
|
+
access_denied: "Sign-in was cancelled.",
|
|
12
|
+
callback_failed: "Sign-in didn't finish. Please try again.",
|
|
13
|
+
browser_mismatch: "Sign-in was started in a different browser or tab. Please start again here.",
|
|
14
|
+
use_loopback_ip: "For local development, open this app at 127.0.0.1 instead of localhost.",
|
|
15
|
+
not_configured: "Sign-in isn't set up on this server yet.",
|
|
16
|
+
network_error: "We couldn't reach the server. Check your connection and try again.",
|
|
17
|
+
};
|
|
18
|
+
export function isAuthErrorCode(value) {
|
|
19
|
+
return typeof value === "string" && Object.prototype.hasOwnProperty.call(AUTH_ERROR_MESSAGES, value);
|
|
20
|
+
}
|
|
21
|
+
export class AuthError extends Error {
|
|
22
|
+
code;
|
|
23
|
+
constructor(code, message = AUTH_ERROR_MESSAGES[code]) {
|
|
24
|
+
super(message);
|
|
25
|
+
this.code = code;
|
|
26
|
+
this.name = "AuthError";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/** The query parameter a failed sign-in redirect carries back to the app. */
|
|
30
|
+
export const AUTH_ERROR_PARAM = "auth_error";
|
|
31
|
+
/**
|
|
32
|
+
* Turn what someone typed into a handle or DID the server can resolve.
|
|
33
|
+
*
|
|
34
|
+
* Strips a leading `@`, whitespace and invisible characters that come along
|
|
35
|
+
* when a handle is pasted from a profile, and lowercases it. A bare name with no
|
|
36
|
+
* dot gets `.bsky.social` appended, which is what Bluesky's own app does.
|
|
37
|
+
* Pass `defaultDomain: null` to turn that off.
|
|
38
|
+
*/
|
|
39
|
+
export function normalizeHandle(input, options = {}) {
|
|
40
|
+
const defaultDomain = options.defaultDomain === undefined ? "bsky.social" : options.defaultDomain;
|
|
41
|
+
let value = input
|
|
42
|
+
.normalize("NFKC")
|
|
43
|
+
.replace(/[--]/g, "")
|
|
44
|
+
.trim()
|
|
45
|
+
.replace(/^@/, "");
|
|
46
|
+
if (value.startsWith("did:"))
|
|
47
|
+
return value;
|
|
48
|
+
value = value.toLowerCase();
|
|
49
|
+
if (value && !value.includes(".") && defaultDomain)
|
|
50
|
+
value = `${value}.${defaultDomain}`;
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
// https://atproto.com/specs/handle — labels of 1–63 chars, letters/digits/hyphens,
|
|
54
|
+
// TLD starts with a letter, 253 chars total.
|
|
55
|
+
const HANDLE_RE = /^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/;
|
|
56
|
+
const DID_RE = /^did:(plc|web):[a-zA-Z0-9._:%-]+$/;
|
|
57
|
+
/** True for a syntactically valid handle or a did:plc / did:web. Run after `normalizeHandle`. */
|
|
58
|
+
export function isValidHandle(value) {
|
|
59
|
+
if (value.startsWith("did:"))
|
|
60
|
+
return DID_RE.test(value);
|
|
61
|
+
return value.length <= 253 && HANDLE_RE.test(value);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Only same-site paths may be used as a post-sign-in destination; anything
|
|
65
|
+
* else would make the sign-in flow an open redirect.
|
|
66
|
+
*/
|
|
67
|
+
export function safeReturnTo(value) {
|
|
68
|
+
if (typeof value !== "string" || !value.startsWith("/"))
|
|
69
|
+
return undefined;
|
|
70
|
+
if (value.startsWith("//") || value.includes("\\") || /[\u0000-\u001f]/.test(value))
|
|
71
|
+
return undefined;
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsBH,gFAAgF;AAChF,MAAM,CAAC,MAAM,mBAAmB,GAA4C;IAC1E,cAAc,EAAE,8EAA8E;IAC9F,gBAAgB,EAAE,8DAA8D;IAChF,gBAAgB,EAAE,4DAA4D;IAC9E,aAAa,EAAE,wBAAwB;IACvC,eAAe,EAAE,0CAA0C;IAC3D,gBAAgB,EAAE,6EAA6E;IAC/F,eAAe,EAAE,yEAAyE;IAC1F,cAAc,EAAE,0CAA0C;IAC1D,aAAa,EAAE,oEAAoE;CACpF,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AACvG,CAAC;AAED,MAAM,OAAO,SAAU,SAAQ,KAAK;IAEvB;IADX,YACW,IAAmB,EAC5B,UAAkB,mBAAmB,CAAC,IAAI,CAAC;QAE3C,KAAK,CAAC,OAAO,CAAC,CAAC;QAHN,SAAI,GAAJ,IAAI,CAAe;QAI5B,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;IAC1B,CAAC;CACF;AAED,6EAA6E;AAC7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAAC,KAAa,EAAE,UAA6C,EAAE;IAC5F,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IAClG,IAAI,KAAK,GAAG,KAAK;SACd,SAAS,CAAC,MAAM,CAAC;SACjB,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC;SAC1B,IAAI,EAAE;SACN,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACrB,IAAI,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,KAAK,CAAC;IAC3C,KAAK,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC;IAC5B,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,aAAa;QAAE,KAAK,GAAG,GAAG,KAAK,IAAI,aAAa,EAAE,CAAC;IACxF,OAAO,KAAK,CAAC;AACf,CAAC;AAED,mFAAmF;AACnF,6CAA6C;AAC7C,MAAM,SAAS,GACb,0EAA0E,CAAC;AAC7E,MAAM,MAAM,GAAG,mCAAmC,CAAC;AAEnD,iGAAiG;AACjG,MAAM,UAAU,aAAa,CAAC,KAAa;IACzC,IAAI,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACxD,OAAO,KAAK,CAAC,MAAM,IAAI,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACtD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,KAAc;IACzC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IAC1E,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IACtG,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bbthorson/atproto-cf-auth",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Bluesky (AT-Proto OAuth) sign-in for apps on Cloudflare Workers: server handlers, D1/KV session stores, and framework-free browser primitives.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/bbthorson/atproto-cf-auth.git"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": [
|
|
12
|
+
"./dist/element.js"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
"./server": {
|
|
16
|
+
"types": "./dist/server/index.d.ts",
|
|
17
|
+
"default": "./dist/server/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./client": {
|
|
20
|
+
"types": "./dist/client.d.ts",
|
|
21
|
+
"default": "./dist/client.js"
|
|
22
|
+
},
|
|
23
|
+
"./element": {
|
|
24
|
+
"types": "./dist/element.d.ts",
|
|
25
|
+
"default": "./dist/element.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
35
|
+
"typecheck": "tsc --noEmit",
|
|
36
|
+
"test": "vitest run",
|
|
37
|
+
"prepublishOnly": "npm run typecheck && npm test && npm run build"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@atproto/jwk-jose": "^0.2.4",
|
|
41
|
+
"@atproto/oauth-client": "^0.8.9"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/node": "^22.10.5",
|
|
45
|
+
"happy-dom": "^20.0.0",
|
|
46
|
+
"typescript": "^5.7.2",
|
|
47
|
+
"vitest": "^3.2.4"
|
|
48
|
+
},
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=22"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"bluesky",
|
|
54
|
+
"atproto",
|
|
55
|
+
"oauth",
|
|
56
|
+
"cloudflare-workers",
|
|
57
|
+
"d1",
|
|
58
|
+
"web-component"
|
|
59
|
+
],
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public"
|
|
62
|
+
}
|
|
63
|
+
}
|