@taggor/contract 0.4.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 (252) 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 +13 -12
  20. package/dist/contract-version.d.ts.map +1 -1
  21. package/dist/contract-version.js +13 -12
  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 +67 -7
  43. package/dist/error-catalog.d.ts.map +1 -1
  44. package/dist/error-catalog.js +105 -49
  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 +3 -3
  57. package/dist/index.d.ts +4 -3
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +4 -3
  60. package/dist/index.js.map +1 -1
  61. package/dist/json-schema.d.ts +15 -15
  62. package/dist/json-schema.d.ts.map +1 -1
  63. package/dist/json-schema.js +22 -22
  64. package/dist/json-schema.js.map +1 -1
  65. package/dist/key-checksum.d.ts +1 -1
  66. package/dist/key-checksum.js +1 -1
  67. package/dist/libraries.d.ts +4 -4
  68. package/dist/libraries.d.ts.map +1 -1
  69. package/dist/libraries.js +4 -4
  70. package/dist/libraries.js.map +1 -1
  71. package/dist/limit-catalog.d.ts +17 -17
  72. package/dist/limit-catalog.d.ts.map +1 -1
  73. package/dist/limit-catalog.js +30 -30
  74. package/dist/limit-catalog.js.map +1 -1
  75. package/dist/limits.d.ts +15 -15
  76. package/dist/limits.d.ts.map +1 -1
  77. package/dist/limits.js +16 -16
  78. package/dist/limits.js.map +1 -1
  79. package/dist/locale-tag.d.ts +2 -2
  80. package/dist/locale-tag.js +2 -2
  81. package/dist/make-diagnostic.d.ts +2 -3
  82. package/dist/make-diagnostic.d.ts.map +1 -1
  83. package/dist/make-diagnostic.js.map +1 -1
  84. package/dist/manifest-compat-diagnostics.d.ts +1 -1
  85. package/dist/manifest-compat.js +1 -1
  86. package/dist/manifest.d.ts +21 -22
  87. package/dist/manifest.d.ts.map +1 -1
  88. package/dist/manifest.js +31 -32
  89. package/dist/manifest.js.map +1 -1
  90. package/dist/metering.d.ts +17 -18
  91. package/dist/metering.d.ts.map +1 -1
  92. package/dist/metering.js +17 -18
  93. package/dist/metering.js.map +1 -1
  94. package/dist/migrate.d.ts +1 -1
  95. package/dist/migrate.js +5 -5
  96. package/dist/migrate.js.map +1 -1
  97. package/dist/money.d.ts +2 -2
  98. package/dist/money.js +2 -2
  99. package/dist/names.d.ts +4 -4
  100. package/dist/names.js +4 -4
  101. package/dist/overage-pricing.d.ts +1 -1
  102. package/dist/overage-pricing.js +1 -1
  103. package/dist/plan-ids.d.ts +1 -1
  104. package/dist/plan-ids.js +1 -1
  105. package/dist/plan-limits.d.ts +13 -13
  106. package/dist/plan-limits.d.ts.map +1 -1
  107. package/dist/plan-limits.js +8 -8
  108. package/dist/plan-limits.js.map +1 -1
  109. package/dist/plan-pricing.d.ts +10 -12
  110. package/dist/plan-pricing.d.ts.map +1 -1
  111. package/dist/plan-pricing.js +12 -14
  112. package/dist/plan-pricing.js.map +1 -1
  113. package/dist/plan-usage.d.ts +18 -18
  114. package/dist/plan-usage.d.ts.map +1 -1
  115. package/dist/plan-usage.js +19 -20
  116. package/dist/plan-usage.js.map +1 -1
  117. package/dist/preview-token.js +2 -2
  118. package/dist/prop-names.d.ts +5 -5
  119. package/dist/prop-names.d.ts.map +1 -1
  120. package/dist/prop-names.js +10 -10
  121. package/dist/prop-names.js.map +1 -1
  122. package/dist/prop-type-docs.js +1 -1
  123. package/dist/prop-types.d.ts +6 -6
  124. package/dist/prop-types.js +16 -16
  125. package/dist/prop-types.js.map +1 -1
  126. package/dist/props.d.ts +5 -5
  127. package/dist/props.js +6 -6
  128. package/dist/props.js.map +1 -1
  129. package/dist/proto-guard.js +3 -3
  130. package/dist/proto-guard.js.map +1 -1
  131. package/dist/runtime-errors.d.ts +2 -2
  132. package/dist/runtime-errors.js +2 -2
  133. package/dist/runtime-pointers.d.ts +2 -2
  134. package/dist/runtime-pointers.js +2 -2
  135. package/{schema → dist/schema}/component-manifest.v1.json +5 -5
  136. package/dist/secret-scan.d.ts +10 -10
  137. package/dist/secret-scan.d.ts.map +1 -1
  138. package/dist/secret-scan.js +15 -16
  139. package/dist/secret-scan.js.map +1 -1
  140. package/dist/semver.d.ts +2 -2
  141. package/dist/semver.js +2 -2
  142. package/dist/server-key.js +1 -1
  143. package/dist/site-manifest-keys.d.ts +11 -11
  144. package/dist/site-manifest-keys.d.ts.map +1 -1
  145. package/dist/site-manifest-keys.js +18 -18
  146. package/dist/site-manifest-keys.js.map +1 -1
  147. package/dist/site-manifest.d.ts +2 -2
  148. package/dist/site-manifest.js +9 -9
  149. package/dist/site-manifest.js.map +1 -1
  150. package/dist/source-archive.d.ts +13 -13
  151. package/dist/source-archive.js +25 -25
  152. package/dist/source-archive.js.map +1 -1
  153. package/dist/source-package-corpus.d.ts +3 -4
  154. package/dist/source-package-corpus.d.ts.map +1 -1
  155. package/dist/source-package-corpus.js +4 -6
  156. package/dist/source-package-corpus.js.map +1 -1
  157. package/dist/source-package.d.ts +17 -17
  158. package/dist/source-package.d.ts.map +1 -1
  159. package/dist/source-package.js +15 -15
  160. package/dist/source-package.js.map +1 -1
  161. package/dist/source-secrets.js +1 -1
  162. package/dist/ssr-cap.d.ts +1 -1
  163. package/dist/ssr-cap.js +4 -4
  164. package/dist/ssr-kv.d.ts +1 -1
  165. package/dist/ssr-kv.js +1 -1
  166. package/dist/ssr-render.d.ts +2 -2
  167. package/dist/ssr-render.d.ts.map +1 -1
  168. package/dist/ssr-render.js +3 -3
  169. package/dist/ssr-render.js.map +1 -1
  170. package/dist/ssr-version-ledger.js +3 -3
  171. package/dist/style-references.d.ts +2 -3
  172. package/dist/style-references.d.ts.map +1 -1
  173. package/dist/style-references.js +10 -11
  174. package/dist/style-references.js.map +1 -1
  175. package/dist/support-contact.d.ts +11 -0
  176. package/dist/support-contact.d.ts.map +1 -0
  177. package/dist/support-contact.js +11 -0
  178. package/dist/support-contact.js.map +1 -0
  179. package/dist/tag-name.d.ts +6 -6
  180. package/dist/tag-name.d.ts.map +1 -1
  181. package/dist/tag-name.js +7 -7
  182. package/dist/tag-name.js.map +1 -1
  183. package/dist/tar-writer.js +1 -1
  184. package/dist/testing.d.ts +1 -1
  185. package/dist/testing.js +1 -1
  186. package/dist/text-codec.d.ts +2 -2
  187. package/dist/text-codec.js +2 -2
  188. package/dist/url-value.d.ts +1 -1
  189. package/dist/url-value.js +6 -6
  190. package/dist/usage-guard.d.ts +16 -16
  191. package/dist/usage-guard.js +15 -15
  192. package/dist/usage-mirror.d.ts +5 -5
  193. package/dist/value-check.d.ts +6 -6
  194. package/dist/value-check.js +20 -20
  195. package/dist/value-check.js.map +1 -1
  196. package/dist/value-patterns.js +2 -2
  197. package/dist/value-schema.d.ts +3 -3
  198. package/dist/value-schema.d.ts.map +1 -1
  199. package/dist/value-schema.js +4 -4
  200. package/dist/value-schema.js.map +1 -1
  201. package/dist/zod-free.d.ts +24 -23
  202. package/dist/zod-free.d.ts.map +1 -1
  203. package/dist/zod-free.js +25 -24
  204. package/dist/zod-free.js.map +1 -1
  205. package/package.json +9 -10
  206. package/schema/DEPLOYED +0 -12
  207. package/schema/published/SHA256SUMS +0 -41
  208. package/schema/published/build-diagnostic/v1.10.json +0 -83
  209. package/schema/published/build-diagnostic/v1.11.json +0 -83
  210. package/schema/published/build-diagnostic/v1.3.json +0 -83
  211. package/schema/published/build-diagnostic/v1.4.json +0 -83
  212. package/schema/published/build-diagnostic/v1.5.json +0 -83
  213. package/schema/published/build-diagnostic/v1.6.json +0 -83
  214. package/schema/published/build-diagnostic/v1.7.json +0 -83
  215. package/schema/published/build-diagnostic/v1.8.json +0 -83
  216. package/schema/published/build-diagnostic/v1.9.json +0 -83
  217. package/schema/published/component-manifest/v1.10.json +0 -1443
  218. package/schema/published/component-manifest/v1.11.json +0 -1443
  219. package/schema/published/component-manifest/v1.3.json +0 -1411
  220. package/schema/published/component-manifest/v1.4.json +0 -1419
  221. package/schema/published/component-manifest/v1.5.json +0 -1437
  222. package/schema/published/component-manifest/v1.6.json +0 -1437
  223. package/schema/published/component-manifest/v1.7.json +0 -1437
  224. package/schema/published/component-manifest/v1.8.json +0 -1437
  225. package/schema/published/component-manifest/v1.9.json +0 -1437
  226. package/schema/published/data-api/v1.10.json +0 -282
  227. package/schema/published/data-api/v1.11.json +0 -282
  228. package/schema/published/data-api/v1.3.json +0 -281
  229. package/schema/published/data-api/v1.4.json +0 -281
  230. package/schema/published/data-api/v1.5.json +0 -281
  231. package/schema/published/data-api/v1.6.json +0 -281
  232. package/schema/published/data-api/v1.7.json +0 -281
  233. package/schema/published/data-api/v1.8.json +0 -282
  234. package/schema/published/data-api/v1.9.json +0 -282
  235. package/schema/published/library-manifest/v1.10.json +0 -68
  236. package/schema/published/library-manifest/v1.11.json +0 -68
  237. package/schema/published/library-manifest/v1.5.json +0 -68
  238. package/schema/published/library-manifest/v1.6.json +0 -68
  239. package/schema/published/library-manifest/v1.7.json +0 -68
  240. package/schema/published/library-manifest/v1.8.json +0 -68
  241. package/schema/published/library-manifest/v1.9.json +0 -68
  242. package/schema/published/taggor-config/v1.10.json +0 -56
  243. package/schema/published/taggor-config/v1.11.json +0 -56
  244. package/schema/published/taggor-config/v1.5.json +0 -56
  245. package/schema/published/taggor-config/v1.6.json +0 -56
  246. package/schema/published/taggor-config/v1.7.json +0 -56
  247. package/schema/published/taggor-config/v1.8.json +0 -56
  248. package/schema/published/taggor-config/v1.9.json +0 -56
  249. /package/{schema → dist/schema}/build-diagnostic.v1.json +0 -0
  250. /package/{schema → dist/schema}/data-api.v1.json +0 -0
  251. /package/{schema → dist/schema}/library-manifest.v1.json +0 -0
  252. /package/{schema → dist/schema}/taggor-config.v1.json +0 -0
@@ -1,15 +1,15 @@
1
1
  /**
2
- * `BuildDiagnostic` (TAG-404): one error or warning of a build, in the shape an agent acts on.
2
+ * `BuildDiagnostic`: one error or warning of a build, in the shape an agent acts on.
3
3
  *
4
4
  * Every problem the builder finds (bundler, type check, manifest, gates, infrastructure) is
5
5
  * normalized to this: a stable `code` from `diagnosticCatalog` (or `TS2322` from the type check),
6
6
  * the `severity`, the position in the source package (`file`, `line`, `column`, the quoted
7
7
  * `snippet`) or in the manifest (`manifestPath`), a `message` in English, a `hint` with the fix
8
- * and the `docsUrl` of the code's page. `GET /v1/builds/{id}` (TAG-910), the CLI and the MCP pass
8
+ * and the `docsUrl` of the code's page. `GET /v1/builds/{id}`, the CLI and the MCP pass
9
9
  * these on unchanged. The container that produces them runs customer code, so the Worker parses
10
10
  * them with this schema again (FC-12): every string is bounded and `file` is always relative.
11
11
  *
12
- * Two schemas since TAG-234: `buildDiagnosticWireSchema` is the published format,
12
+ * Two schemas: `buildDiagnosticWireSchema` is the published format,
13
13
  * whose `code` is any string in the catalog's format, so a new catalog code changes no published
14
14
  * JSON Schema; clients read with it and treat a code they do not know as generic.
15
15
  * `buildDiagnosticSchema` is the same object restricted to this package's catalog: what Taggor
@@ -25,14 +25,14 @@ export declare const DIAGNOSTIC_FILE_PATTERN: RegExp;
25
25
  /** A `docsUrl`: the catalog page of the code, with `#TSxxxx` for a TypeScript code. */
26
26
  export declare const DIAGNOSTIC_DOCS_URL_PATTERN: RegExp;
27
27
  /**
28
- * A build diagnostic code as published (TAG-234): any string in the catalog's format, bounded,
28
+ * A build diagnostic code as published: any string in the catalog's format, bounded,
29
29
  * known to this package or not. The JSON Schema of `code` is this, never the list of codes.
30
30
  */
31
31
  export declare const diagnosticCodeFormatSchema: z.ZodString;
32
32
  /** A build diagnostic code Taggor emits: a named catalog code or a TypeScript code. */
33
33
  export declare const diagnosticCodeSchema: z.ZodType<DiagnosticCode, DiagnosticCode>;
34
34
  /**
35
- * The published schema of one build diagnostic (TAG-234): the source of
35
+ * The published schema of one build diagnostic: the source of
36
36
  * `schema/build-diagnostic.v1.json`. Strict: an unknown key is refused. `code` is any code in the
37
37
  * catalog's format (`diagnosticCodeFormatSchema`), so adding a code to `diagnosticCatalog` does
38
38
  * not change it. Clients of `GET /v1/builds/{id}` (CLI, MCP, portal) parse with this one and show
@@ -1,15 +1,15 @@
1
1
  /**
2
- * `BuildDiagnostic` (TAG-404): one error or warning of a build, in the shape an agent acts on.
2
+ * `BuildDiagnostic`: one error or warning of a build, in the shape an agent acts on.
3
3
  *
4
4
  * Every problem the builder finds (bundler, type check, manifest, gates, infrastructure) is
5
5
  * normalized to this: a stable `code` from `diagnosticCatalog` (or `TS2322` from the type check),
6
6
  * the `severity`, the position in the source package (`file`, `line`, `column`, the quoted
7
7
  * `snippet`) or in the manifest (`manifestPath`), a `message` in English, a `hint` with the fix
8
- * and the `docsUrl` of the code's page. `GET /v1/builds/{id}` (TAG-910), the CLI and the MCP pass
8
+ * and the `docsUrl` of the code's page. `GET /v1/builds/{id}`, the CLI and the MCP pass
9
9
  * these on unchanged. The container that produces them runs customer code, so the Worker parses
10
10
  * them with this schema again (FC-12): every string is bounded and `file` is always relative.
11
11
  *
12
- * Two schemas since TAG-234: `buildDiagnosticWireSchema` is the published format,
12
+ * Two schemas: `buildDiagnosticWireSchema` is the published format,
13
13
  * whose `code` is any string in the catalog's format, so a new catalog code changes no published
14
14
  * JSON Schema; clients read with it and treat a code they do not know as generic.
15
15
  * `buildDiagnosticSchema` is the same object restricted to this package's catalog: what Taggor
@@ -32,7 +32,7 @@ const typescriptCode = z
32
32
  .max(L.diagnosticCodeMaxLength)
33
33
  .regex(TYPESCRIPT_DIAGNOSTIC_PATTERN);
34
34
  /**
35
- * A build diagnostic code as published (TAG-234): any string in the catalog's format, bounded,
35
+ * A build diagnostic code as published: any string in the catalog's format, bounded,
36
36
  * known to this package or not. The JSON Schema of `code` is this, never the list of codes.
37
37
  */
38
38
  export const diagnosticCodeFormatSchema = z
@@ -60,7 +60,7 @@ const fields = {
60
60
  manifestPath: text(L.diagnosticManifestPathMaxLength).optional(),
61
61
  };
62
62
  /**
63
- * The published schema of one build diagnostic (TAG-234): the source of
63
+ * The published schema of one build diagnostic: the source of
64
64
  * `schema/build-diagnostic.v1.json`. Strict: an unknown key is refused. `code` is any code in the
65
65
  * catalog's format (`diagnosticCodeFormatSchema`), so adding a code to `diagnosticCatalog` does
66
66
  * not change it. Clients of `GET /v1/builds/{id}` (CLI, MCP, portal) parse with this one and show
@@ -1,19 +1,19 @@
1
1
  /**
2
- * Per-component TypeScript declarations for the customer's site (TAG-214): from a validated manifest,
2
+ * Per-component TypeScript declarations for the customer's site: from a validated manifest,
3
3
  * the text of `<tag>.d.ts` (the element in `HTMLElementTagNameMap`, its props as typed properties,
4
4
  * its events on the element and on `document`, and `window.taggor` typed with them) and of
5
5
  * `<tag>.react.d.ts` (the element in React 19's JSX, with its props and `on<tag>:<event>`
6
- * listeners). TAG-324: a form field (`formAssociated: true`) also gets the element's form field
6
+ * listeners). a form field (`formAssociated: true`) also gets the element's form field
7
7
  * API (`value`, `form`, `validity`, `validationMessage`, `checkValidity()`, `reportValidity()`).
8
- * TAG-236: `<tag>.vue.d.ts`, the element in Vue 3's `GlobalComponents`, with its props and
8
+ * `<tag>.vue.d.ts`, the element in Vue 3's `GlobalComponents`, with its props and
9
9
  * `@<tag>:<event>` listeners for `vue-tsc`'s template checks.
10
- * `taggor types` (CLI, TAG-1001) writes these files and
10
+ * `taggor types` (CLI) writes these files and
11
11
  * `GET /v1/components/{id}/types.d.ts` (API) serves them; both only call this module.
12
12
  *
13
13
  * The types follow what the runtime does, not what an author wrote: a prop's value type comes from
14
14
  * its declared `type` (the prop type catalog's `PropValueTypes`, `enum` as the union of its
15
15
  * `values`), arrays and objects as the runtime delivers them (read-only at every level, since it
16
- * deep-freezes them, TAG-304), a getter without `default` may give `undefined` (a `boolean` never:
16
+ * deep-freezes them), a getter without `default` may give `undefined` (a `boolean` never:
17
17
  * absent is `false`), and a setter also takes `null` and `undefined` (they clear the property).
18
18
  *
19
19
  * Manifest text never becomes code: names come from the contract's patterns (tag, prop, event and
@@ -34,7 +34,7 @@ export interface ComponentTypeDeclarations {
34
34
  readonly vue: string;
35
35
  }
36
36
  /**
37
- * `window.taggor` (TAG-214) for the site: the API the loader installs (the runtime's
37
+ * `window.taggor` for the site: the API the loader installs (the runtime's
38
38
  * `TaggorHostApi`, `packages/runtime/src/host/types.ts`, which the runtime's
39
39
  * `host-api-types.test.ts` keeps assignable to this text), with `on` typed by the
40
40
  * `TaggorComponentEventMap` the component files fill. Identical in every generated file.
@@ -43,7 +43,7 @@ export declare const HOST_API_DECLARATIONS = " /** The details of each componen
43
43
  /**
44
44
  * The name of a component's element interface: `Taggor`, the PascalCase segments of the tag and
45
45
  * `Element` (`finance-simulator` → `TaggorFinanceSimulatorElement`). The prefix keeps a tag such as
46
- * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`; TAG-214 review, A5). A segment
46
+ * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`). A segment
47
47
  * that starts with a digit keeps an underscore (`x-a-1b` → `TaggorXA_1bElement`), so two valid
48
48
  * tags never share a name.
49
49
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The form field API on a form field component's element (TAG-324), as the runtime gives it: the
2
+ * The form field API on a form field component's element, as the runtime gives it: the
3
3
  * value is the text the component submits (`""` for none), the rest is `undefined` in a browser
4
4
  * without form-associated custom elements, where the checks always pass. Keyed by the runtime's
5
5
  * lists (`FORM_FIELD_ACCESSORS`, `FORM_FIELD_METHODS`), so a member added there must be typed here.
@@ -34,7 +34,7 @@ function fieldMember(name, member) {
34
34
  : ` readonly ${name}: ${member.type};\n`));
35
35
  }
36
36
  /**
37
- * `window.taggor` (TAG-214) for the site: the API the loader installs (the runtime's
37
+ * `window.taggor` for the site: the API the loader installs (the runtime's
38
38
  * `TaggorHostApi`, `packages/runtime/src/host/types.ts`, which the runtime's
39
39
  * `host-api-types.test.ts` keeps assignable to this text), with `on` typed by the
40
40
  * `TaggorComponentEventMap` the component files fill. Identical in every generated file.
@@ -87,7 +87,7 @@ export const HOST_API_DECLARATIONS = ` /** The details of each component's decl
87
87
  /**
88
88
  * The name of a component's element interface: `Taggor`, the PascalCase segments of the tag and
89
89
  * `Element` (`finance-simulator` → `TaggorFinanceSimulatorElement`). The prefix keeps a tag such as
90
- * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`; TAG-214 review, A5). A segment
90
+ * `h-t-m-l-div` from naming a DOM lib interface (`HTMLDivElement`). A segment
91
91
  * that starts with a digit keeps an underscore (`x-a-1b` → `TaggorXA_1bElement`), so two valid
92
92
  * tags never share a name.
93
93
  *
@@ -165,7 +165,7 @@ export function componentTypeDeclarations(manifest) {
165
165
  const events = Object.entries(manifest.events ?? {});
166
166
  const header = `// Generated by Taggor from the manifest of ${commentLine(manifest.name)} (<${tag}>),` +
167
167
  ` contract ${commentLine(manifest.contractVersion)}. Do not edit: run \`taggor types\` again.\n`;
168
- // TAG-324: a form field's element has the field API, which wins over a prop of the same name
168
+ // A form field's element has the field API, which wins over a prop of the same name
169
169
  // for reading (the runtime's getter is the field's); the prop's setter stays, except under a
170
170
  // method's name.
171
171
  const field = manifest.formAssociated === true ? FORM_FIELD_API : {};
@@ -1 +1 @@
1
- {"version":3,"file":"component-types.js","sourceRoot":"","sources":["../src/component-types.ts"],"names":[],"mappings":"AA+CA;;;;;GAKG;AACH,MAAM,cAAc,GAEhB;IACF,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,0DAA0D,EAAE;IAC1F,IAAI,EAAE;QACJ,IAAI,EAAE,oCAAoC;QAC1C,GAAG,EAAE,mFAAmF;KACzF;IACD,iBAAiB,EAAE;QACjB,IAAI,EAAE,oBAAoB;QAC1B,GAAG,EAAE,yEAAyE;KAC/E;IACD,QAAQ,EAAE,EAAE,IAAI,EAAE,2BAA2B,EAAE,GAAG,EAAE,6BAA6B,EAAE;IACnF,aAAa,EAAE;QACb,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,IAAI;QACZ,GAAG,EAAE,2DAA2D;KACjE;IACD,cAAc,EAAE;QACd,IAAI,EA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AAe,CAAC,IAAI,CAAC,CAAC;QACnC,OAAO,IAAI,KAAK,SAAS;YACvB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,aAAa,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,QAAQ,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC;IACrG,CAAC,CAAC;SACD,IAAI,CAAC,EAAE,CAAC,CAAC;IACZ,MAAM,GAAG,GACP,0BAA0B,GAAG,aAAa;QAC1C,MAAM;QACN,6DAA6D;QAC7D,+FAA+F;QAC/F,+FAA+F;QAC/F,6FAA6F;QAC7F,6FAA6F;QAC7F,4FAA4F;QAC5F,0BAA0B;QAC1B,kCAAkC;QAClC,OAAO,GAAG,eAAe,OAAO,QAAQ;QACxC,oEAAoE,GAAG,QAAQ;QAC/E,wCAAwC,GAAG,2BAA2B;QACtE,2BAA2B;QAC3B,YAAY;QACZ,cAAc;QACd,UAAU;QACV,OAAO;QACP,KAAK,CAAC;IAER,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;AAC5C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The text of the consent a visitor accepts, as the server must rebuild it (TAG-703, `SPEC.md`
2
+ * The text of the consent a visitor accepts, as the server must rebuild it (`SPEC.md`
3
3
  * §5): the checkbox label of `<Consent>` in each language and the string whose SHA-256 is the
4
4
  * proof's `text_hash`. The SDK (`packages/component/src/consent.ts`) builds the label and hashes it
5
5
  * in the browser; the ingest builds the same text from what it trusts (the language of the proof,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The text of the consent a visitor accepts, as the server must rebuild it (TAG-703, `SPEC.md`
2
+ * The text of the consent a visitor accepts, as the server must rebuild it (`SPEC.md`
3
3
  * §5): the checkbox label of `<Consent>` in each language and the string whose SHA-256 is the
4
4
  * proof's `text_hash`. The SDK (`packages/component/src/consent.ts`) builds the label and hashes it
5
5
  * in the browser; the ingest builds the same text from what it trusts (the language of the proof,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Versions of the component contract and what each consumer does with them (TAG-207).
2
+ * Versions of the component contract and what each consumer does with them.
3
3
  *
4
4
  * A manifest declares the contract version it was written for in `contractVersion` (semver).
5
5
  * Minor versions are additive, a major is anything that invalidates a manifest that used to be
@@ -13,19 +13,20 @@
13
13
  /** Major version of the contract this package implements; `contractVersion` is `<major>.x.y`. */
14
14
  export declare const CONTRACT_MAJOR = 1;
15
15
  /**
16
- * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1
17
- * (TAG-212): `data.personal` and `data.privacyPolicyUrl`. 1.2 (TAG-211): `locales`. 1.3
18
- * (TAG-213): `assets`. 1.4 (TAG-314): `formAssociated` and `delegatesFocus`. 1.5 (TAG-210):
19
- * component `libraries` and the workspace library manifest. 1.6 (TAG-2282): no manifest field;
20
- * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7
21
- * (TAG-242): no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
- * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8 (TAG-730): no manifest field; the
23
- * data API's `daily_cap_reached` error code. 1.9 (TAG-1331): no manifest field; the
16
+ * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1:
17
+ * `data.personal` and `data.privacyPolicyUrl`. 1.2: `locales`. 1.3:
18
+ * `assets`. 1.4: `formAssociated` and `delegatesFocus`. 1.5:
19
+ * component `libraries` and the workspace library manifest. 1.6: no manifest field;
20
+ * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7:
21
+ * no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
+ * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8: no manifest field; the
23
+ * data API's `daily_cap_reached` error code. 1.9: no manifest field; the
24
24
  * site's environment picks the channel it delivers, and the attachment's own channel is ignored.
25
- * 1.10 (TAG-819): `eventSampleRate`, the share of interaction and custom events the browser sends.
26
- * 1.11 (TAG-824): no new field; the `eventSampleRate` description no longer names the removed event kind.
25
+ * 1.10: `eventSampleRate`, the share of interaction and custom events the browser sends.
26
+ * 1.11: no new field; the `eventSampleRate` description no longer names the removed event kind.
27
+ * 1.12: no new field; four manifest descriptions no longer carry internal references.
27
28
  */
28
- export declare const CONTRACT_MINOR = 11;
29
+ export declare const CONTRACT_MINOR = 12;
29
30
  /** Newest contract version this package implements. */
30
31
  export declare const CONTRACT_VERSION: string;
31
32
  /** Minimum months an older major stays supported after the next major ships. */
@@ -1 +1 @@
1
- {"version":3,"file":"contract-version.d.ts","sourceRoot":"","sources":["../src/contract-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,iGAAiG;AACjG,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,uDAAuD;AACvD,eAAO,MAAM,gBAAgB,QAA0D,CAAC;AAExF,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAC;CAClD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,qBAIpC,CAAC;AAEH,kCAAkC;AAClC,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KA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AAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,OAAO,EAAE,sBAAsB,GAAG,SAAS,CAAC;CACtD;AAED,4FAA4F;AAC5F,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAYD;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,mBAAmB,GAAG,aAAa,EACzC,OAAO,EAAE,eAAe,GAAG,SAAS,EACpC,MAAM,GAAE,qBAA+C,EACvD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,MAAM,CAsBR;AAiBD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,sBAAsB,EAC/B,MAAM,GAAE,qBAA+C,GACtD,oBAAoB,CAwCtB"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Versions of the component contract and what each consumer does with them (TAG-207).
2
+ * Versions of the component contract and what each consumer does with them.
3
3
  *
4
4
  * A manifest declares the contract version it was written for in `contractVersion` (semver).
5
5
  * Minor versions are additive, a major is anything that invalidates a manifest that used to be
@@ -13,19 +13,20 @@
13
13
  /** Major version of the contract this package implements; `contractVersion` is `<major>.x.y`. */
14
14
  export const CONTRACT_MAJOR = 1;
15
15
  /**
16
- * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1
17
- * (TAG-212): `data.personal` and `data.privacyPolicyUrl`. 1.2 (TAG-211): `locales`. 1.3
18
- * (TAG-213): `assets`. 1.4 (TAG-314): `formAssociated` and `delegatesFocus`. 1.5 (TAG-210):
19
- * component `libraries` and the workspace library manifest. 1.6 (TAG-2282): no manifest field;
20
- * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7
21
- * (TAG-242): no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
- * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8 (TAG-730): no manifest field; the
23
- * data API's `daily_cap_reached` error code. 1.9 (TAG-1331): no manifest field; the
16
+ * Newest minor of `CONTRACT_MAJOR` this package implements; newer minors are refused. 1.1:
17
+ * `data.personal` and `data.privacyPolicyUrl`. 1.2: `locales`. 1.3:
18
+ * `assets`. 1.4: `formAssociated` and `delegatesFocus`. 1.5:
19
+ * component `libraries` and the workspace library manifest. 1.6: no manifest field;
20
+ * the schema documents and the diagnostics' `docsUrl` move to `taggor.dev`. 1.7:
21
+ * no manifest field; the `build-diagnostic` text pattern also refuses U+034F, U+115F,
22
+ * U+1160, U+17B4, U+17B5, U+3164 and U+FFA0. 1.8: no manifest field; the
23
+ * data API's `daily_cap_reached` error code. 1.9: no manifest field; the
24
24
  * site's environment picks the channel it delivers, and the attachment's own channel is ignored.
25
- * 1.10 (TAG-819): `eventSampleRate`, the share of interaction and custom events the browser sends.
26
- * 1.11 (TAG-824): no new field; the `eventSampleRate` description no longer names the removed event kind.
25
+ * 1.10: `eventSampleRate`, the share of interaction and custom events the browser sends.
26
+ * 1.11: no new field; the `eventSampleRate` description no longer names the removed event kind.
27
+ * 1.12: no new field; four manifest descriptions no longer carry internal references.
27
28
  */
28
- export const CONTRACT_MINOR = 11;
29
+ export const CONTRACT_MINOR = 12;
29
30
  /** Newest contract version this package implements. */
30
31
  export const CONTRACT_VERSION = `${String(CONTRACT_MAJOR)}.${String(CONTRACT_MINOR)}.0`;
31
32
  /** Minimum months an older major stays supported after the next major ships. */
@@ -1 +1 @@
1
- {"version":3,"file":"contract-version.js","sourceRoot":"","sources":["../src/contract-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,iGAAiG;AACjG,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAChC;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,CAAC;AACjC,uDAAuD;AACvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,MAAM,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AAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;IACxF,CAAC;AACH,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Names of fields that hold credentials (TAG-1706, moved here by TAG-703 for its second use): the
2
+ * Names of fields that hold credentials (moved here for its second use): the
3
3
  * builder's quality gate refuses a component that collects them, and the API and the edge refuse to
4
4
  * accept submissions to a collection that declares one, with the very same rule. Zod-free and pure.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Names of fields that hold credentials (TAG-1706, moved here by TAG-703 for its second use): the
2
+ * Names of fields that hold credentials (moved here for its second use): the
3
3
  * builder's quality gate refuses a component that collects them, and the API and the edge refuse to
4
4
  * accept submissions to a collection that declares one, with the very same rule. Zod-free and pure.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A small CSS tokenizer (TAG-206; moved out of `style-references.ts` by TAG-1706, which reads the
2
+ * A small CSS tokenizer (moved out of `style-references.ts`, which reads the
3
3
  * same tokens to find viewport overlays in the builder's security gate).
4
4
  *
5
5
  * It follows the CSS Syntax Level 3 rules that matter to the checks built on it: a raw NUL read as
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A small CSS tokenizer (TAG-206; moved out of `style-references.ts` by TAG-1706, which reads the
2
+ * A small CSS tokenizer (moved out of `style-references.ts`, which reads the
3
3
  * same tokens to find viewport overlays in the builder's security gate).
4
4
  *
5
5
  * It follows the CSS Syntax Level 3 rules that matter to the checks built on it: a raw NUL read as
@@ -1,16 +1,16 @@
1
1
  /**
2
- * CSS values a manifest may declare (TAG-201): the default of a `color` prop and the defaults of
2
+ * CSS values a manifest may declare: the default of a `color` prop and the defaults of
3
3
  * public CSS variables, which the runtime writes into the component's stylesheet.
4
4
  *
5
5
  * A CSS value can fetch from the network (`url()`, `image-set()`, `src()`, `cross-fade()`…), so a
6
6
  * free-form value would let a manifest leak every visitor's IP and Referer to an undeclared origin
7
- * through `var(--x)` (threat T-64, golden rule 6). Values are therefore built from an allowlist:
7
+ * through `var(--x)` (golden rule 6). Values are therefore built from an allowlist:
8
8
  * numbers, identifiers, `#`, `,`, `.`, `%`, `/`, `+`, whitespace, and `(` only right after a
9
9
  * function in `CSS_FUNCTIONS` (lowercase). No `;`, braces, quotes, backslashes, `*` or angle
10
10
  * brackets, so a value can neither close a declaration nor open a comment. JSON Schema cannot
11
11
  * count parentheses, so only Zod checks that they are balanced (`SEMANTIC_RULES`).
12
12
  *
13
- * This module has no Zod (TAG-205), so the runtime may import it; `cssValueSchema` lives in
13
+ * This module has no Zod, so the runtime may import it; `cssValueSchema` lives in
14
14
  * `bounded.ts`.
15
15
  */
16
16
  /** CSS functions a declared value may call: colors, math and `var()`. None of them loads a URL. */
@@ -32,7 +32,7 @@ export declare function hasBalancedParentheses(value: string): boolean;
32
32
  /**
33
33
  * Tells whether a text is a declared CSS value: within `maxLength`, built from the allowlist
34
34
  * `pattern` and with balanced parentheses. The Zod form is `cssValueSchema` (bounded.ts); the
35
- * prop catalog (TAG-205) uses this one, which the runtime may import without Zod.
35
+ * prop catalog uses this one, which the runtime may import without Zod.
36
36
  *
37
37
  * Inputs: the text, the maximum length, the allowlist pattern (`CSS_VALUE_PATTERN` or
38
38
  * `FONT_FAMILY_PATTERN`). Output: `true` when every rule holds (empty text is refused). Errors:
package/dist/css-value.js CHANGED
@@ -1,16 +1,16 @@
1
1
  /**
2
- * CSS values a manifest may declare (TAG-201): the default of a `color` prop and the defaults of
2
+ * CSS values a manifest may declare: the default of a `color` prop and the defaults of
3
3
  * public CSS variables, which the runtime writes into the component's stylesheet.
4
4
  *
5
5
  * A CSS value can fetch from the network (`url()`, `image-set()`, `src()`, `cross-fade()`…), so a
6
6
  * free-form value would let a manifest leak every visitor's IP and Referer to an undeclared origin
7
- * through `var(--x)` (threat T-64, golden rule 6). Values are therefore built from an allowlist:
7
+ * through `var(--x)` (golden rule 6). Values are therefore built from an allowlist:
8
8
  * numbers, identifiers, `#`, `,`, `.`, `%`, `/`, `+`, whitespace, and `(` only right after a
9
9
  * function in `CSS_FUNCTIONS` (lowercase). No `;`, braces, quotes, backslashes, `*` or angle
10
10
  * brackets, so a value can neither close a declaration nor open a comment. JSON Schema cannot
11
11
  * count parentheses, so only Zod checks that they are balanced (`SEMANTIC_RULES`).
12
12
  *
13
- * This module has no Zod (TAG-205), so the runtime may import it; `cssValueSchema` lives in
13
+ * This module has no Zod, so the runtime may import it; `cssValueSchema` lives in
14
14
  * `bounded.ts`.
15
15
  */
16
16
  /** CSS functions a declared value may call: colors, math and `var()`. None of them loads a URL. */
@@ -63,7 +63,7 @@ export function hasBalancedParentheses(value) {
63
63
  /**
64
64
  * Tells whether a text is a declared CSS value: within `maxLength`, built from the allowlist
65
65
  * `pattern` and with balanced parentheses. The Zod form is `cssValueSchema` (bounded.ts); the
66
- * prop catalog (TAG-205) uses this one, which the runtime may import without Zod.
66
+ * prop catalog uses this one, which the runtime may import without Zod.
67
67
  *
68
68
  * Inputs: the text, the maximum length, the allowlist pattern (`CSS_VALUE_PATTERN` or
69
69
  * `FONT_FAMILY_PATTERN`). Output: `true` when every rule holds (empty text is refused). Errors:
@@ -1,19 +1,19 @@
1
1
  /**
2
- * Data API of component contract v1 (TAG-201): the payloads a component exchanges with the edge through
3
- * the SDK hooks (`useTaggorData`, `useTrack`, TAG-203): `submit` (form submissions), `read` (list a
2
+ * Data API of component contract v1: the payloads a component exchanges with the edge through
3
+ * the SDK hooks (`useTaggorData`, `useTrack`): `submit` (form submissions), `read` (list a
4
4
  * public collection) and `track` (declared interactions).
5
5
  *
6
- * The wire format is snake_case JSON, like every `/v1` API resource (TAG-905). Each envelope is
6
+ * The wire format is snake_case JSON, like every `/v1` API resource. Each envelope is
7
7
  * strict; the `data` of a submission is checked against the collection the manifest declares with
8
- * `collectionDataSchema`, which drops undeclared fields (TAG-703). Body sizes are bounded by
9
- * `DATA_API_LIMITS` and must be enforced on the raw body before parsing (TAG-702). TAG-212 added
10
- * the consent proof of submissions to components that collect personal data.
8
+ * `collectionDataSchema`, which drops undeclared fields. Body sizes are bounded by
9
+ * `DATA_API_LIMITS` and must be enforced on the raw body before parsing. A submission from a component that collects personal data also carries
10
+ * the visitor's consent proof.
11
11
  */
12
12
  import * as z from "zod";
13
13
  import type { CollectionDeclaration, TrackEventDeclaration } from "./manifest.js";
14
14
  /**
15
15
  * Proof of the visitor's consent sent with a submission of a component whose manifest declares
16
- * `data.personal` (TAG-212): the consent was given, the SHA-256 (lowercase hex) of the exact text
16
+ * `data.personal`: the consent was given, the SHA-256 (lowercase hex) of the exact text
17
17
  * the visitor accepted and the language it was shown in. The text hashed is the SDK's: the
18
18
  * checkbox label as rendered, a line feed and the privacy policy URL (`SPEC.md` §5).
19
19
  */
@@ -27,8 +27,8 @@ export declare const consentProofSchema: z.ZodObject<{
27
27
  *
28
28
  * `data` holds the field values (validated afterwards by `collectionDataSchema`); `_hp` is the
29
29
  * honeypot field that humans leave empty and `_t` the milliseconds between render and submit
30
- * (TAG-730: they only mark a submission `suspect`, which is kept; nothing is dropped unless the
31
- * site chose `protection.suspects: "drop"`). `consent` (TAG-212) is the visitor's consent,
30
+ * (they only mark a submission `suspect`, which is kept; nothing is dropped unless the
31
+ * site chose `protection.suspects: "drop"`). `consent` is the visitor's consent,
32
32
  * which the SDK always sends for a component with `data.personal` (the ingest of E07 refuses a
33
33
  * submission of such a component without it, `consent_required`).
34
34
  */
@@ -44,7 +44,7 @@ export declare const submitRequestSchema: z.ZodObject<{
44
44
  locale: z.ZodString;
45
45
  }, z.core.$strict>>;
46
46
  }, z.core.$strict>;
47
- /** Answer to an accepted submission (HTTP 202): queued, not yet stored. */
47
+ /** Answer to an accepted submission (HTTP 202): queued, not stored yet. */
48
48
  export declare const submitAcceptedSchema: z.ZodObject<{
49
49
  status: z.ZodLiteral<"accepted">;
50
50
  }, z.core.$strict>;
@@ -111,7 +111,7 @@ export type DataErrorCode = (typeof DATA_ERROR_CODES)[number];
111
111
  * Builds the validator of the `data` of a submission to one declared collection.
112
112
  *
113
113
  * Inputs: the collection declaration from the manifest. Output: a Zod object schema; undeclared
114
- * fields are dropped (TAG-703), required fields must be present, strings are capped at
114
+ * fields are dropped, required fields must be present, strings are capped at
115
115
  * `MANIFEST_LIMITS.stringMaxLength`. Errors: none at build time; parsing returns Zod issues with
116
116
  * the field path. Side effects: none.
117
117
  */
package/dist/data-api.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Data API of component contract v1 (TAG-201): the payloads a component exchanges with the edge through
3
- * the SDK hooks (`useTaggorData`, `useTrack`, TAG-203): `submit` (form submissions), `read` (list a
2
+ * Data API of component contract v1: the payloads a component exchanges with the edge through
3
+ * the SDK hooks (`useTaggorData`, `useTrack`): `submit` (form submissions), `read` (list a
4
4
  * public collection) and `track` (declared interactions).
5
5
  *
6
- * The wire format is snake_case JSON, like every `/v1` API resource (TAG-905). Each envelope is
6
+ * The wire format is snake_case JSON, like every `/v1` API resource. Each envelope is
7
7
  * strict; the `data` of a submission is checked against the collection the manifest declares with
8
- * `collectionDataSchema`, which drops undeclared fields (TAG-703). Body sizes are bounded by
9
- * `DATA_API_LIMITS` and must be enforced on the raw body before parsing (TAG-702). TAG-212 added
10
- * the consent proof of submissions to components that collect personal data.
8
+ * `collectionDataSchema`, which drops undeclared fields. Body sizes are bounded by
9
+ * `DATA_API_LIMITS` and must be enforced on the raw body before parsing. A submission from a component that collects personal data also carries
10
+ * the visitor's consent proof.
11
11
  */
12
12
  import * as z from "zod";
13
13
  import { boundedRecord } from "./bounded.js";
@@ -29,7 +29,7 @@ const cursorSchema = z
29
29
  .regex(/^[A-Za-z0-9_-]+$/, { error: "cursor must be the opaque value returned by the API" });
30
30
  /**
31
31
  * Proof of the visitor's consent sent with a submission of a component whose manifest declares
32
- * `data.personal` (TAG-212): the consent was given, the SHA-256 (lowercase hex) of the exact text
32
+ * `data.personal`: the consent was given, the SHA-256 (lowercase hex) of the exact text
33
33
  * the visitor accepted and the language it was shown in. The text hashed is the SDK's: the
34
34
  * checkbox label as rendered, a line feed and the privacy policy URL (`SPEC.md` §5).
35
35
  */
@@ -51,8 +51,8 @@ export const consentProofSchema = z
51
51
  *
52
52
  * `data` holds the field values (validated afterwards by `collectionDataSchema`); `_hp` is the
53
53
  * honeypot field that humans leave empty and `_t` the milliseconds between render and submit
54
- * (TAG-730: they only mark a submission `suspect`, which is kept; nothing is dropped unless the
55
- * site chose `protection.suspects: "drop"`). `consent` (TAG-212) is the visitor's consent,
54
+ * (they only mark a submission `suspect`, which is kept; nothing is dropped unless the
55
+ * site chose `protection.suspects: "drop"`). `consent` is the visitor's consent,
56
56
  * which the SDK always sends for a component with `data.personal` (the ingest of E07 refuses a
57
57
  * submission of such a component without it, `consent_required`).
58
58
  */
@@ -66,7 +66,7 @@ export const submitRequestSchema = z
66
66
  consent: consentProofSchema.optional(),
67
67
  })
68
68
  .meta({ title: "Submit request" });
69
- /** Answer to an accepted submission (HTTP 202): queued, not yet stored. */
69
+ /** Answer to an accepted submission (HTTP 202): queued, not stored yet. */
70
70
  export const submitAcceptedSchema = z
71
71
  .strictObject({ status: z.literal("accepted") })
72
72
  .meta({ title: "Submit accepted" });
@@ -82,7 +82,7 @@ export const readRequestSchema = z
82
82
  cursor: cursorSchema.optional(),
83
83
  })
84
84
  .meta({ title: "Read request" });
85
- /** ULID-based public id of a submission (`sub_` prefix, TAG-905). */
85
+ /** ULID-based public id of a submission (`sub_` prefix). */
86
86
  const submissionIdSchema = z.string().regex(/^sub_[0-9A-HJKMNP-TV-Z]{26}$/, {
87
87
  error: "id must be sub_ followed by a ULID",
88
88
  });
@@ -118,10 +118,10 @@ export const DATA_ERROR_CODES = Object.freeze([
118
118
  "rate_limited",
119
119
  "captcha_failed",
120
120
  "payload_too_large",
121
- // TAG-212: a submission of a component with `data.personal` without the visitor's consent. The SDK
121
+ // A submission of a component with `data.personal` without the visitor's consent. The SDK
122
122
  // refuses it before sending; the ingest (E07) answers it to anything else.
123
123
  "consent_required",
124
- // TAG-730 (contract 1.8): a form without a Turnstile key reached its daily cap of submissions;
124
+ // a form without a Turnstile key reached its daily cap of submissions;
125
125
  // the visitor sees an error instead of a false success and the customer a notice in the portal.
126
126
  "daily_cap_reached",
127
127
  ]);
@@ -143,7 +143,7 @@ export const dataErrorSchema = z
143
143
  * Builds the validator of the `data` of a submission to one declared collection.
144
144
  *
145
145
  * Inputs: the collection declaration from the manifest. Output: a Zod object schema; undeclared
146
- * fields are dropped (TAG-703), required fields must be present, strings are capped at
146
+ * fields are dropped, required fields must be present, strings are capped at
147
147
  * `MANIFEST_LIMITS.stringMaxLength`. Errors: none at build time; parsing returns Zod issues with
148
148
  * the field path. Side effects: none.
149
149
  */
@@ -1 +1 @@
1
- {"version":3,"file":"data-api.js","sourceRoot":"","sources":["../src/data-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEzE,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEpE,+EAA+E;AAC/E,MAAM,oBAAoB,GAAG,CAAC;KAC3B,MAAM,EAAE;KACR,GAAG,CAAC,eAAe,CAAC,uBAAuB,CAAC;KAC5C,GAAG,CAAC,eAAe,CAAC,uBAAuB,CAAC;KAC5C,KAAK,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAEhG,MAAM,YAAY,GAAG,CAAC;KACnB,MAAM,EAAE;KACR,GAAG,CAA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;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,WAAkC;IACjE,OAAO,cAAc,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAC;AACvF,CAAC"}
@@ -11,7 +11,7 @@ export declare function denyBundleKvKey(sha256: string): string;
11
11
  */
12
12
  export declare function denySiteKvKey(siteKey: string): string;
13
13
  /**
14
- * KV key that denies a public asset hash (TAG-440).
14
+ * KV key that denies a public asset hash.
15
15
  * Inputs: 64 lowercase hexadecimal characters. Output: `asset:<sha256>`. Errors: `TypeError` for
16
16
  * anything else. Side effects: none.
17
17
  */