@dotdo/oauth 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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
package/package.json ADDED
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "@dotdo/oauth",
3
+ "version": "0.1.0",
4
+ "description": "OAuth 2.1 server implementation for MCP - the leaf package with zero dependencies on @dotdo/do or oauth.do",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./server": {
15
+ "types": "./dist/server.d.ts",
16
+ "import": "./dist/server.js"
17
+ },
18
+ "./storage": {
19
+ "types": "./dist/storage.d.ts",
20
+ "import": "./dist/storage.js"
21
+ },
22
+ "./pkce": {
23
+ "types": "./dist/pkce.d.ts",
24
+ "import": "./dist/pkce.js"
25
+ }
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "scripts": {
31
+ "build": "tsc",
32
+ "check": "tsc --noEmit",
33
+ "clean": "rm -rf dist",
34
+ "prepublishOnly": "pnpm run clean && pnpm run build",
35
+ "test": "vitest run",
36
+ "test:watch": "vitest"
37
+ },
38
+ "keywords": [
39
+ "oauth",
40
+ "oauth2",
41
+ "oauth2.1",
42
+ "mcp",
43
+ "model-context-protocol",
44
+ "authentication",
45
+ "authorization",
46
+ "cloudflare-workers",
47
+ "hono"
48
+ ],
49
+ "author": "Nathan Clevenger",
50
+ "license": "MIT",
51
+ "homepage": "https://oauth.do",
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "git+https://github.com/drivly/oauth.do.git",
55
+ "directory": "core"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public",
59
+ "registry": "https://registry.npmjs.org/"
60
+ },
61
+ "dependencies": {
62
+ "hono": "^4.7.0"
63
+ },
64
+ "devDependencies": {
65
+ "@cloudflare/workers-types": "^4.20250124.0",
66
+ "typescript": "^5.7.0",
67
+ "vitest": "^3.0.0"
68
+ },
69
+ "peerDependencies": {
70
+ "hono": ">=4.0.0"
71
+ },
72
+ "prettier": {
73
+ "semi": false,
74
+ "singleQuote": true,
75
+ "jsxSingleQuote": true,
76
+ "tabWidth": 2,
77
+ "printWidth": 160
78
+ }
79
+ }