canopycms-cdk 0.0.68-int.101 → 0.0.68-int.102

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.
@@ -76,8 +76,8 @@ export interface CanopyCmsAttachOptions {
76
76
  *
77
77
  * It must set `x-forwarded-host` from the viewer's Host, or sign-in
78
78
  * redirects point at the Function URL and 403. It must not gate on HTTP
79
- * Basic auth: the API answers 401 without `WWW-Authenticate`, and a browser
80
- * that sees that drops its cached Basic credential and prompts again.
79
+ * Basic auth; the CMS authenticates these routes itself. A Basic-gated site sets
80
+ * the CMS config's `unauthenticatedStatus: 419` (see docs/deploying-to-aws.md).
81
81
  *
82
82
  * @default - a function that sets `x-forwarded-host` and nothing else
83
83
  */
@@ -4566,6 +4566,7 @@ var init_config = __esm({
4566
4566
  contentRoot: contentRootSchema.default("content"),
4567
4567
  sourceRoot: sourceRootSchema.optional(),
4568
4568
  basePath: basePathSchema,
4569
+ unauthenticatedStatus: external_exports.union([external_exports.literal(401), external_exports.literal(419)]).optional(),
4569
4570
  editor: editorConfigSchema.optional(),
4570
4571
  authPlugin: external_exports.custom().optional(),
4571
4572
  entryLinkUrl: external_exports.custom().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canopycms-cdk",
3
- "version": "0.0.68-int.101",
3
+ "version": "0.0.68-int.102",
4
4
  "description": "AWS CDK constructs and EC2 worker for CanopyCMS deployment",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "peerDependencies": {
32
32
  "aws-cdk-lib": "^2.260.0",
33
33
  "constructs": "^10.0.0",
34
- "canopycms": "0.0.68-int.101"
34
+ "canopycms": "0.0.68-int.102"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "aws-cdk-lib": {
@@ -56,8 +56,8 @@
56
56
  "tsx": "^4.19.0",
57
57
  "typescript": "^5.6.3",
58
58
  "vitest": "^4.1.0",
59
- "canopycms": "0.0.68-int.101",
60
- "canopycms-auth-clerk": "0.0.68-int.101"
59
+ "canopycms": "0.0.68-int.102",
60
+ "canopycms-auth-clerk": "0.0.68-int.102"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "rm -rf dist && tsc && node ../../scripts/add-js-extensions.mjs dist",
@@ -12562,6 +12562,7 @@ var init_config2 = __esm({
12562
12562
  contentRoot: contentRootSchema.default("content"),
12563
12563
  sourceRoot: sourceRootSchema.optional(),
12564
12564
  basePath: basePathSchema,
12565
+ unauthenticatedStatus: external_exports.union([external_exports.literal(401), external_exports.literal(419)]).optional(),
12565
12566
  editor: editorConfigSchema.optional(),
12566
12567
  authPlugin: external_exports.custom().optional(),
12567
12568
  entryLinkUrl: external_exports.custom().optional(),
@@ -49361,7 +49362,7 @@ async function writeWorkerStatus(taskDir, report) {
49361
49362
  }
49362
49363
 
49363
49364
  // ../canopycms/src/version.ts
49364
- var CANOPYCMS_VERSION = "0.0.68-int.101";
49365
+ var CANOPYCMS_VERSION = "0.0.68-int.102";
49365
49366
 
49366
49367
  // ../canopycms/src/worker/log.ts
49367
49368
  init_logger();