oauth.do 0.2.1 → 0.2.2

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/package.json CHANGED
@@ -1,154 +1,152 @@
1
1
  {
2
- "name": "oauth.do",
3
- "version": "0.2.1",
4
- "description": "OAuth authentication SDK, React components, and Hono middleware for org.ai identity",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "bin": {
9
- "oauth.do": "./dist/cli.js",
10
- "duckdb-auth": "./bin/duckdb-auth"
11
- },
12
- "exports": {
13
- ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.js",
17
- "default": "./dist/index.js"
18
- },
19
- "./node": {
20
- "types": "./dist/node.d.ts",
21
- "import": "./dist/node.js",
22
- "require": "./dist/node.js",
23
- "default": "./dist/node.js"
24
- },
25
- "./react": {
26
- "types": "./dist/react.d.ts",
27
- "import": "./dist/react.js",
28
- "require": "./dist/react.js",
29
- "default": "./dist/react.js"
30
- },
31
- "./hono": {
32
- "types": "./dist/hono.d.ts",
33
- "import": "./dist/hono.js",
34
- "require": "./dist/hono.js",
35
- "default": "./dist/hono.js"
36
- },
37
- "./types": {
38
- "types": "./dist/types-export.d.ts",
39
- "import": "./dist/types-export.js"
40
- },
41
- "./session": {
42
- "types": "./dist/session.d.ts",
43
- "import": "./dist/session.js"
44
- },
45
- "./mdx/*": "./src/mdx/*"
46
- },
47
- "files": [
48
- "dist",
49
- "bin",
50
- "src/mdx",
51
- "README.md",
52
- "LICENSE"
53
- ],
54
- "scripts": {
55
- "build": "tsup",
56
- "dev": "tsup --watch",
57
- "test": "vitest run",
58
- "test:watch": "vitest",
59
- "check:publish": "node -e \"const pkg = require('./package.json'); const deps = JSON.stringify(pkg.dependencies || {}); if (deps.includes('workspace:')) { console.error('ERROR: workspace: protocol found in dependencies. Replace with actual versions before publishing.'); process.exit(1); }\"",
60
- "prepublishOnly": "pnpm check:publish && pnpm build && pnpm test"
61
- },
62
- "keywords": [
63
- "oauth",
64
- "authentication",
65
- "auth",
66
- "login",
67
- "identity",
68
- "cli",
69
- "sdk",
70
- "org-ai",
71
- "workos",
72
- "authkit",
73
- "react",
74
- "hono"
75
- ],
76
- "author": {
77
- "name": "org.ai",
78
- "email": "npm@org.ai",
79
- "url": "https://org.ai"
80
- },
81
- "license": "MIT",
82
- "repository": {
83
- "type": "git",
84
- "url": "git+https://github.com/dot-do/oauth.do.git"
85
- },
86
- "bugs": {
87
- "url": "https://github.com/dot-do/oauth.do/issues"
88
- },
89
- "homepage": "https://oauth.do",
90
- "engines": {
91
- "node": ">=18.0.0"
92
- },
93
- "dependencies": {
94
- "open": "^10.1.0"
95
- },
96
- "optionalDependencies": {
97
- "keytar": "^7.9.0"
98
- },
99
- "peerDependencies": {
100
- "@radix-ui/themes": ">=3.0.0",
101
- "@tanstack/react-query": ">=5.0.0",
102
- "@workos-inc/authkit-react": ">=0.5.0",
103
- "@workos-inc/widgets": ">=1.0.0",
104
- "hono": ">=4.0.0",
105
- "jose": ">=5.0.0",
106
- "react": ">=18.0.0",
107
- "react-dom": ">=18.0.0"
108
- },
109
- "peerDependenciesMeta": {
110
- "@radix-ui/themes": {
111
- "optional": true
112
- },
113
- "@tanstack/react-query": {
114
- "optional": true
115
- },
116
- "@workos-inc/authkit-react": {
117
- "optional": true
118
- },
119
- "@workos-inc/widgets": {
120
- "optional": true
121
- },
122
- "hono": {
123
- "optional": true
124
- },
125
- "jose": {
126
- "optional": true
127
- },
128
- "react": {
129
- "optional": true
130
- },
131
- "react-dom": {
132
- "optional": true
133
- }
134
- },
135
- "devDependencies": {
136
- "@radix-ui/themes": "^3.0.0",
137
- "@tanstack/react-query": "^5.0.0",
138
- "@testing-library/jest-dom": "^6.9.1",
139
- "@testing-library/react": "^16.3.2",
140
- "@types/node": "^24.10.1",
141
- "@types/react": "^18.2.0",
142
- "@types/react-dom": "^18.2.0",
143
- "@workos-inc/authkit-react": "^0.16.0",
144
- "@workos-inc/widgets": "^1.0.0",
145
- "hono": "^4.0.0",
146
- "jose": "^5.0.0",
147
- "jsdom": "^27.4.0",
148
- "react": "^18.2.0",
149
- "react-dom": "^18.2.0",
150
- "tsup": "^8.0.0",
151
- "typescript": "^5.5.2",
152
- "vitest": "^2.1.8"
153
- }
2
+ "name": "oauth.do",
3
+ "version": "0.2.2",
4
+ "description": "OAuth authentication SDK, React components, and Hono middleware for org.ai identity",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "bin": {
9
+ "oauth.do": "./dist/cli.js",
10
+ "duckdb-auth": "./bin/duckdb-auth"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.js",
17
+ "default": "./dist/index.js"
18
+ },
19
+ "./node": {
20
+ "types": "./dist/node.d.ts",
21
+ "import": "./dist/node.js",
22
+ "require": "./dist/node.js",
23
+ "default": "./dist/node.js"
24
+ },
25
+ "./react": {
26
+ "types": "./dist/react.d.ts",
27
+ "import": "./dist/react.js",
28
+ "require": "./dist/react.js",
29
+ "default": "./dist/react.js"
30
+ },
31
+ "./hono": {
32
+ "types": "./dist/hono.d.ts",
33
+ "import": "./dist/hono.js",
34
+ "require": "./dist/hono.js",
35
+ "default": "./dist/hono.js"
36
+ },
37
+ "./types": {
38
+ "types": "./dist/types-export.d.ts",
39
+ "import": "./dist/types-export.js"
40
+ },
41
+ "./session": {
42
+ "types": "./dist/session.d.ts",
43
+ "import": "./dist/session.js"
44
+ },
45
+ "./mdx/*": "./src/mdx/*"
46
+ },
47
+ "files": [
48
+ "dist",
49
+ "bin",
50
+ "src/mdx",
51
+ "README.md",
52
+ "LICENSE"
53
+ ],
54
+ "scripts": {
55
+ "build": "tsup",
56
+ "dev": "tsup --watch",
57
+ "test": "vitest run",
58
+ "test:watch": "vitest",
59
+ "check:publish": "node -e \"const pkg = require('./package.json'); const deps = JSON.stringify(pkg.dependencies || {}); if (deps.includes('workspace:')) { console.error('ERROR: workspace: protocol found in dependencies. Replace with actual versions before publishing.'); process.exit(1); }\"",
60
+ "prepublishOnly": "pnpm check:publish && pnpm build && pnpm test"
61
+ },
62
+ "keywords": [
63
+ "oauth",
64
+ "authentication",
65
+ "auth",
66
+ "login",
67
+ "identity",
68
+ "cli",
69
+ "sdk",
70
+ "org-ai",
71
+ "workos",
72
+ "authkit",
73
+ "react",
74
+ "hono"
75
+ ],
76
+ "author": {
77
+ "name": "org.ai",
78
+ "email": "npm@org.ai",
79
+ "url": "https://org.ai"
80
+ },
81
+ "license": "MIT",
82
+ "repository": {
83
+ "type": "git",
84
+ "url": "git+https://github.com/dot-do/oauth.do.git"
85
+ },
86
+ "bugs": {
87
+ "url": "https://github.com/dot-do/oauth.do/issues"
88
+ },
89
+ "homepage": "https://oauth.do",
90
+ "engines": {
91
+ "node": ">=18.0.0"
92
+ },
93
+ "dependencies": {
94
+ "open": "^10.1.0",
95
+ "keytar": "^7.9.0"
96
+ },
97
+ "peerDependencies": {
98
+ "@radix-ui/themes": ">=3.0.0",
99
+ "@tanstack/react-query": ">=5.0.0",
100
+ "@workos-inc/authkit-react": ">=0.5.0",
101
+ "@workos-inc/widgets": ">=1.0.0",
102
+ "hono": ">=4.0.0",
103
+ "jose": ">=5.0.0",
104
+ "react": ">=18.0.0",
105
+ "react-dom": ">=18.0.0"
106
+ },
107
+ "peerDependenciesMeta": {
108
+ "@radix-ui/themes": {
109
+ "optional": true
110
+ },
111
+ "@tanstack/react-query": {
112
+ "optional": true
113
+ },
114
+ "@workos-inc/authkit-react": {
115
+ "optional": true
116
+ },
117
+ "@workos-inc/widgets": {
118
+ "optional": true
119
+ },
120
+ "hono": {
121
+ "optional": true
122
+ },
123
+ "jose": {
124
+ "optional": true
125
+ },
126
+ "react": {
127
+ "optional": true
128
+ },
129
+ "react-dom": {
130
+ "optional": true
131
+ }
132
+ },
133
+ "devDependencies": {
134
+ "@radix-ui/themes": "^3.0.0",
135
+ "@tanstack/react-query": "^5.0.0",
136
+ "@testing-library/jest-dom": "^6.9.1",
137
+ "@testing-library/react": "^16.3.2",
138
+ "@types/node": "^24.10.1",
139
+ "@types/react": "^18.2.0",
140
+ "@types/react-dom": "^18.2.0",
141
+ "@workos-inc/authkit-react": "^0.16.0",
142
+ "@workos-inc/widgets": "^1.0.0",
143
+ "hono": "^4.0.0",
144
+ "jose": "^5.0.0",
145
+ "jsdom": "^27.4.0",
146
+ "react": "^18.2.0",
147
+ "react-dom": "^18.2.0",
148
+ "tsup": "^8.0.0",
149
+ "typescript": "^5.5.2",
150
+ "vitest": "^2.1.8"
151
+ }
154
152
  }