@getstrata/bootstrap 2.0.4 → 2.0.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @getstrata/bootstrap changelog
2
2
 
3
+ ## 2.0.5
4
+
5
+ - Allow explicitly approved application headers in CORS
6
+
3
7
  ## 2.0.4
4
8
 
5
9
  - Place cache rollout guidance beside outbox docs without overlapping API additions
@@ -285,6 +285,9 @@ var appEnvSchema = defineEnvSchema({
285
285
  API_PREFIX: {
286
286
  default: "/api/v1"
287
287
  },
288
+ CORS_ADDITIONAL_ALLOWED_HEADERS: {
289
+ default: ""
290
+ },
288
291
  CORS_ALLOWED_ORIGINS: {
289
292
  default: "*"
290
293
  },
@@ -285,6 +285,9 @@ var appEnvSchema = defineEnvSchema({
285
285
  API_PREFIX: {
286
286
  default: "/api/v1"
287
287
  },
288
+ CORS_ADDITIONAL_ALLOWED_HEADERS: {
289
+ default: ""
290
+ },
288
291
  CORS_ALLOWED_ORIGINS: {
289
292
  default: "*"
290
293
  },
@@ -191,6 +191,9 @@ var appEnvSchema = defineEnvSchema({
191
191
  API_PREFIX: {
192
192
  default: "/api/v1"
193
193
  },
194
+ CORS_ADDITIONAL_ALLOWED_HEADERS: {
195
+ default: ""
196
+ },
194
197
  CORS_ALLOWED_ORIGINS: {
195
198
  default: "*"
196
199
  },
package/dist/index.js CHANGED
@@ -704,6 +704,9 @@ var appEnvSchema = defineEnvSchema({
704
704
  API_PREFIX: {
705
705
  default: "/api/v1"
706
706
  },
707
+ CORS_ADDITIONAL_ALLOWED_HEADERS: {
708
+ default: ""
709
+ },
707
710
  CORS_ALLOWED_ORIGINS: {
708
711
  default: "*"
709
712
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getstrata/bootstrap",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Strata application bootstrap: HttpKernel, DI, web session helpers",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -185,7 +185,7 @@
185
185
  "access": "public"
186
186
  },
187
187
  "peerDependencies": {
188
- "@getstrata/core": "^2.0.4",
188
+ "@getstrata/core": "^2.0.5",
189
189
  "typescript": "^5.9.0 || ^6.0.0 || ^7.0.0"
190
190
  },
191
191
  "engines": {