@molecule/api-bonds-default-express 1.0.1 → 1.0.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/README.md +2 -1
- package/package.json +98 -97
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-08-
|
|
6
|
+
Generated: 2026-08-14T17:26:00.220Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-bonds-default-express
|
|
@@ -805,6 +805,7 @@ Members:
|
|
|
805
805
|
- `userAuthorization.invalidateDeviceExistsCache` — const: Evict a single device's positive entry from the device-exists cache so the
|
|
806
806
|
- `userAuthorization.invalidateAllDeviceExistsCache` — const: Evict ALL positive entries from the device-exists cache.
|
|
807
807
|
- `userAuthorization.set` — const: Set authorization headers and cookie for a session.
|
|
808
|
+
- `userAuthorization.VerifyMiddlewareOptions` — interface: Options for {@link verifyMiddleware}.
|
|
808
809
|
- `userAuthorization.verifyMiddleware` — const: Middleware that verifies the JWT token from the `Authorization` header and sets `res.locals.session`.
|
|
809
810
|
|
|
810
811
|
## Injection Notes
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-bonds-default-express",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Default API bond setup for Express-based apps. Provides setup functions for the 10 byte-identical bond wirings shared across the molecule fleet — config-env, database-postgresql, jwt-jsonwebtoken, middleware-{body-parser,cookie-parser,cors}-express, password-bcrypt, secrets-env, service-device, two-factor-otplib.",
|
|
5
|
+
"homepage": "https://www.molecule.dev/packages/api-bonds-default-express",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/index.js",
|
|
7
8
|
"types": "dist/index.d.ts",
|
|
@@ -33,104 +34,104 @@
|
|
|
33
34
|
"directory": "packages/api/infrastructure/bonds-default-express"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
|
-
"@molecule/api-ai-anthropic": "1.
|
|
37
|
-
"@molecule/api-ai-embeddings": "1.0.
|
|
38
|
-
"@molecule/api-ai-embeddings-openai": "1.0.
|
|
39
|
-
"@molecule/api-ai-openai": "1.
|
|
40
|
-
"@molecule/api-ai-speech": "1.0.
|
|
41
|
-
"@molecule/api-ai-speech-openai": "1.0.
|
|
42
|
-
"@molecule/api-ai-vector-store": "1.0.
|
|
43
|
-
"@molecule/api-ai-vector-store-pgvector": "1.0.
|
|
44
|
-
"@molecule/api-analytics": "1.0.
|
|
45
|
-
"@molecule/api-audit": "1.0.
|
|
46
|
-
"@molecule/api-audit-database": "1.0.
|
|
47
|
-
"@molecule/api-bond": "1.0.
|
|
48
|
-
"@molecule/api-cache": "1.0.
|
|
49
|
-
"@molecule/api-cache-memory": "1.0.
|
|
50
|
-
"@molecule/api-cache-redis": "1.0.
|
|
51
|
-
"@molecule/api-config": "1.0.
|
|
52
|
-
"@molecule/api-config-env": "1.0.
|
|
53
|
-
"@molecule/api-cron": "1.0.
|
|
54
|
-
"@molecule/api-cron-node-cron": "1.0.
|
|
55
|
-
"@molecule/api-database": "1.0.
|
|
56
|
-
"@molecule/api-database-postgresql": "1.0.
|
|
57
|
-
"@molecule/api-emails": "1.0.
|
|
58
|
-
"@molecule/api-emails-capture": "1.0.
|
|
59
|
-
"@molecule/api-emails-mailgun": "1.0.
|
|
60
|
-
"@molecule/api-encryption": "1.0.
|
|
61
|
-
"@molecule/api-encryption-aes": "1.0.
|
|
62
|
-
"@molecule/api-entitlements": "1.0.
|
|
63
|
-
"@molecule/api-error-tracking": "1.0.
|
|
64
|
-
"@molecule/api-error-tracking-console": "1.0.
|
|
65
|
-
"@molecule/api-error-tracking-sentry": "1.0.
|
|
66
|
-
"@molecule/api-geolocation": "1.0.
|
|
67
|
-
"@molecule/api-geolocation-google": "1.0.
|
|
68
|
-
"@molecule/api-geolocation-mapbox": "1.0.
|
|
69
|
-
"@molecule/api-geolocation-nominatim": "1.0.
|
|
70
|
-
"@molecule/api-http": "1.0.
|
|
71
|
-
"@molecule/api-http-fetch": "1.0.
|
|
72
|
-
"@molecule/api-i18n": "1.0.
|
|
73
|
-
"@molecule/api-image": "1.0.
|
|
74
|
-
"@molecule/api-image-sharp": "1.0.
|
|
75
|
-
"@molecule/api-import-export": "1.0.
|
|
76
|
-
"@molecule/api-import-export-csv": "1.0.
|
|
77
|
-
"@molecule/api-jwt": "1.0.
|
|
78
|
-
"@molecule/api-jwt-jsonwebtoken": "1.0.
|
|
79
|
-
"@molecule/api-logger": "1.0.
|
|
80
|
-
"@molecule/api-media-streaming": "1.0.
|
|
81
|
-
"@molecule/api-media-streaming-hls": "1.
|
|
82
|
-
"@molecule/api-middleware-body-parser": "1.0.
|
|
83
|
-
"@molecule/api-middleware-body-parser-express": "1.0.
|
|
84
|
-
"@molecule/api-middleware-cookie-parser": "1.0.
|
|
85
|
-
"@molecule/api-middleware-cookie-parser-express": "1.0.
|
|
86
|
-
"@molecule/api-middleware-cors": "1.0.
|
|
87
|
-
"@molecule/api-middleware-cors-express": "1.0.
|
|
88
|
-
"@molecule/api-middleware-validation": "1.0.
|
|
89
|
-
"@molecule/api-notifications-webhook": "1.0.
|
|
90
|
-
"@molecule/api-password": "1.0.
|
|
91
|
-
"@molecule/api-password-bcrypt": "1.0.
|
|
92
|
-
"@molecule/api-payments": "1.
|
|
93
|
-
"@molecule/api-payments-stripe": "1.
|
|
94
|
-
"@molecule/api-pdf": "1.0.
|
|
95
|
-
"@molecule/api-pdf-pdfkit": "1.0.
|
|
96
|
-
"@molecule/api-permissions": "1.0.
|
|
97
|
-
"@molecule/api-permissions-custom": "1.0.
|
|
98
|
-
"@molecule/api-push-capture": "1.0.
|
|
99
|
-
"@molecule/api-push-notifications": "1.0.
|
|
100
|
-
"@molecule/api-push-notifications-web-push": "1.0.
|
|
101
|
-
"@molecule/api-queue": "1.0.
|
|
102
|
-
"@molecule/api-queue-memory": "1.0.
|
|
103
|
-
"@molecule/api-queue-redis": "1.0.
|
|
104
|
-
"@molecule/api-rate-limit": "1.0.
|
|
105
|
-
"@molecule/api-rate-limit-memory": "1.0.
|
|
106
|
-
"@molecule/api-realtime": "1.0.
|
|
107
|
-
"@molecule/api-realtime-socketio": "1.0.
|
|
108
|
-
"@molecule/api-realtime-sse": "1.0.
|
|
109
|
-
"@molecule/api-realtime-ws": "1.0.
|
|
110
|
-
"@molecule/api-reporting": "1.0.
|
|
111
|
-
"@molecule/api-reporting-database": "1.0.
|
|
112
|
-
"@molecule/api-resource": "1.0.
|
|
113
|
-
"@molecule/api-resource-device": "1.0.
|
|
114
|
-
"@molecule/api-resource-payment": "1.0.
|
|
115
|
-
"@molecule/api-resource-user": "1.
|
|
116
|
-
"@molecule/api-search": "1.0.
|
|
117
|
-
"@molecule/api-search-meilisearch": "1.0.
|
|
118
|
-
"@molecule/api-search-postgres": "1.0.
|
|
119
|
-
"@molecule/api-secrets": "1.0.
|
|
120
|
-
"@molecule/api-secrets-env": "1.0.
|
|
121
|
-
"@molecule/api-server-default-express": "1.0.
|
|
122
|
-
"@molecule/api-two-factor": "1.0.
|
|
123
|
-
"@molecule/api-two-factor-otplib": "1.0.
|
|
124
|
-
"@molecule/api-uploads": "1.0.
|
|
125
|
-
"@molecule/api-uploads-filesystem": "1.0.
|
|
126
|
-
"@molecule/api-uploads-s3": "1.0.
|
|
127
|
-
"@molecule/api-webhook": "1.0.
|
|
128
|
-
"@molecule/api-webhook-http": "1.0.
|
|
129
|
-
"@molecule/api-workflow": "1.0.
|
|
130
|
-
"@molecule/api-workflow-database": "1.0.
|
|
37
|
+
"@molecule/api-ai-anthropic": "1.1.1",
|
|
38
|
+
"@molecule/api-ai-embeddings": "1.0.2",
|
|
39
|
+
"@molecule/api-ai-embeddings-openai": "1.0.2",
|
|
40
|
+
"@molecule/api-ai-openai": "1.1.1",
|
|
41
|
+
"@molecule/api-ai-speech": "1.0.2",
|
|
42
|
+
"@molecule/api-ai-speech-openai": "1.0.2",
|
|
43
|
+
"@molecule/api-ai-vector-store": "1.0.2",
|
|
44
|
+
"@molecule/api-ai-vector-store-pgvector": "1.0.2",
|
|
45
|
+
"@molecule/api-analytics": "1.0.2",
|
|
46
|
+
"@molecule/api-audit": "1.0.2",
|
|
47
|
+
"@molecule/api-audit-database": "1.0.2",
|
|
48
|
+
"@molecule/api-bond": "1.0.2",
|
|
49
|
+
"@molecule/api-cache": "1.0.2",
|
|
50
|
+
"@molecule/api-cache-memory": "1.0.2",
|
|
51
|
+
"@molecule/api-cache-redis": "1.0.2",
|
|
52
|
+
"@molecule/api-config": "1.0.2",
|
|
53
|
+
"@molecule/api-config-env": "1.0.2",
|
|
54
|
+
"@molecule/api-cron": "1.0.2",
|
|
55
|
+
"@molecule/api-cron-node-cron": "1.0.2",
|
|
56
|
+
"@molecule/api-database": "1.0.2",
|
|
57
|
+
"@molecule/api-database-postgresql": "1.0.3",
|
|
58
|
+
"@molecule/api-emails": "1.0.2",
|
|
59
|
+
"@molecule/api-emails-capture": "1.0.3",
|
|
60
|
+
"@molecule/api-emails-mailgun": "1.0.3",
|
|
61
|
+
"@molecule/api-encryption": "1.0.2",
|
|
62
|
+
"@molecule/api-encryption-aes": "1.0.2",
|
|
63
|
+
"@molecule/api-entitlements": "1.0.2",
|
|
64
|
+
"@molecule/api-error-tracking": "1.0.2",
|
|
65
|
+
"@molecule/api-error-tracking-console": "1.0.2",
|
|
66
|
+
"@molecule/api-error-tracking-sentry": "1.0.2",
|
|
67
|
+
"@molecule/api-geolocation": "1.0.2",
|
|
68
|
+
"@molecule/api-geolocation-google": "1.0.2",
|
|
69
|
+
"@molecule/api-geolocation-mapbox": "1.0.2",
|
|
70
|
+
"@molecule/api-geolocation-nominatim": "1.0.2",
|
|
71
|
+
"@molecule/api-http": "1.0.2",
|
|
72
|
+
"@molecule/api-http-fetch": "1.0.2",
|
|
73
|
+
"@molecule/api-i18n": "1.0.3",
|
|
74
|
+
"@molecule/api-image": "1.0.2",
|
|
75
|
+
"@molecule/api-image-sharp": "1.0.3",
|
|
76
|
+
"@molecule/api-import-export": "1.0.2",
|
|
77
|
+
"@molecule/api-import-export-csv": "1.0.2",
|
|
78
|
+
"@molecule/api-jwt": "1.0.3",
|
|
79
|
+
"@molecule/api-jwt-jsonwebtoken": "1.0.2",
|
|
80
|
+
"@molecule/api-logger": "1.0.2",
|
|
81
|
+
"@molecule/api-media-streaming": "1.0.2",
|
|
82
|
+
"@molecule/api-media-streaming-hls": "1.1.1",
|
|
83
|
+
"@molecule/api-middleware-body-parser": "1.0.2",
|
|
84
|
+
"@molecule/api-middleware-body-parser-express": "1.0.2",
|
|
85
|
+
"@molecule/api-middleware-cookie-parser": "1.0.2",
|
|
86
|
+
"@molecule/api-middleware-cookie-parser-express": "1.0.2",
|
|
87
|
+
"@molecule/api-middleware-cors": "1.0.2",
|
|
88
|
+
"@molecule/api-middleware-cors-express": "1.0.2",
|
|
89
|
+
"@molecule/api-middleware-validation": "1.0.2",
|
|
90
|
+
"@molecule/api-notifications-webhook": "1.0.2",
|
|
91
|
+
"@molecule/api-password": "1.0.2",
|
|
92
|
+
"@molecule/api-password-bcrypt": "1.0.2",
|
|
93
|
+
"@molecule/api-payments": "1.2.1",
|
|
94
|
+
"@molecule/api-payments-stripe": "1.2.3",
|
|
95
|
+
"@molecule/api-pdf": "1.0.2",
|
|
96
|
+
"@molecule/api-pdf-pdfkit": "1.0.2",
|
|
97
|
+
"@molecule/api-permissions": "1.0.2",
|
|
98
|
+
"@molecule/api-permissions-custom": "1.0.2",
|
|
99
|
+
"@molecule/api-push-capture": "1.0.3",
|
|
100
|
+
"@molecule/api-push-notifications": "1.0.2",
|
|
101
|
+
"@molecule/api-push-notifications-web-push": "1.0.2",
|
|
102
|
+
"@molecule/api-queue": "1.0.2",
|
|
103
|
+
"@molecule/api-queue-memory": "1.0.3",
|
|
104
|
+
"@molecule/api-queue-redis": "1.0.2",
|
|
105
|
+
"@molecule/api-rate-limit": "1.0.2",
|
|
106
|
+
"@molecule/api-rate-limit-memory": "1.0.2",
|
|
107
|
+
"@molecule/api-realtime": "1.0.2",
|
|
108
|
+
"@molecule/api-realtime-socketio": "1.0.2",
|
|
109
|
+
"@molecule/api-realtime-sse": "1.0.2",
|
|
110
|
+
"@molecule/api-realtime-ws": "1.0.2",
|
|
111
|
+
"@molecule/api-reporting": "1.0.2",
|
|
112
|
+
"@molecule/api-reporting-database": "1.0.2",
|
|
113
|
+
"@molecule/api-resource": "1.0.2",
|
|
114
|
+
"@molecule/api-resource-device": "1.0.2",
|
|
115
|
+
"@molecule/api-resource-payment": "1.0.2",
|
|
116
|
+
"@molecule/api-resource-user": "1.4.1",
|
|
117
|
+
"@molecule/api-search": "1.0.2",
|
|
118
|
+
"@molecule/api-search-meilisearch": "1.0.2",
|
|
119
|
+
"@molecule/api-search-postgres": "1.0.2",
|
|
120
|
+
"@molecule/api-secrets": "1.0.2",
|
|
121
|
+
"@molecule/api-secrets-env": "1.0.2",
|
|
122
|
+
"@molecule/api-server-default-express": "1.0.2",
|
|
123
|
+
"@molecule/api-two-factor": "1.0.2",
|
|
124
|
+
"@molecule/api-two-factor-otplib": "1.0.2",
|
|
125
|
+
"@molecule/api-uploads": "1.0.2",
|
|
126
|
+
"@molecule/api-uploads-filesystem": "1.0.2",
|
|
127
|
+
"@molecule/api-uploads-s3": "1.0.4",
|
|
128
|
+
"@molecule/api-webhook": "1.0.2",
|
|
129
|
+
"@molecule/api-webhook-http": "1.0.2",
|
|
130
|
+
"@molecule/api-workflow": "1.0.2",
|
|
131
|
+
"@molecule/api-workflow-database": "1.0.2",
|
|
131
132
|
"@types/node": "26.1.2",
|
|
132
133
|
"typescript": "6.0.3",
|
|
133
|
-
"vitest": "4.1.
|
|
134
|
+
"vitest": "4.1.11"
|
|
134
135
|
},
|
|
135
136
|
"peerDependencies": {
|
|
136
137
|
"@molecule/api-ai-anthropic": "^1.0.1",
|