@ts-cloud/core 0.11.3 → 0.11.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +12 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -3702,6 +3702,18 @@ export interface CloudflareZoneSettingsConfig {
3702
3702
  alwaysOnline?: boolean;
3703
3703
  /** Proxy WebSocket upgrades. */
3704
3704
  websockets?: boolean;
3705
+ /**
3706
+ * Cloudflare's email-address obfuscation, which REWRITES the HTML the origin
3707
+ * sent: `mailto:` links become spans a script decodes in the browser.
3708
+ *
3709
+ * Cloudflare enables it on new zones. ts-cloud turns it off by default,
3710
+ * because a contact link that needs JavaScript to work is a change to what
3711
+ * the page IS, not to how it is delivered — and it fails invisibly, since
3712
+ * anything that does not execute scripts still sees a correct-looking page.
3713
+ *
3714
+ * @default false
3715
+ */
3716
+ emailObfuscation?: boolean;
3705
3717
  /** Raw Cloudflare setting ids, merged last. */
3706
3718
  raw?: Record<string, unknown>;
3707
3719
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.11.3",
4
+ "version": "0.11.5",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
7
7
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.11.3"
34
+ "@ts-cloud/aws-types": "0.11.5"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"