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/dist/cli.js +2 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +3 -0
- package/dist/node.js.map +1 -1
- package/package.json +150 -152
package/package.json
CHANGED
|
@@ -1,154 +1,152 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
}
|