@stwrd-auth/node 0.0.0-stage → 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/package.json CHANGED
@@ -1,6 +1,93 @@
1
1
  {
2
2
  "name": "@stwrd-auth/node",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "stwrd SDK for Node.js and Express (backend-for-frontend profile): the /auth/* routes, server-side sessions, route guards and webhook verification.",
5
+ "keywords": [
6
+ "stwrd",
7
+ "authentication",
8
+ "oidc",
9
+ "oauth2",
10
+ "express",
11
+ "bff",
12
+ "sessions",
13
+ "webhooks",
14
+ "postgresql"
15
+ ],
16
+ "license": "MIT",
17
+ "author": {
18
+ "name": "stwrd",
19
+ "url": "https://stwrd.dev"
20
+ },
21
+ "homepage": "https://stwrd.dev",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/stwrd-dev/sdk-js.git",
25
+ "directory": "packages/node"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/stwrd-dev/sdk-js/issues"
29
+ },
30
+ "type": "module",
31
+ "main": "./dist/index.js",
32
+ "types": "./dist/index.d.ts",
33
+ "exports": {
34
+ ".": {
35
+ "types": "./dist/index.d.ts",
36
+ "import": "./dist/index.js"
37
+ },
38
+ "./management": {
39
+ "types": "./dist/management.d.ts",
40
+ "import": "./dist/management.js"
41
+ },
42
+ "./webhooks": {
43
+ "types": "./dist/webhooks.d.ts",
44
+ "import": "./dist/webhooks.js"
45
+ },
46
+ "./postgres": {
47
+ "types": "./dist/postgres.d.ts",
48
+ "import": "./dist/postgres.js"
49
+ }
50
+ },
51
+ "sideEffects": false,
52
+ "files": [
53
+ "dist",
54
+ "!dist/.tsbuildinfo",
55
+ "README.md",
56
+ "CHANGELOG.md",
57
+ "LICENSE"
58
+ ],
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
62
+ "scripts": {
63
+ "prepack": "npm run build",
64
+ "build": "tsc -b tsconfig.json",
65
+ "test": "vitest run",
66
+ "lint": "tsc -b tsconfig.json"
67
+ },
68
+ "engines": {
69
+ "node": ">=20"
70
+ },
71
+ "peerDependencies": {
72
+ "express": "^4 || ^5",
73
+ "pg": "^8"
74
+ },
75
+ "peerDependenciesMeta": {
76
+ "pg": {
77
+ "optional": true
78
+ }
79
+ },
80
+ "dependencies": {
81
+ "@stwrd-auth/core": "0.1.0"
82
+ },
83
+ "devDependencies": {
84
+ "@types/express": "^4.17.21",
85
+ "@types/node": "^22.10.0",
86
+ "@types/pg": "^8.23.1",
87
+ "express": "^4.21.0",
88
+ "jose": "^6.0.0",
89
+ "pg": "^8.23.1",
90
+ "typescript": "^5.6.0",
91
+ "vitest": "^4.1.10"
92
+ }
93
+ }