@taggor/contract 0.3.0 → 0.5.0

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 (255) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/artifact-keys.d.ts +11 -11
  3. package/dist/artifact-keys.d.ts.map +1 -1
  4. package/dist/artifact-keys.js +11 -11
  5. package/dist/artifact-keys.js.map +1 -1
  6. package/dist/assets.d.ts +5 -5
  7. package/dist/assets.js +5 -5
  8. package/dist/bounded-path.d.ts +2 -2
  9. package/dist/bounded-path.js +2 -2
  10. package/dist/bounded.d.ts +2 -2
  11. package/dist/bounded.js +2 -2
  12. package/dist/build-diagnostic.d.ts +5 -5
  13. package/dist/build-diagnostic.js +5 -5
  14. package/dist/component-types.d.ts +7 -7
  15. package/dist/component-types.js +4 -4
  16. package/dist/component-types.js.map +1 -1
  17. package/dist/consent-text.d.ts +1 -1
  18. package/dist/consent-text.js +1 -1
  19. package/dist/contract-version.d.ts +17 -16
  20. package/dist/contract-version.d.ts.map +1 -1
  21. package/dist/contract-version.js +17 -16
  22. package/dist/contract-version.js.map +1 -1
  23. package/dist/credential-fields.d.ts +1 -1
  24. package/dist/credential-fields.js +1 -1
  25. package/dist/css-tokens.d.ts +1 -1
  26. package/dist/css-tokens.js +1 -1
  27. package/dist/css-value.d.ts +4 -4
  28. package/dist/css-value.js +4 -4
  29. package/dist/data-api.d.ts +11 -11
  30. package/dist/data-api.js +14 -14
  31. package/dist/data-api.js.map +1 -1
  32. package/dist/denylist-keys.d.ts +1 -1
  33. package/dist/denylist-keys.js +4 -4
  34. package/dist/diagnostic-catalog.d.ts +44 -36
  35. package/dist/diagnostic-catalog.d.ts.map +1 -1
  36. package/dist/diagnostic-catalog.js +44 -40
  37. package/dist/diagnostic-catalog.js.map +1 -1
  38. package/dist/dom-members.snapshot.d.ts +4 -4
  39. package/dist/dom-members.snapshot.js +8 -8
  40. package/dist/early-loading.d.ts +1 -1
  41. package/dist/early-loading.js +1 -1
  42. package/dist/error-catalog.d.ts +106 -7
  43. package/dist/error-catalog.d.ts.map +1 -1
  44. package/dist/error-catalog.js +143 -48
  45. package/dist/error-catalog.js.map +1 -1
  46. package/dist/executable-config.d.ts +1 -1
  47. package/dist/freeze.d.ts +2 -2
  48. package/dist/freeze.js +2 -2
  49. package/dist/gunzip.d.ts +3 -3
  50. package/dist/gunzip.js +4 -4
  51. package/dist/gunzip.js.map +1 -1
  52. package/dist/hostname.d.ts +5 -6
  53. package/dist/hostname.d.ts.map +1 -1
  54. package/dist/hostname.js +7 -8
  55. package/dist/hostname.js.map +1 -1
  56. package/dist/human-actions.d.ts +4 -4
  57. package/dist/human-actions.d.ts.map +1 -1
  58. package/dist/human-actions.js +21 -0
  59. package/dist/human-actions.js.map +1 -1
  60. package/dist/index.d.ts +5 -4
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +5 -4
  63. package/dist/index.js.map +1 -1
  64. package/dist/json-schema.d.ts +15 -16
  65. package/dist/json-schema.d.ts.map +1 -1
  66. package/dist/json-schema.js +22 -23
  67. package/dist/json-schema.js.map +1 -1
  68. package/dist/key-checksum.d.ts +1 -1
  69. package/dist/key-checksum.js +1 -1
  70. package/dist/libraries.d.ts +4 -4
  71. package/dist/libraries.d.ts.map +1 -1
  72. package/dist/libraries.js +4 -4
  73. package/dist/libraries.js.map +1 -1
  74. package/dist/limit-catalog.d.ts +17 -17
  75. package/dist/limit-catalog.d.ts.map +1 -1
  76. package/dist/limit-catalog.js +30 -30
  77. package/dist/limit-catalog.js.map +1 -1
  78. package/dist/limits.d.ts +15 -15
  79. package/dist/limits.d.ts.map +1 -1
  80. package/dist/limits.js +16 -16
  81. package/dist/limits.js.map +1 -1
  82. package/dist/locale-tag.d.ts +2 -2
  83. package/dist/locale-tag.js +2 -2
  84. package/dist/make-diagnostic.d.ts +2 -3
  85. package/dist/make-diagnostic.d.ts.map +1 -1
  86. package/dist/make-diagnostic.js.map +1 -1
  87. package/dist/manifest-compat-diagnostics.d.ts +1 -1
  88. package/dist/manifest-compat.js +1 -1
  89. package/dist/manifest.d.ts +22 -23
  90. package/dist/manifest.d.ts.map +1 -1
  91. package/dist/manifest.js +32 -33
  92. package/dist/manifest.js.map +1 -1
  93. package/dist/metering.d.ts +17 -18
  94. package/dist/metering.d.ts.map +1 -1
  95. package/dist/metering.js +17 -18
  96. package/dist/metering.js.map +1 -1
  97. package/dist/migrate.d.ts +1 -1
  98. package/dist/migrate.js +5 -5
  99. package/dist/migrate.js.map +1 -1
  100. package/dist/money.d.ts +2 -2
  101. package/dist/money.js +2 -2
  102. package/dist/names.d.ts +4 -4
  103. package/dist/names.js +4 -4
  104. package/dist/overage-pricing.d.ts +1 -1
  105. package/dist/overage-pricing.js +1 -1
  106. package/dist/plan-ids.d.ts +1 -1
  107. package/dist/plan-ids.js +1 -1
  108. package/dist/plan-limits.d.ts +13 -13
  109. package/dist/plan-limits.d.ts.map +1 -1
  110. package/dist/plan-limits.js +8 -8
  111. package/dist/plan-limits.js.map +1 -1
  112. package/dist/plan-pricing.d.ts +10 -12
  113. package/dist/plan-pricing.d.ts.map +1 -1
  114. package/dist/plan-pricing.js +12 -14
  115. package/dist/plan-pricing.js.map +1 -1
  116. package/dist/plan-usage.d.ts +18 -18
  117. package/dist/plan-usage.d.ts.map +1 -1
  118. package/dist/plan-usage.js +19 -20
  119. package/dist/plan-usage.js.map +1 -1
  120. package/dist/preview-token.js +2 -2
  121. package/dist/prop-names.d.ts +5 -5
  122. package/dist/prop-names.d.ts.map +1 -1
  123. package/dist/prop-names.js +10 -10
  124. package/dist/prop-names.js.map +1 -1
  125. package/dist/prop-type-docs.js +1 -1
  126. package/dist/prop-types.d.ts +6 -6
  127. package/dist/prop-types.js +17 -17
  128. package/dist/prop-types.js.map +1 -1
  129. package/dist/props.d.ts +5 -5
  130. package/dist/props.js +6 -6
  131. package/dist/props.js.map +1 -1
  132. package/dist/proto-guard.js +3 -3
  133. package/dist/proto-guard.js.map +1 -1
  134. package/dist/runtime-errors.d.ts +2 -2
  135. package/dist/runtime-errors.js +2 -2
  136. package/dist/runtime-pointers.d.ts +2 -2
  137. package/dist/runtime-pointers.js +2 -2
  138. package/{schema → dist/schema}/component-manifest.v1.json +5 -5
  139. package/dist/secret-scan.d.ts +10 -10
  140. package/dist/secret-scan.d.ts.map +1 -1
  141. package/dist/secret-scan.js +15 -16
  142. package/dist/secret-scan.js.map +1 -1
  143. package/dist/semver.d.ts +2 -2
  144. package/dist/semver.js +2 -2
  145. package/dist/server-key.js +1 -1
  146. package/dist/site-manifest-keys.d.ts +11 -11
  147. package/dist/site-manifest-keys.d.ts.map +1 -1
  148. package/dist/site-manifest-keys.js +18 -18
  149. package/dist/site-manifest-keys.js.map +1 -1
  150. package/dist/site-manifest.d.ts +2 -2
  151. package/dist/site-manifest.js +9 -9
  152. package/dist/site-manifest.js.map +1 -1
  153. package/dist/source-archive.d.ts +13 -13
  154. package/dist/source-archive.js +25 -25
  155. package/dist/source-archive.js.map +1 -1
  156. package/dist/source-package-corpus.d.ts +3 -4
  157. package/dist/source-package-corpus.d.ts.map +1 -1
  158. package/dist/source-package-corpus.js +4 -6
  159. package/dist/source-package-corpus.js.map +1 -1
  160. package/dist/source-package.d.ts +18 -17
  161. package/dist/source-package.d.ts.map +1 -1
  162. package/dist/source-package.js +16 -15
  163. package/dist/source-package.js.map +1 -1
  164. package/dist/source-secrets.js +1 -1
  165. package/dist/ssr-cap.d.ts +1 -1
  166. package/dist/ssr-cap.js +4 -4
  167. package/dist/ssr-kv.d.ts +2 -2
  168. package/dist/ssr-kv.js +2 -2
  169. package/dist/ssr-render.d.ts +2 -2
  170. package/dist/ssr-render.d.ts.map +1 -1
  171. package/dist/ssr-render.js +3 -3
  172. package/dist/ssr-render.js.map +1 -1
  173. package/dist/ssr-version-ledger.js +3 -3
  174. package/dist/style-references.d.ts +2 -3
  175. package/dist/style-references.d.ts.map +1 -1
  176. package/dist/style-references.js +10 -11
  177. package/dist/style-references.js.map +1 -1
  178. package/dist/support-contact.d.ts +11 -0
  179. package/dist/support-contact.d.ts.map +1 -0
  180. package/dist/support-contact.js +11 -0
  181. package/dist/support-contact.js.map +1 -0
  182. package/dist/tag-name.d.ts +6 -6
  183. package/dist/tag-name.d.ts.map +1 -1
  184. package/dist/tag-name.js +7 -7
  185. package/dist/tag-name.js.map +1 -1
  186. package/dist/tar-writer.js +1 -1
  187. package/dist/testing.d.ts +1 -1
  188. package/dist/testing.js +1 -1
  189. package/dist/text-codec.d.ts +2 -2
  190. package/dist/text-codec.js +2 -2
  191. package/dist/url-value.d.ts +1 -1
  192. package/dist/url-value.js +6 -6
  193. package/dist/usage-guard.d.ts +16 -16
  194. package/dist/usage-guard.js +15 -15
  195. package/dist/usage-mirror.d.ts +5 -5
  196. package/dist/value-check.d.ts +6 -6
  197. package/dist/value-check.js +21 -21
  198. package/dist/value-check.js.map +1 -1
  199. package/dist/value-patterns.js +2 -2
  200. package/dist/value-schema.d.ts +4 -4
  201. package/dist/value-schema.d.ts.map +1 -1
  202. package/dist/value-schema.js +5 -5
  203. package/dist/value-schema.js.map +1 -1
  204. package/dist/zod-free.d.ts +25 -24
  205. package/dist/zod-free.d.ts.map +1 -1
  206. package/dist/zod-free.js +26 -25
  207. package/dist/zod-free.js.map +1 -1
  208. package/package.json +9 -10
  209. package/schema/DEPLOYED +0 -12
  210. package/schema/published/SHA256SUMS +0 -41
  211. package/schema/published/build-diagnostic/v1.10.json +0 -83
  212. package/schema/published/build-diagnostic/v1.11.json +0 -83
  213. package/schema/published/build-diagnostic/v1.3.json +0 -83
  214. package/schema/published/build-diagnostic/v1.4.json +0 -83
  215. package/schema/published/build-diagnostic/v1.5.json +0 -83
  216. package/schema/published/build-diagnostic/v1.6.json +0 -83
  217. package/schema/published/build-diagnostic/v1.7.json +0 -83
  218. package/schema/published/build-diagnostic/v1.8.json +0 -83
  219. package/schema/published/build-diagnostic/v1.9.json +0 -83
  220. package/schema/published/component-manifest/v1.10.json +0 -1443
  221. package/schema/published/component-manifest/v1.11.json +0 -1443
  222. package/schema/published/component-manifest/v1.3.json +0 -1411
  223. package/schema/published/component-manifest/v1.4.json +0 -1419
  224. package/schema/published/component-manifest/v1.5.json +0 -1437
  225. package/schema/published/component-manifest/v1.6.json +0 -1437
  226. package/schema/published/component-manifest/v1.7.json +0 -1437
  227. package/schema/published/component-manifest/v1.8.json +0 -1437
  228. package/schema/published/component-manifest/v1.9.json +0 -1437
  229. package/schema/published/data-api/v1.10.json +0 -282
  230. package/schema/published/data-api/v1.11.json +0 -282
  231. package/schema/published/data-api/v1.3.json +0 -281
  232. package/schema/published/data-api/v1.4.json +0 -281
  233. package/schema/published/data-api/v1.5.json +0 -281
  234. package/schema/published/data-api/v1.6.json +0 -281
  235. package/schema/published/data-api/v1.7.json +0 -281
  236. package/schema/published/data-api/v1.8.json +0 -282
  237. package/schema/published/data-api/v1.9.json +0 -282
  238. package/schema/published/library-manifest/v1.10.json +0 -68
  239. package/schema/published/library-manifest/v1.11.json +0 -68
  240. package/schema/published/library-manifest/v1.5.json +0 -68
  241. package/schema/published/library-manifest/v1.6.json +0 -68
  242. package/schema/published/library-manifest/v1.7.json +0 -68
  243. package/schema/published/library-manifest/v1.8.json +0 -68
  244. package/schema/published/library-manifest/v1.9.json +0 -68
  245. package/schema/published/taggor-config/v1.10.json +0 -56
  246. package/schema/published/taggor-config/v1.11.json +0 -56
  247. package/schema/published/taggor-config/v1.5.json +0 -56
  248. package/schema/published/taggor-config/v1.6.json +0 -56
  249. package/schema/published/taggor-config/v1.7.json +0 -56
  250. package/schema/published/taggor-config/v1.8.json +0 -56
  251. package/schema/published/taggor-config/v1.9.json +0 -56
  252. /package/{schema → dist/schema}/build-diagnostic.v1.json +0 -0
  253. /package/{schema → dist/schema}/data-api.v1.json +0 -0
  254. /package/{schema → dist/schema}/library-manifest.v1.json +0 -0
  255. /package/{schema → dist/schema}/taggor-config.v1.json +0 -0
@@ -1,21 +1,20 @@
1
1
  /**
2
- * The component manifest, contract v1 (TAG-201): the declarative description of one component that the
3
- * SDK extracts (TAG-202), the builder stores with each version, the API serves and the runtime
2
+ * The component manifest, contract v1: the declarative description of one component that the
3
+ * SDK extracts, the builder stores with each version, the API serves and the runtime
4
4
  * reads to register the custom element, coerce attributes, dispatch events and expose slots.
5
5
  *
6
- * The manifest is data only (ADR 0016): nothing in it is code, an expression or a template, every
6
+ * The manifest is data only: nothing in it is code, an expression or a template, every
7
7
  * collection is bounded, and unknown keys are rejected at every level. Field names are camelCase
8
8
  * (it is authored in TypeScript and mirrors the DOM); anything that travels in the data API is
9
- * snake_case (see `data-api.ts`). TAG-207 moved the contract version and the `__proto__` guard to
10
- * `contract-version.ts` and `proto-guard.ts` (both Zod-free) and checks the version first.
11
- * TAG-212 (contract 1.1) added `data.personal` and `data.privacyPolicyUrl`, the declaration that
12
- * makes the SDK require the visitor's consent on every submit. TAG-211 (contract 1.2) added
13
- * `locales`, the languages the component ships messages for and the one it falls back to. TAG-213
14
- * (contract 1.3) added `assets`, the images and fonts the builder found imported, by content hash.
15
- * TAG-314 (contract 1.4) added `formAssociated` (the element takes part in the host page's
16
- * `<form>` through `ElementInternals`) and `delegatesFocus` (the shadow root delegates focus).
17
- * TAG-210 (contract 1.5) added `libraries`, the workspace-scoped packages and semver ranges a
18
- * component expects; resolution and ownership stay with the API/builder, which has workspace context.
9
+ * snake_case (see `data-api.ts`). The contract version and the `__proto__` guard live in
10
+ * `contract-version.ts` and `proto-guard.ts` (both Zod-free), and the version is checked first.
11
+ * The manifest also declares `data.personal` and `data.privacyPolicyUrl` (the declaration that
12
+ * makes the SDK require the visitor's consent on every submit), `locales` (the languages the
13
+ * component ships messages for and the one it falls back to), `assets` (the images and fonts the
14
+ * builder found imported, by content hash), `formAssociated` (the element takes part in the host
15
+ * page's `<form>` through `ElementInternals`), `delegatesFocus` (the shadow root delegates focus)
16
+ * and `libraries` (the workspace-scoped packages and semver ranges a
17
+ * component expects); resolution and ownership stay with the API/builder, which has workspace context.
19
18
  */
20
19
  import * as z from "zod";
21
20
  import { componentLibrariesSchema } from "./libraries.js";
@@ -499,7 +498,7 @@ declare const cssVarSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
499
498
  default: z.ZodString;
500
499
  description: z.ZodOptional<z.ZodString>;
501
500
  }, z.core.$strict>], "type">;
502
- /** One declared collection of `data.collections` (TAG-703 reuses it in the site manifest). */
501
+ /** One declared collection of `data.collections` (the site manifest reuses it). */
503
502
  export declare const collectionSchema: z.ZodObject<{
504
503
  description: z.ZodOptional<z.ZodString>;
505
504
  fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -583,7 +582,7 @@ declare const trackEventSchema: z.ZodObject<{
583
582
  }, z.core.$strict>], "type">>>;
584
583
  }, z.core.$strict>;
585
584
  /**
586
- * The languages a component ships messages for (TAG-211, contract 1.2). The SDK's `useLocale` picks
585
+ * The languages a component ships messages for (contract 1.2). The SDK's `useLocale` picks
587
586
  * one of `supported` from the element's `locale` attribute, the nearest `lang`, the browser's
588
587
  * language and finally `default`; the builder extracts both from the author's message catalogs.
589
588
  */
@@ -592,8 +591,8 @@ declare const localesSchema: z.ZodObject<{
592
591
  default: z.ZodString;
593
592
  }, z.core.$strict>;
594
593
  /**
595
- * One asset of `assets` (TAG-213, contract 1.3), keyed by its hash: its type and size. The builder
596
- * (TAG-410) writes it; the author never does. Served at `/a/<hash>.<extension of type>`.
594
+ * One asset of `assets` (contract 1.3), keyed by its hash: its type and size. The builder
595
+ * writes it; the author never does. Served at `/a/<hash>.<extension of type>`.
597
596
  */
598
597
  declare const assetSchema: z.ZodObject<{
599
598
  type: z.ZodEnum<{
@@ -614,7 +613,7 @@ declare const assetSchema: z.ZodObject<{
614
613
  * not fit its prop). Side effects: none.
615
614
  */
616
615
  /**
617
- * The share of `interaction` and `custom` events the browser sends (TAG-819, contract 1.10; the description was reworded in 1.11, TAG-824);
616
+ * The share of `interaction` and `custom` events the browser sends (contract 1.10; the description was reworded in 1.11);
618
617
  * `render` and `error` are never sampled. The edge weights each stored event by
619
618
  * `1 / eventSampleRate` from the stored manifest, so the metrics stay estimates of the real total.
620
619
  */
@@ -1719,11 +1718,11 @@ export type CollectionDeclaration = z.infer<typeof collectionSchema>;
1719
1718
  export type TrackEventDeclaration = z.infer<typeof trackEventSchema>;
1720
1719
  /** A public CSS variable declaration. */
1721
1720
  export type CssVarDeclaration = z.infer<typeof cssVarSchema>;
1722
- /** The `locales` declaration (TAG-211). */
1721
+ /** The `locales` declaration. */
1723
1722
  export type LocalesDeclaration = z.infer<typeof localesSchema>;
1724
- /** The optional workspace library ranges of one component (TAG-210). */
1723
+ /** The optional workspace library ranges of one component. */
1725
1724
  export type LibrariesDeclaration = z.infer<typeof componentLibrariesSchema>;
1726
- /** One entry of `assets`, the value under its hash (TAG-213). */
1725
+ /** One entry of `assets`, the value under its hash. */
1727
1726
  export type AssetDeclaration = z.infer<typeof assetSchema>;
1728
1727
  /** One problem found in a manifest: a dotted path (`props.rate.default`) and a message. */
1729
1728
  export interface ManifestIssue {
@@ -1740,8 +1739,8 @@ export type ManifestParseResult = {
1740
1739
  };
1741
1740
  /**
1742
1741
  * The message of one Zod issue for a person or an agent: a bad record key shows the key's own
1743
- * problems, and unknown keys (which come from the input) are quoted bounded (TAG-220). Shared
1744
- * with the source package's metadata files (TAG-407).
1742
+ * problems, and unknown keys (which come from the input) are quoted bounded. Shared
1743
+ * with the source package's metadata files.
1745
1744
  *
1746
1745
  * Inputs: a Zod issue. Output: its message. Errors: none. Side effects: none.
1747
1746
  */
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AA+BzB,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAY1D,4FAA4F;AAC5F,eAAO,MAAM,eAAe,wEAKjB,CAAC;AAEZ,uFAA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,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC5E,uDAAuD;AACvD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,2FAA2F;AAC3F,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAC3B;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAA;CAAE,GAC3D;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,CAAA;CAAE,CAAC;AAKtE;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,CAkB5D;AA2DD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,mBAAmB,CAWjE;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAmBnE"}
package/dist/manifest.js CHANGED
@@ -1,21 +1,20 @@
1
1
  /**
2
- * The component manifest, contract v1 (TAG-201): the declarative description of one component that the
3
- * SDK extracts (TAG-202), the builder stores with each version, the API serves and the runtime
2
+ * The component manifest, contract v1: the declarative description of one component that the
3
+ * SDK extracts, the builder stores with each version, the API serves and the runtime
4
4
  * reads to register the custom element, coerce attributes, dispatch events and expose slots.
5
5
  *
6
- * The manifest is data only (ADR 0016): nothing in it is code, an expression or a template, every
6
+ * The manifest is data only: nothing in it is code, an expression or a template, every
7
7
  * collection is bounded, and unknown keys are rejected at every level. Field names are camelCase
8
8
  * (it is authored in TypeScript and mirrors the DOM); anything that travels in the data API is
9
- * snake_case (see `data-api.ts`). TAG-207 moved the contract version and the `__proto__` guard to
10
- * `contract-version.ts` and `proto-guard.ts` (both Zod-free) and checks the version first.
11
- * TAG-212 (contract 1.1) added `data.personal` and `data.privacyPolicyUrl`, the declaration that
12
- * makes the SDK require the visitor's consent on every submit. TAG-211 (contract 1.2) added
13
- * `locales`, the languages the component ships messages for and the one it falls back to. TAG-213
14
- * (contract 1.3) added `assets`, the images and fonts the builder found imported, by content hash.
15
- * TAG-314 (contract 1.4) added `formAssociated` (the element takes part in the host page's
16
- * `<form>` through `ElementInternals`) and `delegatesFocus` (the shadow root delegates focus).
17
- * TAG-210 (contract 1.5) added `libraries`, the workspace-scoped packages and semver ranges a
18
- * component expects; resolution and ownership stay with the API/builder, which has workspace context.
9
+ * snake_case (see `data-api.ts`). The contract version and the `__proto__` guard live in
10
+ * `contract-version.ts` and `proto-guard.ts` (both Zod-free), and the version is checked first.
11
+ * The manifest also declares `data.personal` and `data.privacyPolicyUrl` (the declaration that
12
+ * makes the SDK require the visitor's consent on every submit), `locales` (the languages the
13
+ * component ships messages for and the one it falls back to), `assets` (the images and fonts the
14
+ * builder found imported, by content hash), `formAssociated` (the element takes part in the host
15
+ * page's `<form>` through `ElementInternals`), `delegatesFocus` (the shadow root delegates focus)
16
+ * and `libraries` (the workspace-scoped packages and semver ranges a
17
+ * component expects); resolution and ownership stay with the API/builder, which has workspace context.
19
18
  */
20
19
  import * as z from "zod";
21
20
  import { boundedRecord, cssValueSchema, memberDescriptionSchema, plainText, uniqueArray, } from "./bounded.js";
@@ -93,7 +92,7 @@ const collectionFieldSchema = z
93
92
  arrayValueSchema(scalarValueSchema),
94
93
  ])
95
94
  .meta({ id: "CollectionField" });
96
- /** One declared collection of `data.collections` (TAG-703 reuses it in the site manifest). */
95
+ /** One declared collection of `data.collections` (the site manifest reuses it). */
97
96
  export const collectionSchema = z
98
97
  .strictObject({
99
98
  description: memberDescriptionSchema,
@@ -125,10 +124,10 @@ const dataSchema = z
125
124
  collections: boundedRecord(memberNameSchema, collectionSchema, MANIFEST_LIMITS.maxCollections, "collections").optional(),
126
125
  track: boundedRecord(memberNameSchema, trackEventSchema, MANIFEST_LIMITS.maxTrackEvents, "track events").optional(),
127
126
  personal: z.boolean().optional().meta({
128
- description: "True when the collections hold personal data (TAG-212): every submit then carries the visitor's consent. Defaults to false.",
127
+ description: "True when the collections hold personal data: every submit then carries the visitor's consent. Defaults to false.",
129
128
  }),
130
129
  privacyPolicyUrl: propNameSchema.optional().meta({
131
- description: 'Name of the prop of type "url" that links the privacy policy, set per site (TAG-212). Required when personal is true.',
130
+ description: 'Name of the prop of type "url" that links the privacy policy, set per site. Required when personal is true.',
132
131
  }),
133
132
  })
134
133
  .refine((data) => data.personal !== true || data.privacyPolicyUrl !== undefined, {
@@ -164,7 +163,7 @@ const localeTagSchema = z
164
163
  })
165
164
  .regex(LOCALE_TAG_PATTERN, { error: LOCALE_TAG_MESSAGE });
166
165
  /**
167
- * The languages a component ships messages for (TAG-211, contract 1.2). The SDK's `useLocale` picks
166
+ * The languages a component ships messages for (contract 1.2). The SDK's `useLocale` picks
168
167
  * one of `supported` from the element's `locale` attribute, the nearest `lang`, the browser's
169
168
  * language and finally `default`; the builder extracts both from the author's message catalogs.
170
169
  */
@@ -188,8 +187,8 @@ const assetHashSchema = z.string().max(64).regex(ASSET_HASH_PATTERN, {
188
187
  error: "an asset key must be the SHA-256 of the file's bytes, in 64 lowercase hex digits",
189
188
  });
190
189
  /**
191
- * One asset of `assets` (TAG-213, contract 1.3), keyed by its hash: its type and size. The builder
192
- * (TAG-410) writes it; the author never does. Served at `/a/<hash>.<extension of type>`.
190
+ * One asset of `assets` (contract 1.3), keyed by its hash: its type and size. The builder
191
+ * writes it; the author never does. Served at `/a/<hash>.<extension of type>`.
193
192
  */
194
193
  const assetSchema = z
195
194
  .strictObject({
@@ -205,7 +204,7 @@ const assetSchema = z
205
204
  .meta({ description: "Size of the file in bytes." }),
206
205
  })
207
206
  .meta({ id: "AssetDeclaration" });
208
- /** Semantic versions of the current major up to the newest minor this package knows (TAG-207). */
207
+ /** Semantic versions of the current major up to the newest minor this package knows. */
209
208
  const CONTRACT_VERSION_PATTERN = contractVersionPattern();
210
209
  /**
211
210
  * The component manifest schema (contract v1).
@@ -215,7 +214,7 @@ const CONTRACT_VERSION_PATTERN = contractVersionPattern();
215
214
  * not fit its prop). Side effects: none.
216
215
  */
217
216
  /**
218
- * The share of `interaction` and `custom` events the browser sends (TAG-819, contract 1.10; the description was reworded in 1.11, TAG-824);
217
+ * The share of `interaction` and `custom` events the browser sends (contract 1.10; the description was reworded in 1.11);
219
218
  * `render` and `error` are never sampled. The edge weights each stored event by
220
219
  * `1 / eventSampleRate` from the stored manifest, so the metrics stay estimates of the real total.
221
220
  */
@@ -249,14 +248,14 @@ export const componentManifestSchema = z
249
248
  locales: localesSchema.optional(),
250
249
  assets: boundedRecord(assetHashSchema, assetSchema, ASSET_LIMITS.maxAssets, "assets").optional(),
251
250
  formAssociated: z.boolean().optional().meta({
252
- description: "True for a form field component (TAG-314): the element is form-associated, submits the value the component sets under its name attribute, takes part in the form's validation, reset and disabled state, and delegates focus unless delegatesFocus is false. Defaults to false.",
251
+ description: "True for a form field component: the element is form-associated, submits the value the component sets under its name attribute, takes part in the form's validation, reset and disabled state, and delegates focus unless delegatesFocus is false. Defaults to false.",
253
252
  }),
254
253
  eventSampleRate: eventSampleRateSchema.optional(),
255
254
  delegatesFocus: z.boolean().optional().meta({
256
- description: "Whether the shadow root delegates focus (TAG-314): focusing the element, clicking one of its labels or a non-focusable part of it focuses the component's first focusable element. Defaults to the value of formAssociated.",
255
+ description: "Whether the shadow root delegates focus: focusing the element, clicking one of its labels or a non-focusable part of it focuses the component's first focusable element. Defaults to the value of formAssociated.",
257
256
  }),
258
257
  })
259
- // The policy link must be able to be an https page (security review of TAG-212): a prop limited
258
+ // The policy link must be able to be an https page: a prop limited
260
259
  // to http or mailto could never carry one. No `protocols` means the default, https only.
261
260
  .refine(
262
261
  // zod-only: privacy-policy-https-url-prop
@@ -271,8 +270,8 @@ export const componentManifestSchema = z
271
270
  error: 'privacyPolicyUrl must name a declared prop of type "url" whose protocols include https',
272
271
  path: ["data", "privacyPolicyUrl"],
273
272
  })
274
- // The `locale` attribute belongs to the SDK's language choice once `locales` is declared
275
- // (TAG-211); a prop of that name would read the same attribute with another meaning. Only
273
+ // The `locale` attribute belongs to the SDK's language choice once `locales` is declared;
274
+ // a prop of that name would read the same attribute with another meaning. Only
276
275
  // manifests declaring `locales` (new in 1.2) are refused, so no older manifest becomes invalid.
277
276
  .refine(
278
277
  // zod-only: locales-no-locale-prop
@@ -288,8 +287,8 @@ export const componentManifestSchema = z
288
287
  const MAX_KEYS_IN_MESSAGE = 10;
289
288
  /**
290
289
  * The message of one Zod issue for a person or an agent: a bad record key shows the key's own
291
- * problems, and unknown keys (which come from the input) are quoted bounded (TAG-220). Shared
292
- * with the source package's metadata files (TAG-407).
290
+ * problems, and unknown keys (which come from the input) are quoted bounded. Shared
291
+ * with the source package's metadata files.
293
292
  *
294
293
  * Inputs: a Zod issue. Output: its message. Errors: none. Side effects: none.
295
294
  */
@@ -303,7 +302,7 @@ export function issueMessage(issue) {
303
302
  ? `${message} (the page receives it as "<tag>:<name>", so write the name without the tag or a colon)`
304
303
  : message;
305
304
  }
306
- // Zod quotes every unknown key in full; keys come from the input, so bound them (TAG-220).
305
+ // Zod quotes every unknown key in full; keys come from the input, so bound them.
307
306
  if (issue.code === "unrecognized_keys") {
308
307
  const shown = issue.keys.slice(0, MAX_KEYS_IN_MESSAGE).map((key) => `"${boundedSegment(key)}"`);
309
308
  const more = issue.keys.length - shown.length;
@@ -313,7 +312,7 @@ export function issueMessage(issue) {
313
312
  return issue.message;
314
313
  }
315
314
  /**
316
- * How a missing required `<map>.<name>.<field>` is fixed (TAG-206), keyed by `<map>.<field>`;
315
+ * How a missing required `<map>.<name>.<field>` is fixed, keyed by `<map>.<field>`;
317
316
  * `name` is already bounded.
318
317
  */
319
318
  const MISSING_MEMBER_FIELD_HINTS = {
@@ -322,7 +321,7 @@ const MISSING_MEMBER_FIELD_HINTS = {
322
321
  };
323
322
  /**
324
323
  * Per-parse error map: a missing required field gets a message that names it and, for an event's
325
- * `detail` and a CSS variable's `default`, says what to write (TAG-206). Zod's own message
324
+ * `detail` and a CSS variable's `default`, says what to write. Zod's own message
326
325
  * ("Invalid input: expected object, received undefined") does neither. Returns `undefined` for
327
326
  * every other issue, so Zod and schema-level messages stay as they are.
328
327
  */
@@ -346,7 +345,7 @@ const manifestErrorMap = (issue) => {
346
345
  };
347
346
  function toIssues(error) {
348
347
  return error.issues.map((issue) => ({
349
- // Paths quote keys of the input: bounded like a __proto__ refusal (TAG-220).
348
+ // Paths quote keys of the input: bounded like a __proto__ refusal.
350
349
  path: boundedPath(issue.path.map(String)),
351
350
  message: issueMessage(issue),
352
351
  }));
@@ -354,7 +353,7 @@ function toIssues(error) {
354
353
  /**
355
354
  * The `contractVersion` issue of a decoded manifest, if its version is not a known minor of the
356
355
  * current major. Checked before the schema so the message says what to do (update the toolchain,
357
- * migrate, declare the version) instead of quoting a pattern (TAG-207).
356
+ * migrate, declare the version) instead of quoting a pattern.
358
357
  */
359
358
  function contractVersionIssue(input) {
360
359
  if (typeof input !== "object" || input === null || Array.isArray(input))
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,SAAS,EACT,WAAW,GACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EAC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,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;AACpD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAY;IAC5C,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,aAAa,EAAE,CAAC;QAChD,OAAO;YACL,EAAE,EAAE,KAAK;YACT,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,EAAE;oBACR,OAAO,EAAE,iCAAiC,MAAM,CAAC,eAAe,CAAC,aAAa,CAAC,aAAa;iBAC7F;aACF;SACF,CAAC;IACJ,CAAC;IACD,IAAI,OAAgB,CAAC;IACrB,IAAI,CAAC;QACH,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC,EAAE,CAAC;IACtF,CAAC;IACD,OAAO,aAAa,CAAC,OAAO,CAAC,CAAC;AAChC,CAAC"}
@@ -1,15 +1,14 @@
1
1
  /**
2
- * The metering contract of the loader hit point (TAG-801): the one place that names what the edge
2
+ * The metering contract of the loader hit point: the one place that names what the edge
3
3
  * writes per loader delivery and what counts toward a plan's usage, shared by the writer
4
- * (apps/edge, domain/loader-hit.ts) and the readers (the API's usage reader; TAG-712 and TAG-1603
5
- * build the quotas on it).
4
+ * (apps/edge, domain/loader-hit.ts) and the readers (the API's usage reader, which builds the quotas on it).
6
5
  *
7
- * Point layout of the `loader_hits` dataset (TAG-1823: a request writes a DELIVERY point, with no ASN and no
6
+ * Point layout of the `loader_hits` dataset (a request writes a DELIVERY point, with no ASN and no
8
7
  * visitor identifier, and a separate NETWORK point, with the ASN and `doubles[0] = 0`; `blobs[3]` is reserved and
9
- * always empty, it held the visitor hash until TAG-1823; only the delivery count under a honored `Sec-GPC: 1`), append-only (a reader of an older layout keeps
8
+ * always empty, it held the visitor hash; only the delivery count under a honored `Sec-GPC: 1`), append-only (a reader of an older layout keeps
10
9
  * working): `indexes[0]` site key; `blobs[0]` hostname; `blobs[1]` allowance; `blobs[2]` traffic
11
10
  * class; `doubles[0]` 1 (a delivery; sampling weights come from `_sample_interval`);
12
- * `doubles[1]` the number of components the delivered manifest offered; since TAG-1730 also
11
+ * `doubles[1]` the number of components the delivered manifest offered; also
13
12
  * `blobs[3]` reserved (always empty) and `blobs[4]` the ASN of a network point (the anomaly guard, `usage-guard.ts`).
14
13
  *
15
14
  * Privacy (golden rule 6): none of it identifies a visitor. The traffic class is derived from the
@@ -17,7 +16,7 @@
17
16
  */
18
17
  /**
19
18
  * The header the API sets when it reads a site's loader itself (`?preload=true` needs the runtime
20
- * version the loader names, TAG-335). The edge does not record a hit point for such a request: it
19
+ * version the loader names). The edge does not record a hit point for such a request: it
21
20
  * is not a page loading the snippet, and counting it would make the installation check say
22
21
  * "detected" before any page has the snippet. No secret guards it on purpose: sending it can only
23
22
  * LOWER the counts of the caller's own non-visitor requests (a real visitor never sends it, and
@@ -46,7 +45,7 @@ export declare function countsTowardUsage(allowance: HostAllowance, traffic: Tra
46
45
  */
47
46
  export declare function usageMonthStart(date: Date): Date;
48
47
  /**
49
- * The kinds of event the browser can report to `POST /e/<siteKey>` (TAG-816), the layout of the
48
+ * The kinds of event the browser can report to `POST /e/<siteKey>`, the layout of the
50
49
  * `component_events` dataset (append-only): `indexes[0]` site key; `blobs[0]` kind; `blobs[1]` the
51
50
  * component tag; `blobs[2]` the published version hash; `blobs[3]` the hostname of the page's
52
51
  * `Origin`; `blobs[4]` traffic class; `blobs[5]` the event name (`""` for `render`);
@@ -59,7 +58,7 @@ export declare function usageMonthStart(date: Date): Date;
59
58
  export declare const COMPONENT_EVENT_KINDS: readonly ["render", "interaction", "custom", "error"];
60
59
  export type ComponentEventKind = (typeof COMPONENT_EVENT_KINDS)[number];
61
60
  /**
62
- * The server-render points of `GET /r/<siteKey>/<tag>` (spike, ADR 0066, no ticket), written by the
61
+ * The server-render points of `GET /r/<siteKey>/<tag>`, written by the
63
62
  * edge itself into the same `component_events` dataset with the same layout: `indexes[0]` site key;
64
63
  * `blobs[0]` the kind; `blobs[1]` the component tag; `blobs[2]` the version hash; every other blob
65
64
  * `""` (no hostname, traffic class, name, country nor device: the caller is the customer's server,
@@ -74,32 +73,32 @@ export type ComponentEventKind = (typeof COMPONENT_EVENT_KINDS)[number];
74
73
  export declare const SSR_POINT_KINDS: readonly ["ssr_render", "ssr_hit"];
75
74
  export type SsrPointKind = (typeof SSR_POINT_KINDS)[number];
76
75
  /**
77
- * The kind of a render that gave no fragment (TAG-635): written by the edge with the same layout,
76
+ * The kind of a render that gave no fragment: written by the edge with the same layout,
78
77
  * for staff queries and alerts. Not in `SSR_POINT_KINDS` on purpose: that list is what the API's
79
78
  * usage reader asks for, and a failed render is never counted or billed.
80
79
  */
81
80
  export declare const SSR_FAILED_POINT_KIND = "ssr_failed";
82
81
  /**
83
- * The coarse device class of an event (TAG-816), derived from the `User-Agent` on the edge, which
82
+ * The coarse device class of an event, derived from the `User-Agent` on the edge, which
84
83
  * keeps only the class: `mobile` (a phone), `tablet`, `desktop`, or `other` (a bot, a library, no
85
84
  * header, anything not recognized). Four values, so the dataset's cardinality stays four.
86
85
  */
87
86
  export declare const DEVICE_CLASSES: readonly ["mobile", "desktop", "tablet", "other"];
88
87
  export type DeviceClass = (typeof DEVICE_CLASSES)[number];
89
88
  /**
90
- * The smallest `eventSampleRate` a manifest may declare (TAG-819): one event in a thousand, so the
89
+ * The smallest `eventSampleRate` a manifest may declare: one event in a thousand, so the
91
90
  * weight of a sent event (`1 / rate`) never passes 1000 and one forged or lucky event cannot stand
92
91
  * for an unbounded count.
93
92
  */
94
93
  export declare const EVENT_SAMPLE_RATE_MIN = 0.001;
95
94
  /**
96
- * The kinds the browser never samples (TAG-819): the render count, the `error` reports of the
95
+ * The kinds the browser never samples: the render count, the `error` reports of the
97
96
  * runtime (rare, and a sample would hide a failing release). Only `interaction` and `custom` follow `eventSampleRate`.
98
97
  */
99
98
  export declare const UNSAMPLED_EVENT_KINDS: readonly ComponentEventKind[];
100
99
  /**
101
- * Whether the browser sends one event of this kind, given the component's `eventSampleRate`
102
- * (TAG-819). A kind that is never sampled, an undeclared rate and a rate outside its bounds always
100
+ * Whether the browser sends one event of this kind, given the component's `eventSampleRate`.
101
+ * A kind that is never sampled, an undeclared rate and a rate outside its bounds always
103
102
  * send (a bad value must never silently drop events). Otherwise the event is sent with
104
103
  * probability `rate`.
105
104
  * Inputs: the kind, the declared rate (or `undefined`) and a draw in `[0, 1)` (`Math.random()` in
@@ -107,7 +106,7 @@ export declare const UNSAMPLED_EVENT_KINDS: readonly ComponentEventKind[];
107
106
  */
108
107
  export declare function shouldSendEvent(kind: ComponentEventKind, rate: number | undefined, draw: number): boolean;
109
108
  /**
110
- * How many real events one stored event stands for (TAG-819): `1 / rate` for a sampled kind, and 1
109
+ * How many real events one stored event stands for: `1 / rate` for a sampled kind, and 1
111
110
  * for a kind that is never sampled or a rate that is not usable. The edge writes it as
112
111
  * `doubles[0]` from the rate of the STORED manifest, never from the request, so a visitor cannot
113
112
  * claim a weight; summing the weights over the sent events estimates the real total.
@@ -116,8 +115,8 @@ export declare function shouldSendEvent(kind: ComponentEventKind, rate: number |
116
115
  */
117
116
  export declare function eventWeight(kind: ComponentEventKind, rate: number | undefined): number;
118
117
  /**
119
- * The most beacons of one kind (`interaction` or `custom`) a component sends in one page view
120
- * (TAG-820), counted in the SDK's data transport: a component that emits on every keystroke or
118
+ * The most beacons of one kind (`interaction` or `custom`) a component sends in one page view,
119
+ * counted in the SDK's data transport: a component that emits on every keystroke or
121
120
  * slider move cannot flood the visitor's network or the dataset. Sampling (`shouldSendEvent`)
122
121
  * applies on top; the edge's flood keys stay the technical protection.
123
122
  */
@@ -1 +1 @@
1
- {"version":3,"file":"metering.d.ts","sourceRoot":"","sources":["../src/metering.ts"],"names":[],"mappings":"AAAA;;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,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,QAAQ,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EAAwB,CAAC;AAOxF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,kBAAkB,EACxB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,IAAI,EAAE,MAAM,GACX,OAAO,CAGT;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGtF;AAED;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,KAAK,CAAC"}
package/dist/metering.js CHANGED
@@ -1,15 +1,14 @@
1
1
  /**
2
- * The metering contract of the loader hit point (TAG-801): the one place that names what the edge
2
+ * The metering contract of the loader hit point: the one place that names what the edge
3
3
  * writes per loader delivery and what counts toward a plan's usage, shared by the writer
4
- * (apps/edge, domain/loader-hit.ts) and the readers (the API's usage reader; TAG-712 and TAG-1603
5
- * build the quotas on it).
4
+ * (apps/edge, domain/loader-hit.ts) and the readers (the API's usage reader, which builds the quotas on it).
6
5
  *
7
- * Point layout of the `loader_hits` dataset (TAG-1823: a request writes a DELIVERY point, with no ASN and no
6
+ * Point layout of the `loader_hits` dataset (a request writes a DELIVERY point, with no ASN and no
8
7
  * visitor identifier, and a separate NETWORK point, with the ASN and `doubles[0] = 0`; `blobs[3]` is reserved and
9
- * always empty, it held the visitor hash until TAG-1823; only the delivery count under a honored `Sec-GPC: 1`), append-only (a reader of an older layout keeps
8
+ * always empty, it held the visitor hash; only the delivery count under a honored `Sec-GPC: 1`), append-only (a reader of an older layout keeps
10
9
  * working): `indexes[0]` site key; `blobs[0]` hostname; `blobs[1]` allowance; `blobs[2]` traffic
11
10
  * class; `doubles[0]` 1 (a delivery; sampling weights come from `_sample_interval`);
12
- * `doubles[1]` the number of components the delivered manifest offered; since TAG-1730 also
11
+ * `doubles[1]` the number of components the delivered manifest offered; also
13
12
  * `blobs[3]` reserved (always empty) and `blobs[4]` the ASN of a network point (the anomaly guard, `usage-guard.ts`).
14
13
  *
15
14
  * Privacy (golden rule 6): none of it identifies a visitor. The traffic class is derived from the
@@ -17,7 +16,7 @@
17
16
  */
18
17
  /**
19
18
  * The header the API sets when it reads a site's loader itself (`?preload=true` needs the runtime
20
- * version the loader names, TAG-335). The edge does not record a hit point for such a request: it
19
+ * version the loader names). The edge does not record a hit point for such a request: it
21
20
  * is not a page loading the snippet, and counting it would make the installation check say
22
21
  * "detected" before any page has the snippet. No secret guards it on purpose: sending it can only
23
22
  * LOWER the counts of the caller's own non-visitor requests (a real visitor never sends it, and
@@ -48,7 +47,7 @@ export function usageMonthStart(date) {
48
47
  return new Date(Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), 1));
49
48
  }
50
49
  /**
51
- * The kinds of event the browser can report to `POST /e/<siteKey>` (TAG-816), the layout of the
50
+ * The kinds of event the browser can report to `POST /e/<siteKey>`, the layout of the
52
51
  * `component_events` dataset (append-only): `indexes[0]` site key; `blobs[0]` kind; `blobs[1]` the
53
52
  * component tag; `blobs[2]` the published version hash; `blobs[3]` the hostname of the page's
54
53
  * `Origin`; `blobs[4]` traffic class; `blobs[5]` the event name (`""` for `render`);
@@ -60,7 +59,7 @@ export function usageMonthStart(date) {
60
59
  */
61
60
  export const COMPONENT_EVENT_KINDS = ["render", "interaction", "custom", "error"];
62
61
  /**
63
- * The server-render points of `GET /r/<siteKey>/<tag>` (spike, ADR 0066, no ticket), written by the
62
+ * The server-render points of `GET /r/<siteKey>/<tag>`, written by the
64
63
  * edge itself into the same `component_events` dataset with the same layout: `indexes[0]` site key;
65
64
  * `blobs[0]` the kind; `blobs[1]` the component tag; `blobs[2]` the version hash; every other blob
66
65
  * `""` (no hostname, traffic class, name, country nor device: the caller is the customer's server,
@@ -74,25 +73,25 @@ export const COMPONENT_EVENT_KINDS = ["render", "interaction", "custom", "error"
74
73
  */
75
74
  export const SSR_POINT_KINDS = ["ssr_render", "ssr_hit"];
76
75
  /**
77
- * The kind of a render that gave no fragment (TAG-635): written by the edge with the same layout,
76
+ * The kind of a render that gave no fragment: written by the edge with the same layout,
78
77
  * for staff queries and alerts. Not in `SSR_POINT_KINDS` on purpose: that list is what the API's
79
78
  * usage reader asks for, and a failed render is never counted or billed.
80
79
  */
81
80
  export const SSR_FAILED_POINT_KIND = "ssr_failed";
82
81
  /**
83
- * The coarse device class of an event (TAG-816), derived from the `User-Agent` on the edge, which
82
+ * The coarse device class of an event, derived from the `User-Agent` on the edge, which
84
83
  * keeps only the class: `mobile` (a phone), `tablet`, `desktop`, or `other` (a bot, a library, no
85
84
  * header, anything not recognized). Four values, so the dataset's cardinality stays four.
86
85
  */
87
86
  export const DEVICE_CLASSES = ["mobile", "desktop", "tablet", "other"];
88
87
  /**
89
- * The smallest `eventSampleRate` a manifest may declare (TAG-819): one event in a thousand, so the
88
+ * The smallest `eventSampleRate` a manifest may declare: one event in a thousand, so the
90
89
  * weight of a sent event (`1 / rate`) never passes 1000 and one forged or lucky event cannot stand
91
90
  * for an unbounded count.
92
91
  */
93
92
  export const EVENT_SAMPLE_RATE_MIN = 0.001;
94
93
  /**
95
- * The kinds the browser never samples (TAG-819): the render count, the `error` reports of the
94
+ * The kinds the browser never samples: the render count, the `error` reports of the
96
95
  * runtime (rare, and a sample would hide a failing release). Only `interaction` and `custom` follow `eventSampleRate`.
97
96
  */
98
97
  export const UNSAMPLED_EVENT_KINDS = ["render", "error"];
@@ -101,8 +100,8 @@ function usableRate(rate) {
101
100
  return typeof rate === "number" && rate >= EVENT_SAMPLE_RATE_MIN && rate <= 1;
102
101
  }
103
102
  /**
104
- * Whether the browser sends one event of this kind, given the component's `eventSampleRate`
105
- * (TAG-819). A kind that is never sampled, an undeclared rate and a rate outside its bounds always
103
+ * Whether the browser sends one event of this kind, given the component's `eventSampleRate`.
104
+ * A kind that is never sampled, an undeclared rate and a rate outside its bounds always
106
105
  * send (a bad value must never silently drop events). Otherwise the event is sent with
107
106
  * probability `rate`.
108
107
  * Inputs: the kind, the declared rate (or `undefined`) and a draw in `[0, 1)` (`Math.random()` in
@@ -114,7 +113,7 @@ export function shouldSendEvent(kind, rate, draw) {
114
113
  return draw < rate;
115
114
  }
116
115
  /**
117
- * How many real events one stored event stands for (TAG-819): `1 / rate` for a sampled kind, and 1
116
+ * How many real events one stored event stands for: `1 / rate` for a sampled kind, and 1
118
117
  * for a kind that is never sampled or a rate that is not usable. The edge writes it as
119
118
  * `doubles[0]` from the rate of the STORED manifest, never from the request, so a visitor cannot
120
119
  * claim a weight; summing the weights over the sent events estimates the real total.
@@ -127,8 +126,8 @@ export function eventWeight(kind, rate) {
127
126
  return 1 / rate;
128
127
  }
129
128
  /**
130
- * The most beacons of one kind (`interaction` or `custom`) a component sends in one page view
131
- * (TAG-820), counted in the SDK's data transport: a component that emits on every keystroke or
129
+ * The most beacons of one kind (`interaction` or `custom`) a component sends in one page view,
130
+ * counted in the SDK's data transport: a component that emits on every keystroke or
132
131
  * slider move cannot flood the visitor's network or the dataset. Sampling (`shouldSendEvent`)
133
132
  * applies on top; the edge's flood keys stay the technical protection.
134
133
  */
@@ -1 +1 @@
1
- {"version":3,"file":"metering.js","sourceRoot":"","sources":["../src/metering.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAE7D,qGAAqG;AACrG,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAU,CAAC;AAG1E,+FAA+F;AAC/F,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,KAAK,CAAU,CAAC;AAGzD;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAi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AAC;AAGlE;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,YAAY,CAAC;AAElD;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAU,CAAC;AAGhF;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,CAAC;AAE3C;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAkC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAExF,uFAAuF;AACvF,SAAS,UAAU,CAAC,IAAwB;IAC1C,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,IAAI,qBAAqB,IAAI,IAAI,IAAI,CAAC,CAAC;AAChF,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAC7B,IAAwB,EACxB,IAAwB,EACxB,IAAY;IAEZ,IAAI,qBAAqB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3E,OAAO,IAAI,GAAG,IAAI,CAAC;AACrB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CAAC,IAAwB,EAAE,IAAwB;IAC5E,IAAI,qBAAqB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,CAAC,CAAC;IACxE,OAAO,CAAC,GAAG,IAAI,CAAC;AAClB,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC"}
package/dist/migrate.d.ts CHANGED
@@ -16,7 +16,7 @@ export interface ManifestMigration {
16
16
  */
17
17
  export declare const MANIFEST_MIGRATIONS: readonly ManifestMigration[];
18
18
  /**
19
- * Why `migrateManifest` refused, stable for callers and logs (TAG-220):
19
+ * Why `migrateManifest` refused, stable for callers and logs:
20
20
  * - `not-an-object`: the input (or what its `toJSON` produced) is not a JSON object;
21
21
  * - `proto-key`, `too-large`: see `findOwnProtoKey`, checked on the input and again on the copy;
22
22
  * - `unreadable`: reading or copying the input threw (a throwing getter, proxy or `toJSON`, a