@ts-cloud/core 0.16.42 → 0.16.43

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 +10 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -1950,6 +1950,16 @@ export interface DnsZoneConfig {
1950
1950
  * reported rather than failing the deploy.
1951
1951
  */
1952
1952
  minTlsVersion?: '1.0' | '1.1' | '1.2' | '1.3';
1953
+ /**
1954
+ * Tiered cache: a data center that misses asks an upper-tier data center
1955
+ * before the origin, so the origin answers once per region rather than once
1956
+ * per city. `smart` lets Cloudflare choose the upper tier by latency to the
1957
+ * origin; `generic` uses a fixed set; `off` turns it off. Free on every plan.
1958
+ * It applies to everything Cloudflare caches through the CDN, including a
1959
+ * Worker's `fetch()` subrequests, but not to a Worker's Cache API, which is
1960
+ * local to one data center.
1961
+ */
1962
+ tieredCache?: 'smart' | 'generic' | 'off';
1953
1963
  }
1954
1964
  /**
1955
1965
  * The registrar half of {@link DnsConfig}.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.16.42",
4
+ "version": "0.16.43",
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.16.42"
34
+ "@ts-cloud/aws-types": "0.16.43"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"