@luxuryescapes/contract-svc-lab-v2 0.1.36 → 0.1.37

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/server.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -59,7 +59,7 @@ export interface paths {
59
59
  post: operations["createFeatureFlag"];
60
60
  };
61
61
  "/api/lab/v2/items/{id}": {
62
- /** Public and identical for every user, so CDN-cacheable. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
62
+ /** Public and the same for every user of a language, so CDN-cacheable with `Vary: Accept-Language`. Every string under a key ending in `-i18n` is translated into the first `Accept-Language` language, except English other than `en-US`; `Content-Language` names the language served. Until every string has a translation the payload is served in English and cached briefly. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
63
63
  get: operations["getItemPayload"];
64
64
  };
65
65
  "/api/lab/v2/preview/campaigns/{id}": {
@@ -1552,7 +1552,7 @@ export interface operations {
1552
1552
  };
1553
1553
  };
1554
1554
  };
1555
- /** Public and identical for every user, so CDN-cacheable. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
1555
+ /** Public and the same for every user of a language, so CDN-cacheable with `Vary: Accept-Language`. Every string under a key ending in `-i18n` is translated into the first `Accept-Language` language, except English other than `en-US`; `Content-Language` names the language served. Until every string has a translation the payload is served in English and cached briefly. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
1556
1556
  getItemPayload: {
1557
1557
  parameters: {
1558
1558
  path: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [