@ts-cloud/core 0.14.0 → 0.15.1

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 +14 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -1825,6 +1825,20 @@ export interface DnsZoneConfig {
1825
1825
  ssl?: 'off' | 'flexible' | 'full' | 'strict';
1826
1826
  /** Redirect http:// to https:// at the edge. */
1827
1827
  alwaysUseHttps?: boolean;
1828
+ /**
1829
+ * Send the visitor's city, region and coordinates to the origin.
1830
+ *
1831
+ * A Cloudflare zone sends `CF-IPCountry` and nothing else by default, so an
1832
+ * origin that reads `cf-ipcity` or `cf-iplatitude` — anything doing
1833
+ * "near you" — receives no value and silently falls back, with a request
1834
+ * that otherwise looks completely normal. Cloudflare models this as a
1835
+ * managed header transform rather than a zone setting, which is why it is
1836
+ * not reachable through the settings API and is easy to miss entirely.
1837
+ *
1838
+ * Off unless declared: these headers carry a visitor's approximate location
1839
+ * to the application, and that is a decision a project should make out loud.
1840
+ */
1841
+ visitorLocationHeaders?: boolean;
1828
1842
  /**
1829
1843
  * Oldest TLS version the edge will negotiate. `1.2` is the usual floor;
1830
1844
  * some plans reject anything above `1.0`, and a rejected setting is
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.14.0",
4
+ "version": "0.15.1",
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.14.0"
34
+ "@ts-cloud/aws-types": "0.15.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"