@taggor/contract 0.5.0 → 0.6.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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/contract-version.d.ts +6 -2
- package/dist/contract-version.d.ts.map +1 -1
- package/dist/contract-version.js +13 -7
- package/dist/contract-version.js.map +1 -1
- package/dist/data-api.d.ts +7 -37
- package/dist/data-api.d.ts.map +1 -1
- package/dist/data-api.js +11 -45
- package/dist/data-api.js.map +1 -1
- package/dist/diagnostic-catalog.d.ts +23 -57
- package/dist/diagnostic-catalog.d.ts.map +1 -1
- package/dist/diagnostic-catalog.js +23 -51
- package/dist/diagnostic-catalog.js.map +1 -1
- package/dist/error-catalog.d.ts +14 -0
- package/dist/error-catalog.d.ts.map +1 -1
- package/dist/error-catalog.js +19 -5
- package/dist/error-catalog.js.map +1 -1
- package/dist/error-titles-pt-br.d.ts +13 -0
- package/dist/error-titles-pt-br.d.ts.map +1 -0
- package/dist/error-titles-pt-br.js +99 -0
- package/dist/error-titles-pt-br.js.map +1 -0
- package/dist/event-params.d.ts +41 -0
- package/dist/event-params.d.ts.map +1 -0
- package/dist/event-params.js +92 -0
- package/dist/event-params.js.map +1 -0
- package/dist/index.d.ts +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/json-schema.d.ts.map +1 -1
- package/dist/json-schema.js +0 -8
- package/dist/json-schema.js.map +1 -1
- package/dist/limit-catalog.d.ts +4 -25
- package/dist/limit-catalog.d.ts.map +1 -1
- package/dist/limit-catalog.js +6 -27
- package/dist/limit-catalog.js.map +1 -1
- package/dist/limits.d.ts +9 -21
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +9 -21
- package/dist/limits.js.map +1 -1
- package/dist/locale-tag.d.ts +2 -2
- package/dist/locale-tag.js +2 -2
- package/dist/manifest.d.ts +26 -5
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +16 -35
- package/dist/manifest.js.map +1 -1
- package/dist/metering.d.ts +18 -5
- package/dist/metering.d.ts.map +1 -1
- package/dist/metering.js +18 -5
- package/dist/metering.js.map +1 -1
- package/dist/plan-pricing.d.ts +28 -55
- package/dist/plan-pricing.d.ts.map +1 -1
- package/dist/plan-pricing.js +15 -60
- package/dist/plan-pricing.js.map +1 -1
- package/dist/schema/component-manifest.v1.json +5 -12
- package/dist/schema/data-api.v1.json +4 -39
- package/dist/site-manifest.d.ts +1 -8
- package/dist/site-manifest.d.ts.map +1 -1
- package/dist/site-manifest.js +3 -6
- package/dist/site-manifest.js.map +1 -1
- package/dist/ssr-cap.d.ts +1 -1
- package/dist/ssr-cap.d.ts.map +1 -1
- package/dist/url-value.d.ts.map +1 -1
- package/dist/url-value.js +1 -1
- package/dist/url-value.js.map +1 -1
- package/dist/zod-free.d.ts +3 -4
- package/dist/zod-free.d.ts.map +1 -1
- package/dist/zod-free.js +3 -4
- package/dist/zod-free.js.map +1 -1
- package/package.json +1 -1
- package/dist/consent-text.d.ts +0 -31
- package/dist/consent-text.d.ts.map +0 -1
- package/dist/consent-text.js +0 -41
- package/dist/consent-text.js.map +0 -1
package/dist/plan-pricing.js
CHANGED
|
@@ -1,35 +1,14 @@
|
|
|
1
|
+
import { LIMIT_CATALOG, OVERAGE_METRICS } from "./limit-catalog.js";
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Why it lives in the contract: the billing catalog (`apps/api/src/domain/billing/plans.ts`) and the
|
|
5
|
-
* public site both need these numbers, and a number written twice drifts. The billing catalog
|
|
6
|
-
* composes its rows from here; the site reads them through its figures registry, so no plan price
|
|
7
|
-
* is typed by hand in site copy.
|
|
8
|
-
*
|
|
9
|
-
* ALL NUMBERS ARE PROVISIONAL until the plans and prices are final.
|
|
10
|
-
* Money is US dollar cents.
|
|
11
|
-
* Nothing here charges or cuts; it is a table.
|
|
12
|
-
*
|
|
13
|
-
* The overage rate table below (`OVERAGE_RATES`) is the ONE place
|
|
14
|
-
* the price of a unit above the plan is written; the site, the portal, the API and the Stripe
|
|
15
|
-
* prices read it. Rates are provisional until the prices are final.
|
|
3
|
+
* The most live sites a workspace may hold while the overage bills the sites past its plan (Pro and
|
|
4
|
+
* Agency pay US$ 1 a site a month), so "billed, never refused" still has a technical end.
|
|
16
5
|
*/
|
|
17
|
-
|
|
18
|
-
import { LIMIT_CATALOG, OVERAGE_METRICS } from "./limit-catalog.js";
|
|
6
|
+
export const BILLABLE_SITES_CEILING = 500;
|
|
19
7
|
const money = (monthly, annual) => Object.freeze({ monthly, annual });
|
|
20
8
|
const table = {
|
|
21
|
-
free: { priceUsdCents: money(0, 0)
|
|
22
|
-
pro: { priceUsdCents: money(1400, 14_000)
|
|
23
|
-
agency: {
|
|
24
|
-
priceUsdCents: money(4900, 49_000),
|
|
25
|
-
siteExtension: Object.freeze({
|
|
26
|
-
includedSites: planQuotas.agency.maxSites,
|
|
27
|
-
maxSites: 500,
|
|
28
|
-
extraSitePriceUsdCents: money(200, 2000),
|
|
29
|
-
rendersPerExtraSite: 100_000,
|
|
30
|
-
submissionsPerExtraSite: 4000,
|
|
31
|
-
}),
|
|
32
|
-
},
|
|
9
|
+
free: { priceUsdCents: money(0, 0) },
|
|
10
|
+
pro: { priceUsdCents: money(1400, 14_000) },
|
|
11
|
+
agency: { priceUsdCents: money(4900, 49_000) },
|
|
33
12
|
};
|
|
34
13
|
/** The pricing of every plan, by plan id. Frozen. */
|
|
35
14
|
export const planPricing = Object.freeze({
|
|
@@ -47,8 +26,7 @@ const bothPaid = (value) => Object.freeze({ pro: value, agency: value });
|
|
|
47
26
|
* The tariffs (provisional), in micro USD per unit:
|
|
48
27
|
* renders US$ 0,02 per 1.000; SSR renders US$ 0,015 per 1.000; SSR version-day US$ 0,01 (no
|
|
49
28
|
* included amount in v1); build over the weekly limit US$ 0,01; stored submission US$ 0,25 per
|
|
50
|
-
* 1.000; storage US$ 1,00 per GB-month (1000 per MB, on the average of the cycle's daily readings); extra site US$ 1
|
|
51
|
-
* add-on price, billed on the plan subscription, so its overage rate is informational).
|
|
29
|
+
* 1.000; storage US$ 1,00 per GB-month (1000 per MB, on the average of the cycle's daily readings); extra site US$ 1 on Pro and on Agency.
|
|
52
30
|
*/
|
|
53
31
|
export const OVERAGE_RATES = Object.freeze({
|
|
54
32
|
renders: Object.freeze({ metric: "renders", unit: "unit", microUsdPerUnit: bothPaid(20) }),
|
|
@@ -76,7 +54,7 @@ export const OVERAGE_RATES = Object.freeze({
|
|
|
76
54
|
extra_sites: Object.freeze({
|
|
77
55
|
metric: "extra_sites",
|
|
78
56
|
unit: "unit",
|
|
79
|
-
microUsdPerUnit:
|
|
57
|
+
microUsdPerUnit: bothPaid(1_000_000),
|
|
80
58
|
}),
|
|
81
59
|
});
|
|
82
60
|
/** The metrics in a fixed order (ledger and Stripe meters follow it). */
|
|
@@ -135,36 +113,13 @@ export function overageMicroUsdPerUnit(metric, planId) {
|
|
|
135
113
|
const rates = OVERAGE_RATES[metric].microUsdPerUnit;
|
|
136
114
|
return rates[planId] ?? null;
|
|
137
115
|
}
|
|
138
|
-
/** The gates as the code ships them: both on; frozen, the literal types are `true`. */
|
|
139
|
-
export const OVERAGE_BILLING_GATES = Object.freeze({
|
|
140
|
-
loaderHits: true,
|
|
141
|
-
submissions: true,
|
|
142
|
-
});
|
|
143
|
-
/**
|
|
144
|
-
* Whether the excess of a metric is billed automatically (and so spends the customer's cap, raises a
|
|
145
|
-
* cap notice and counts in the cost estimate). Renders when `gates.loaderHits`; submissions and
|
|
146
|
-
* storage when `gates.submissions`; builds, extra sites and SSR always.
|
|
147
|
-
* Inputs: a metric and the gates (default: as shipped). Output: a boolean. Pure.
|
|
148
|
-
*/
|
|
149
|
-
export function isOverageMetricBilled(metric, gates = OVERAGE_BILLING_GATES) {
|
|
150
|
-
if (metric === "renders")
|
|
151
|
-
return gates.loaderHits;
|
|
152
|
-
if (metric === "submissions" || metric === "storage")
|
|
153
|
-
return gates.submissions;
|
|
154
|
-
return true;
|
|
155
|
-
}
|
|
156
116
|
/**
|
|
157
|
-
* Whether going past a catalog limit is billed automatically
|
|
158
|
-
* `metered` on Pro (Agency matches)
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
* word a limit row with it.
|
|
162
|
-
* Inputs: a limit name (any string) and the gates (default: as shipped). Output: a boolean. Pure.
|
|
117
|
+
* Whether going past a catalog limit is billed automatically on a paid plan: the limit is
|
|
118
|
+
* `metered` on Pro (Agency matches). A limit that is `hard` on every plan (a security or per-build
|
|
119
|
+
* cap) and an unknown name are false. The portal and the CLI word a limit row with it.
|
|
120
|
+
* Inputs: a limit name (any string). Output: a boolean. Pure.
|
|
163
121
|
*/
|
|
164
|
-
export function isLimitOverageBilled(name
|
|
165
|
-
|
|
166
|
-
return policy?.mode === "metered" && isOverageMetricBilled(policy.metric, gates);
|
|
122
|
+
export function isLimitOverageBilled(name) {
|
|
123
|
+
return LIMIT_CATALOG.find((spec) => spec.name === name)?.policy.pro.mode === "metered";
|
|
167
124
|
}
|
|
168
|
-
/** The metrics billed today, in the fixed metric order: derived from the gates, never typed. */
|
|
169
|
-
export const BILLED_OVERAGE_METRICS = Object.freeze(OVERAGE_METRICS.filter((metric) => isOverageMetricBilled(metric)));
|
|
170
125
|
//# sourceMappingURL=plan-pricing.js.map
|
package/dist/plan-pricing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-pricing.js","sourceRoot":"","sources":["../src/plan-pricing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plan-pricing.js","sourceRoot":"","sources":["../src/plan-pricing.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAsB,MAAM,oBAAoB,CAAC;AAaxF;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAE1C,MAAM,KAAK,GAAG,CAAC,OAAe,EAAE,MAAc,EAAa,EAAE,CAA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AE,SAAS;IACpC,WAAW,EAAE,EAAE;IACf,eAAe,EAAE,CAAC;CACnB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,UAAU,6BAA6B;IAC3C,MAAM,IAAI,GAAG,CAAC,GAAG,aAAa,CAAC,sBAAsB,CAAC,CAAC;IACvD,KACE,IAAI,IAAI,GAAG,aAAa,CAAC,0BAA0B,EACnD,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,kBAAkB,EAC9C,IAAI,IAAI,CAAC,EACT,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAC,MAAqB,EAAE,MAAc;IAC1E,6FAA6F;IAC7F,MAAM,KAAK,GAA8C,aAAa,CAAC,MAAM,CAAC,CAAC,eAAe,CAAC;IAC/F,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC;AAC/B,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC;AACzF,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"properties": {
|
|
6
6
|
"contractVersion": {
|
|
7
7
|
"type": "string",
|
|
8
|
-
"pattern": "^1\\.(?:0|1|2|3|4|5|6|7|8|9|10|11|12)\\.(?:0|[1-9]\\d{0,5})$"
|
|
8
|
+
"pattern": "^1\\.(?:0|1|2|3|4|5|6|7|8|9|10|11|12|13|14)\\.(?:0|[1-9]\\d{0,5})$"
|
|
9
9
|
},
|
|
10
10
|
"name": { "$ref": "#/$defs/ComponentName" },
|
|
11
11
|
"tag": { "$ref": "#/$defs/TagName" },
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"type": "number",
|
|
81
81
|
"minimum": 0.001,
|
|
82
82
|
"maximum": 1,
|
|
83
|
-
"description": "Share of
|
|
83
|
+
"description": "Share of the track events the browser sends, from 0.001 to 1 (default 1: all). Render and error events are never sampled. Each stored event is weighted by 1 divided by this rate, so totals stay estimates of the real count."
|
|
84
84
|
},
|
|
85
85
|
"delegatesFocus": {
|
|
86
86
|
"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.",
|
|
@@ -781,14 +781,6 @@
|
|
|
781
781
|
"propertyNames": { "$ref": "#/$defs/MemberName" },
|
|
782
782
|
"additionalProperties": { "$ref": "#/$defs/TrackEventDeclaration" },
|
|
783
783
|
"maxProperties": 30
|
|
784
|
-
},
|
|
785
|
-
"personal": {
|
|
786
|
-
"description": "True when the collections hold personal data: every submit then carries the visitor's consent. Defaults to false.",
|
|
787
|
-
"type": "boolean"
|
|
788
|
-
},
|
|
789
|
-
"privacyPolicyUrl": {
|
|
790
|
-
"description": "Name of the prop of type \"url\" that links the privacy policy, set per site. Required when personal is true.",
|
|
791
|
-
"$ref": "#/$defs/PropName"
|
|
792
784
|
}
|
|
793
785
|
},
|
|
794
786
|
"additionalProperties": false
|
|
@@ -875,15 +867,16 @@
|
|
|
875
867
|
},
|
|
876
868
|
"props": {
|
|
877
869
|
"type": "object",
|
|
878
|
-
"propertyNames": { "$ref": "#/$defs/
|
|
870
|
+
"propertyNames": { "$ref": "#/$defs/FieldName" },
|
|
879
871
|
"additionalProperties": { "$ref": "#/$defs/TrackProp" },
|
|
880
|
-
"maxProperties":
|
|
872
|
+
"maxProperties": 25
|
|
881
873
|
}
|
|
882
874
|
},
|
|
883
875
|
"additionalProperties": false
|
|
884
876
|
},
|
|
885
877
|
"TrackProp": {
|
|
886
878
|
"oneOf": [
|
|
879
|
+
{ "$ref": "#/$defs/StringValueSchema" },
|
|
887
880
|
{ "$ref": "#/$defs/NumberValueSchema" },
|
|
888
881
|
{ "$ref": "#/$defs/BooleanValueSchema" },
|
|
889
882
|
{ "$ref": "#/$defs/EnumValueSchema" }
|
|
@@ -21,27 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"turnstile_token": { "type": "string", "minLength": 1, "maxLength": 2048 },
|
|
23
23
|
"_hp": { "type": "string", "maxLength": 256 },
|
|
24
|
-
"_t": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
25
|
-
"consent": {
|
|
26
|
-
"type": "object",
|
|
27
|
-
"properties": {
|
|
28
|
-
"given": { "type": "boolean", "const": true },
|
|
29
|
-
"text_hash": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"minLength": 64,
|
|
32
|
-
"maxLength": 64,
|
|
33
|
-
"pattern": "^[0-9a-f]+$"
|
|
34
|
-
},
|
|
35
|
-
"locale": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"maxLength": 35,
|
|
38
|
-
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"required": ["given", "text_hash", "locale"],
|
|
42
|
-
"additionalProperties": false,
|
|
43
|
-
"title": "Consent proof"
|
|
44
|
-
}
|
|
24
|
+
"_t": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
45
25
|
},
|
|
46
26
|
"required": ["data", "idempotency_key"],
|
|
47
27
|
"additionalProperties": false,
|
|
@@ -123,18 +103,6 @@
|
|
|
123
103
|
"maxLength": 40,
|
|
124
104
|
"pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
|
|
125
105
|
},
|
|
126
|
-
"SnakeName": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"minLength": 1,
|
|
129
|
-
"maxLength": 40,
|
|
130
|
-
"pattern": "^(?!(?:constructor|hasOwnProperty|isPrototypeOf|propertyIsEnumerable|toLocaleString|toString|valueOf)$)[a-z][a-z0-9]*(?:_[a-z0-9]+)*$"
|
|
131
|
-
},
|
|
132
|
-
"EnumValue": {
|
|
133
|
-
"type": "string",
|
|
134
|
-
"minLength": 1,
|
|
135
|
-
"maxLength": 64,
|
|
136
|
-
"pattern": "^[^\\u0000-\\u001f\\u007f]+$"
|
|
137
|
-
},
|
|
138
106
|
"TrackRequest": {
|
|
139
107
|
"type": "object",
|
|
140
108
|
"properties": {
|
|
@@ -142,11 +110,9 @@
|
|
|
142
110
|
"name": { "$ref": "#/$defs/MemberName" },
|
|
143
111
|
"props": {
|
|
144
112
|
"type": "object",
|
|
145
|
-
"propertyNames": { "
|
|
146
|
-
"additionalProperties": {
|
|
147
|
-
|
|
148
|
-
},
|
|
149
|
-
"maxProperties": 8
|
|
113
|
+
"propertyNames": { "type": "string", "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$" },
|
|
114
|
+
"additionalProperties": { "type": "string", "maxLength": 100 },
|
|
115
|
+
"maxProperties": 25
|
|
150
116
|
}
|
|
151
117
|
},
|
|
152
118
|
"required": ["component", "name"],
|
|
@@ -167,7 +133,6 @@
|
|
|
167
133
|
"rate_limited",
|
|
168
134
|
"captcha_failed",
|
|
169
135
|
"payload_too_large",
|
|
170
|
-
"consent_required",
|
|
171
136
|
"daily_cap_reached"
|
|
172
137
|
]
|
|
173
138
|
},
|
package/dist/site-manifest.d.ts
CHANGED
|
@@ -12,8 +12,7 @@ import { SITE_MANIFEST_MAX_COMPONENTS } from "./site-manifest-keys.js";
|
|
|
12
12
|
export { SITE_MANIFEST_MAX_COMPONENTS };
|
|
13
13
|
/**
|
|
14
14
|
* What the data ingest needs to know about a component's collections: the declared
|
|
15
|
-
* collections to validate submissions against
|
|
16
|
-
* the prop that carries the privacy policy URL. Copied by the API from the published version's
|
|
15
|
+
* collections to validate submissions against. Copied by the API from the published version's
|
|
17
16
|
* manifest, so the edge never trusts the request for any of it. The edge strips it from the
|
|
18
17
|
* public `/m/` and `/s/` answers: visitors' pages do not need it.
|
|
19
18
|
*/
|
|
@@ -83,8 +82,6 @@ export declare const siteManifestComponentDataSchema: z.ZodObject<{
|
|
|
83
82
|
private: "private";
|
|
84
83
|
}>>;
|
|
85
84
|
}, z.core.$strict>>;
|
|
86
|
-
personal: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
88
85
|
}, z.core.$strict>;
|
|
89
86
|
/** One component a site loads. */
|
|
90
87
|
export declare const siteManifestComponentSchema: z.ZodObject<{
|
|
@@ -168,8 +165,6 @@ export declare const siteManifestComponentSchema: z.ZodObject<{
|
|
|
168
165
|
private: "private";
|
|
169
166
|
}>>;
|
|
170
167
|
}, z.core.$strict>>;
|
|
171
|
-
personal: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
-
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
173
168
|
}, z.core.$strict>>;
|
|
174
169
|
}, z.core.$strict>;
|
|
175
170
|
/** The `data` entry of a site manifest component. */
|
|
@@ -262,8 +257,6 @@ export declare const siteManifestSchema: z.ZodObject<{
|
|
|
262
257
|
private: "private";
|
|
263
258
|
}>>;
|
|
264
259
|
}, z.core.$strict>>;
|
|
265
|
-
personal: z.ZodOptional<z.ZodBoolean>;
|
|
266
|
-
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
267
260
|
}, z.core.$strict>>;
|
|
268
261
|
}, z.core.$strict>>;
|
|
269
262
|
turnstileSiteKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-manifest.d.ts","sourceRoot":"","sources":["../src/site-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,OAAO,EAIL,4BAA4B,EAG7B,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,4BAA4B,EAAE,CAAC;AAExC
|
|
1
|
+
{"version":3,"file":"site-manifest.d.ts","sourceRoot":"","sources":["../src/site-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,OAAO,EAIL,4BAA4B,EAG7B,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,4BAA4B,EAAE,CAAC;AAExC;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAO1C,CAAC;AAEH,kCAAkC;AAClC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BtC,CAAC;AAEH,qDAAqD;AACrD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,8CAA8C;AAC9C,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,gCAAgC;AAChC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmC7B,CAAC;AAEH,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
package/dist/site-manifest.js
CHANGED
|
@@ -13,21 +13,18 @@ import { boundedRecord } from "./bounded.js";
|
|
|
13
13
|
import { MANIFEST_LIMITS } from "./limits.js";
|
|
14
14
|
import { RUNTIME_RINGS } from "./runtime-pointers.js";
|
|
15
15
|
import { collectionSchema, eventSampleRateSchema } from "./manifest.js";
|
|
16
|
-
import { memberNameSchema
|
|
16
|
+
import { memberNameSchema } from "./names.js";
|
|
17
17
|
import { DAILY_CAP_HARD_MAX, DAILY_CAP_MIN, SITE_KEY_PATTERN, SITE_MANIFEST_MAX_COMPONENTS, SUSPECT_POLICIES, TURNSTILE_SITE_KEY_PATTERN, } from "./site-manifest-keys.js";
|
|
18
18
|
import { TAG_NAME_PATTERN } from "./tag-name.js";
|
|
19
19
|
export { SITE_MANIFEST_MAX_COMPONENTS };
|
|
20
20
|
/**
|
|
21
21
|
* What the data ingest needs to know about a component's collections: the declared
|
|
22
|
-
* collections to validate submissions against
|
|
23
|
-
* the prop that carries the privacy policy URL. Copied by the API from the published version's
|
|
22
|
+
* collections to validate submissions against. Copied by the API from the published version's
|
|
24
23
|
* manifest, so the edge never trusts the request for any of it. The edge strips it from the
|
|
25
24
|
* public `/m/` and `/s/` answers: visitors' pages do not need it.
|
|
26
25
|
*/
|
|
27
26
|
export const siteManifestComponentDataSchema = z.strictObject({
|
|
28
27
|
collections: boundedRecord(memberNameSchema, collectionSchema, MANIFEST_LIMITS.maxCollections, "collections"),
|
|
29
|
-
personal: z.boolean().optional(),
|
|
30
|
-
privacyPolicyUrl: propNameSchema.optional(),
|
|
31
28
|
});
|
|
32
29
|
/** One component a site loads. */
|
|
33
30
|
export const siteManifestComponentSchema = z.strictObject({
|
|
@@ -53,7 +50,7 @@ export const siteManifestComponentSchema = z.strictObject({
|
|
|
53
50
|
loading: z.enum(["idle"]).optional(),
|
|
54
51
|
/**
|
|
55
52
|
* The component's `eventSampleRate`, copied from the published version's manifest: the
|
|
56
|
-
* browser sends that share of `
|
|
53
|
+
* browser sends that share of `track` events, and the edge weights what it
|
|
57
54
|
* stores by `1 / rate` from this stored value, never from the request. Absent: all are sent.
|
|
58
55
|
*/
|
|
59
56
|
eventSampleRate: eventSampleRateSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-manifest.js","sourceRoot":"","sources":["../src/site-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEz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Ac,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACrD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,GAAG,CAAC,4BAA4B,CAAC;IAClF;;;OAGG;IACH,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,QAAQ,EAAE;IACrF;;;;OAIG;IACH,UAAU,EAAE,CAAC;SACV,YAAY,CAAC;QACZ,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,QAAQ,EAAE;QAC7C,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE;QACvE,qFAAqF;QACrF,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC;SACD,QAAQ,EAAE;IACb;;;;OAIG;IACH,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE;IAC7C,2EAA2E;IAC3E,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,KAAK,CAAC,qBAAqB,CAAC;SAC5B,QAAQ,EAAE;CACd,CAAC,CAAC"}
|
package/dist/ssr-cap.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export interface SsrCapInput {
|
|
|
27
27
|
readonly now: Date;
|
|
28
28
|
/** Server renders of the workspace this UTC month (all its sites). */
|
|
29
29
|
readonly rendersUsed: number;
|
|
30
|
-
/** The effective `ssrRendersPerMonth` (plan,
|
|
30
|
+
/** The effective `ssrRendersPerMonth` (plan, overrides). */
|
|
31
31
|
readonly rendersLimit: number;
|
|
32
32
|
}
|
|
33
33
|
/**
|
package/dist/ssr-cap.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssr-cap.d.ts","sourceRoot":"","sources":["../src/ssr-cap.ts"],"names":[],"mappings":"AA0BA,yFAAyF;AACzF,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAEtC;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,QAAc,CAAC;AAEpD,gGAAgG;AAChG,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C,4BAA4B;AAC5B,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,CAAC,EAAE,OAAO,oBAAoB,CAAC;IACxC,sFAAsF;IACtF,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAID;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGnD;AAED,4EAA4E;AAC5E,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;IACnB,sEAAsE;IACtE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,
|
|
1
|
+
{"version":3,"file":"ssr-cap.d.ts","sourceRoot":"","sources":["../src/ssr-cap.ts"],"names":[],"mappings":"AA0BA,yFAAyF;AACzF,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAEtC;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,QAAc,CAAC;AAEpD,gGAAgG;AAChG,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C,4BAA4B;AAC5B,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,CAAC,EAAE,OAAO,oBAAoB,CAAC;IACxC,sFAAsF;IACtF,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAID;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGnD;AAED,4EAA4E;AAC5E,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;IACnB,sEAAsE;IACtE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,4DAA4D;IAC5D,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,GAAG,UAAU,GAAG,IAAI,CAGnE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,UAAU,GAAG,IAAI,CAetE;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,aAAa,GAAG,IAAI,CAGtF;AAED,6EAA6E;AAC7E,eAAO,MAAM,cAAc,YAAY,CAAC;AAExC;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGvD"}
|
package/dist/url-value.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-value.d.ts","sourceRoot":"","sources":["../src/url-value.ts"],"names":[],"mappings":"AA0BA,+FAA+F;AAC/F,eAAO,MAAM,aAAa,sCAAsD,CAAC;AACjF,4CAA4C;AAC5C,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AACzD,0DAA0D;AAC1D,eAAO,MAAM,qBAAqB,EAAE,SAAS,WAAW,EAA6B,CAAC;AACtF,8FAA8F;AAC9F,eAAO,MAAM,iBAAiB,EAAE,SAAS,WAAW,EAAqC,CAAC;AAY1F;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,SAAS,WAAW,EAAE,GAAG,MAAM,CAEpE;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"url-value.d.ts","sourceRoot":"","sources":["../src/url-value.ts"],"names":[],"mappings":"AA0BA,+FAA+F;AAC/F,eAAO,MAAM,aAAa,sCAAsD,CAAC;AACjF,4CAA4C;AAC5C,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AACzD,0DAA0D;AAC1D,eAAO,MAAM,qBAAqB,EAAE,SAAS,WAAW,EAA6B,CAAC;AACtF,8FAA8F;AAC9F,eAAO,MAAM,iBAAiB,EAAE,SAAS,WAAW,EAAqC,CAAC;AAY1F;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,SAAS,WAAW,EAAE,GAAG,MAAM,CAEpE;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAA4C,CAAC;AA8E3E;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,WAAW,EAAE,GAAG,IAAI,IAAI,MAAM,CAM7F;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAG7D"}
|
package/dist/url-value.js
CHANGED
|
@@ -50,7 +50,7 @@ export function urlPattern(protocols) {
|
|
|
50
50
|
* The structural rule of any `url` prop default, whatever its `protocols`: the JSON Schema checks
|
|
51
51
|
* it, so a `javascript:` default is refused even by consumers that skip the Zod-only rules.
|
|
52
52
|
*/
|
|
53
|
-
export const URL_VALUE_PATTERN = urlPattern(URL_PROTOCOLS);
|
|
53
|
+
export const URL_VALUE_PATTERN = /* @__PURE__ */ urlPattern(URL_PROTOCOLS);
|
|
54
54
|
function parseUrl(text) {
|
|
55
55
|
// Read from globalThis: the build has no DOM lib, and a missing parser must fail closed.
|
|
56
56
|
const Parser = globalThis.URL;
|
package/dist/url-value.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-value.js","sourceRoot":"","sources":["../src/url-value.ts"],"names":[],"mappings":"AAAA;;;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AG,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAC1C,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpC,OAAO,GAAG,CAAC,QAAQ,KAAK,SAAS;QAC/B,CAAC,CAAC,cAAc,CAAC,IAAc,CAAC;QAChC,CAAC,CAAC,aAAa,CAAC,IAAc,EAAE,GAAG,CAAC,CAAC;AACzC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAAC,IAAa;IAC3C,MAAM,GAAG,GAAG,YAAY,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;IAClD,OAAO,GAAG,KAAK,SAAS,IAAI,aAAa,CAAC,IAAc,EAAE,GAAG,CAAC,CAAC;AACjE,CAAC"}
|
package/dist/zod-free.d.ts
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
* which the edge imports from here; the site key pattern and the KV key layout of the site
|
|
14
14
|
* manifest (`site-manifest-keys.ts`), which the API writes and the edge reads; the allowed-domain
|
|
15
15
|
* rules (`hostname.ts`), shared with the API so the edge's data ingest checks the `Origin` of a
|
|
16
|
-
* request with the very same code the API normalized the list with; the
|
|
17
|
-
* (`consent-text.ts`), which the ingest rebuilds to check a proof's `text_hash`; the KV keys of
|
|
16
|
+
* request with the very same code the API normalized the list with; the KV keys of
|
|
18
17
|
* the takedown denylist (`denylist-keys.ts`), written by the API and read by the edge; the
|
|
19
18
|
* runtime version rule and the release pointers (`runtime-pointers.ts`), written by the operator
|
|
20
19
|
* tooling and read by the edge; `allowsHostname`, the one place of the "empty list allows any
|
|
@@ -28,18 +27,18 @@
|
|
|
28
27
|
* The server-rendering KV layouts (cap mark, `ssr:off`, version-day ledger, server keys) stay out of this barrel, in `@taggor/contract/ssr-kv`: re-exporting them here moved the runtime's size gate by 3 B gz past its ceiling.
|
|
29
28
|
*/
|
|
30
29
|
export { CREDENTIAL_FIELD_NAME, findCredentialCollectionField, isCredentialFieldName, } from "./credential-fields.js";
|
|
31
|
-
export { CONSENT_LOCALES, consentHashInput, consentLabelText, isConsentLocale, type ConsentLocale, } from "./consent-text.js";
|
|
32
30
|
export { safeDiagnosticText } from "./diagnostic-catalog.js";
|
|
33
31
|
export { DATA_API_LIMITS, MANIFEST_LIMITS, RUNTIME_LIMITS, WORKSPACE_LIMITS } from "./limits.js";
|
|
34
32
|
export { ARTIFACT_KEY_PATTERN, ASSET_KEY_PREFIX, ARTIFACT_KIND_NAMES, ARTIFACT_KINDS, SHA256_HEX_PATTERN, artifactKey, assetKey, isConsistentArtifact, isPublicArtifactKey, isPublicAssetKey, parseArtifactKey, parseAssetKey, type ArtifactBucket, type ArtifactKind, type ArtifactKindLayout, type ParsedArtifactKey, type ParsedAssetKey, } from "./artifact-keys.js";
|
|
35
33
|
export { ASSET_HASH_PATTERN, ASSET_PATH_PATTERN, ASSET_SOURCE_EXTENSIONS, ASSET_TYPES, assetTypeOfPath, checkAssetUrl, type AssetType, type CheckedAssetUrl, } from "./assets.js";
|
|
36
34
|
export { boundedPath, boundedSegment } from "./bounded-path.js";
|
|
35
|
+
export { EVENT_PARAM_LIMITS, EVENT_PARAM_NAME_PATTERN, normalizeEventParams, type EventParams, } from "./event-params.js";
|
|
37
36
|
export { LOCALE_ATTRIBUTE, LOCALE_TAG_PATTERN } from "./locale-tag.js";
|
|
38
37
|
export { CONTRACT_MAJOR, CONTRACT_MINOR, CONTRACT_VERSION, CONTRACT_VERSION_POLICY, SUPPORT_WINDOW_MONTHS, checkContractVersion, classifyContractVersion, contractVersionMessage, contractVersionPattern, parseContractVersion, type ContractMajorSupport, type ContractVersion, type ContractVersionCheck, type ContractVersionClass, type ContractVersionCode, type ContractVersionConsumer, type ContractVersionContext, type ContractVersionKind, type ContractVersionPolicy, type ContractVersionProblem, } from "./contract-version.js";
|
|
39
38
|
export { denyAssetKvKey, denyBundleKvKey, denySiteKvKey } from "./denylist-keys.js";
|
|
40
39
|
export { MANIFEST_CHANNELS, SITE_KEY_PATTERN, TURNSTILE_SITE_KEY_PATTERN, isTurnstileSiteKey, emptySiteManifest, isSiteKey, manifestKvKey, SUSPECT_POLICIES, RESPECT_GPC_DEFAULT, DAILY_CAP_DEFAULT, DAILY_CAP_MIN, DAILY_CAP_HARD_MAX, type SuspectPolicy, dailyCapKvKey, DAILY_CAP_MARK_TTL_SECONDS, submissionCapKvKey, SUBMISSION_CAP_MARK_TTL_SECONDS, viewCapKvKey, publishedKvKey, SITE_MANIFEST_MAX_COMPONENTS, type EmptySiteManifest, type ManifestChannel, } from "./site-manifest-keys.js";
|
|
41
40
|
export { DOMAIN_REJECTIONS, HOSTNAME_MAX_LENGTH, allowsHostname, matchesAllowedDomain, normalizeAllowedDomain, normalizeHostname, type DomainRejection, type DomainResult, } from "./hostname.js";
|
|
42
|
-
export { COMPONENT_EVENT_KINDS, DEVICE_CLASSES, SSR_POINT_KINDS, SSR_FAILED_POINT_KIND, type SsrPointKind, EVENT_BEACON_CAP_PER_PAGE, EVENT_SAMPLE_RATE_MIN, HOST_ALLOWANCES, INTERNAL_READ_HEADER, TRAFFIC_CLASSES, UNSAMPLED_EVENT_KINDS, countsTowardUsage, eventWeight, shouldSendEvent, usageMonthStart, type ComponentEventKind, type DeviceClass, type HostAllowance, type TrafficClass, } from "./metering.js";
|
|
41
|
+
export { COMPONENT_EVENT_KINDS, DEVICE_CLASSES, SSR_POINT_KINDS, SSR_FAILED_POINT_KIND, type SsrPointKind, EVENT_BEACON_CAP_PER_PAGE, EVENT_PARAM_POINT_KIND, EVENT_SAMPLE_RATE_MIN, HOST_ALLOWANCES, INTERNAL_READ_HEADER, TRAFFIC_CLASSES, UNSAMPLED_EVENT_KINDS, countsTowardUsage, eventWeight, shouldSendEvent, usageMonthStart, type ComponentEventKind, type DeviceClass, type HostAllowance, type TrafficClass, } from "./metering.js";
|
|
43
42
|
export { DEFAULT_RUNTIME_RING, RUNTIME_RINGS, RUNTIME_VERSION_MAX_LENGTH, isRuntimeRing, isRuntimeVersion, parseRuntimePointer, runtimePointerKvKey, serializeRuntimePointer, type RuntimePointer, type RuntimeRing, } from "./runtime-pointers.js";
|
|
44
43
|
export { HOLD_DEFAULT_SECONDS, HOLD_MAX_SECONDS, HOLD_REGION_CLASS, holdCss, isHoldSeconds, } from "./early-loading.js";
|
|
45
44
|
export { isPreviewClaims, issuePreviewToken, PREVIEW_TOKEN_MAX_LENGTH, PREVIEW_TTL_MS, previewExpiry, verifyPreviewToken, type PreviewClaims, type PreviewSigner, } from "./preview-token.js";
|
package/dist/zod-free.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod-free.d.ts","sourceRoot":"","sources":["../src/zod-free.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"zod-free.d.ts","sourceRoot":"","sources":["../src/zod-free.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EACL,qBAAqB,EACrB,6BAA6B,EAC7B,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACjG,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,WAAW,EACX,QAAQ,EACR,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,cAAc,GACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,WAAW,EACX,eAAe,EACf,aAAa,EACb,KAAK,SAAS,EACd,KAAK,eAAe,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,E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,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,qCAAqC,EACrC,kBAAkB,EAClB,KAAK,gBAAgB,GACtB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,cAAc,EACd,eAAe,EACf,aAAa,EACb,KAAK,WAAW,EAChB,KAAK,gBAAgB,GACtB,MAAM,YAAY,CAAC"}
|
package/dist/zod-free.js
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
* which the edge imports from here; the site key pattern and the KV key layout of the site
|
|
14
14
|
* manifest (`site-manifest-keys.ts`), which the API writes and the edge reads; the allowed-domain
|
|
15
15
|
* rules (`hostname.ts`), shared with the API so the edge's data ingest checks the `Origin` of a
|
|
16
|
-
* request with the very same code the API normalized the list with; the
|
|
17
|
-
* (`consent-text.ts`), which the ingest rebuilds to check a proof's `text_hash`; the KV keys of
|
|
16
|
+
* request with the very same code the API normalized the list with; the KV keys of
|
|
18
17
|
* the takedown denylist (`denylist-keys.ts`), written by the API and read by the edge; the
|
|
19
18
|
* runtime version rule and the release pointers (`runtime-pointers.ts`), written by the operator
|
|
20
19
|
* tooling and read by the edge; `allowsHostname`, the one place of the "empty list allows any
|
|
@@ -28,18 +27,18 @@
|
|
|
28
27
|
* The server-rendering KV layouts (cap mark, `ssr:off`, version-day ledger, server keys) stay out of this barrel, in `@taggor/contract/ssr-kv`: re-exporting them here moved the runtime's size gate by 3 B gz past its ceiling.
|
|
29
28
|
*/
|
|
30
29
|
export { CREDENTIAL_FIELD_NAME, findCredentialCollectionField, isCredentialFieldName, } from "./credential-fields.js";
|
|
31
|
-
export { CONSENT_LOCALES, consentHashInput, consentLabelText, isConsentLocale, } from "./consent-text.js";
|
|
32
30
|
export { safeDiagnosticText } from "./diagnostic-catalog.js";
|
|
33
31
|
export { DATA_API_LIMITS, MANIFEST_LIMITS, RUNTIME_LIMITS, WORKSPACE_LIMITS } from "./limits.js";
|
|
34
32
|
export { ARTIFACT_KEY_PATTERN, ASSET_KEY_PREFIX, ARTIFACT_KIND_NAMES, ARTIFACT_KINDS, SHA256_HEX_PATTERN, artifactKey, assetKey, isConsistentArtifact, isPublicArtifactKey, isPublicAssetKey, parseArtifactKey, parseAssetKey, } from "./artifact-keys.js";
|
|
35
33
|
export { ASSET_HASH_PATTERN, ASSET_PATH_PATTERN, ASSET_SOURCE_EXTENSIONS, ASSET_TYPES, assetTypeOfPath, checkAssetUrl, } from "./assets.js";
|
|
36
34
|
export { boundedPath, boundedSegment } from "./bounded-path.js";
|
|
35
|
+
export { EVENT_PARAM_LIMITS, EVENT_PARAM_NAME_PATTERN, normalizeEventParams, } from "./event-params.js";
|
|
37
36
|
export { LOCALE_ATTRIBUTE, LOCALE_TAG_PATTERN } from "./locale-tag.js";
|
|
38
37
|
export { CONTRACT_MAJOR, CONTRACT_MINOR, CONTRACT_VERSION, CONTRACT_VERSION_POLICY, SUPPORT_WINDOW_MONTHS, checkContractVersion, classifyContractVersion, contractVersionMessage, contractVersionPattern, parseContractVersion, } from "./contract-version.js";
|
|
39
38
|
export { denyAssetKvKey, denyBundleKvKey, denySiteKvKey } from "./denylist-keys.js";
|
|
40
39
|
export { MANIFEST_CHANNELS, SITE_KEY_PATTERN, TURNSTILE_SITE_KEY_PATTERN, isTurnstileSiteKey, emptySiteManifest, isSiteKey, manifestKvKey, SUSPECT_POLICIES, RESPECT_GPC_DEFAULT, DAILY_CAP_DEFAULT, DAILY_CAP_MIN, DAILY_CAP_HARD_MAX, dailyCapKvKey, DAILY_CAP_MARK_TTL_SECONDS, submissionCapKvKey, SUBMISSION_CAP_MARK_TTL_SECONDS, viewCapKvKey, publishedKvKey, SITE_MANIFEST_MAX_COMPONENTS, } from "./site-manifest-keys.js";
|
|
41
40
|
export { DOMAIN_REJECTIONS, HOSTNAME_MAX_LENGTH, allowsHostname, matchesAllowedDomain, normalizeAllowedDomain, normalizeHostname, } from "./hostname.js";
|
|
42
|
-
export { COMPONENT_EVENT_KINDS, DEVICE_CLASSES, SSR_POINT_KINDS, SSR_FAILED_POINT_KIND, EVENT_BEACON_CAP_PER_PAGE, EVENT_SAMPLE_RATE_MIN, HOST_ALLOWANCES, INTERNAL_READ_HEADER, TRAFFIC_CLASSES, UNSAMPLED_EVENT_KINDS, countsTowardUsage, eventWeight, shouldSendEvent, usageMonthStart, } from "./metering.js";
|
|
41
|
+
export { COMPONENT_EVENT_KINDS, DEVICE_CLASSES, SSR_POINT_KINDS, SSR_FAILED_POINT_KIND, EVENT_BEACON_CAP_PER_PAGE, EVENT_PARAM_POINT_KIND, EVENT_SAMPLE_RATE_MIN, HOST_ALLOWANCES, INTERNAL_READ_HEADER, TRAFFIC_CLASSES, UNSAMPLED_EVENT_KINDS, countsTowardUsage, eventWeight, shouldSendEvent, usageMonthStart, } from "./metering.js";
|
|
43
42
|
export { DEFAULT_RUNTIME_RING, RUNTIME_RINGS, RUNTIME_VERSION_MAX_LENGTH, isRuntimeRing, isRuntimeVersion, parseRuntimePointer, runtimePointerKvKey, serializeRuntimePointer, } from "./runtime-pointers.js";
|
|
44
43
|
export { HOLD_DEFAULT_SECONDS, HOLD_MAX_SECONDS, HOLD_REGION_CLASS, holdCss, isHoldSeconds, } from "./early-loading.js";
|
|
45
44
|
export { isPreviewClaims, issuePreviewToken, PREVIEW_TOKEN_MAX_LENGTH, PREVIEW_TTL_MS, previewExpiry, verifyPreviewToken, } from "./preview-token.js";
|
package/dist/zod-free.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod-free.js","sourceRoot":"","sources":["../src/zod-free.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"zod-free.js","sourceRoot":"","sources":["../src/zod-free.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EACL,qBAAqB,EACrB,6BAA6B,EAC7B,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAy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MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,aAAa,GAId,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,YAAY,GAMb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,WAAW,EACX,SAAS,GASV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,GAGf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,qCAAqC,EACrC,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAE7B,6HAA6H;AAC7H,OAAO,EACL,cAAc,EACd,eAAe,EACf,aAAa,GAGd,MAAM,YAAY,CAAC"}
|
package/package.json
CHANGED
package/dist/consent-text.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The text of the consent a visitor accepts, as the server must rebuild it (`SPEC.md`
|
|
3
|
-
* §5): the checkbox label of `<Consent>` in each language and the string whose SHA-256 is the
|
|
4
|
-
* proof's `text_hash`. The SDK (`packages/component/src/consent.ts`) builds the label and hashes it
|
|
5
|
-
* in the browser; the ingest builds the same text from what it trusts (the language of the proof,
|
|
6
|
-
* the `Origin` host, the policy URL it stores for the site) and compares. A parity test in the
|
|
7
|
-
* component package keeps the two copies equal. Zod-free and pure, so the edge imports it cheaply.
|
|
8
|
-
*/
|
|
9
|
-
/** Languages the SDK shows the consent label in (the proof's `locale` is one of these). */
|
|
10
|
-
export declare const CONSENT_LOCALES: readonly ["pt-BR", "en"];
|
|
11
|
-
/** One of `CONSENT_LOCALES`. */
|
|
12
|
-
export type ConsentLocale = (typeof CONSENT_LOCALES)[number];
|
|
13
|
-
/**
|
|
14
|
-
* Whether a value is a language the SDK shows the consent label in.
|
|
15
|
-
* Inputs: any value. Output: a type guard. Errors: none. Side effects: none.
|
|
16
|
-
*/
|
|
17
|
-
export declare function isConsentLocale(value: unknown): value is ConsentLocale;
|
|
18
|
-
/**
|
|
19
|
-
* The consent label exactly as the visitor reads it.
|
|
20
|
-
* Inputs: the language and the site's name (the page's host name; empty leaves it out). Output:
|
|
21
|
-
* the joined text, e.g. "I have read and accept the privacy policy of cliente.com.br.". Errors:
|
|
22
|
-
* none. Side effects: none.
|
|
23
|
-
*/
|
|
24
|
-
export declare function consentLabelText(locale: ConsentLocale, site: string): string;
|
|
25
|
-
/**
|
|
26
|
-
* The text whose SHA-256 (lowercase hex) is the `text_hash`: the label, a line feed and the policy
|
|
27
|
-
* URL (empty when the site has none). Inputs: the label and the URL. Output: the string to hash as
|
|
28
|
-
* UTF-8. Errors: none. Side effects: none.
|
|
29
|
-
*/
|
|
30
|
-
export declare function consentHashInput(label: string, policyUrl: string): string;
|
|
31
|
-
//# sourceMappingURL=consent-text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consent-text.d.ts","sourceRoot":"","sources":["../src/consent-text.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,eAAe,0BAA0C,CAAC;AAEvE,gCAAgC;AAChC,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAQ7D;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAG5E;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEzE"}
|
package/dist/consent-text.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The text of the consent a visitor accepts, as the server must rebuild it (`SPEC.md`
|
|
3
|
-
* §5): the checkbox label of `<Consent>` in each language and the string whose SHA-256 is the
|
|
4
|
-
* proof's `text_hash`. The SDK (`packages/component/src/consent.ts`) builds the label and hashes it
|
|
5
|
-
* in the browser; the ingest builds the same text from what it trusts (the language of the proof,
|
|
6
|
-
* the `Origin` host, the policy URL it stores for the site) and compares. A parity test in the
|
|
7
|
-
* component package keeps the two copies equal. Zod-free and pure, so the edge imports it cheaply.
|
|
8
|
-
*/
|
|
9
|
-
/** Languages the SDK shows the consent label in (the proof's `locale` is one of these). */
|
|
10
|
-
export const CONSENT_LOCALES = Object.freeze(["pt-BR", "en"]);
|
|
11
|
-
/** Label pieces: the text before the link, the link's text, the connector before the site name. */
|
|
12
|
-
const LABELS = Object.freeze({
|
|
13
|
-
"pt-BR": ["Li e aceito a ", "política de privacidade", " de "],
|
|
14
|
-
en: ["I have read and accept the ", "privacy policy", " of "],
|
|
15
|
-
});
|
|
16
|
-
/**
|
|
17
|
-
* Whether a value is a language the SDK shows the consent label in.
|
|
18
|
-
* Inputs: any value. Output: a type guard. Errors: none. Side effects: none.
|
|
19
|
-
*/
|
|
20
|
-
export function isConsentLocale(value) {
|
|
21
|
-
return value === "pt-BR" || value === "en";
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The consent label exactly as the visitor reads it.
|
|
25
|
-
* Inputs: the language and the site's name (the page's host name; empty leaves it out). Output:
|
|
26
|
-
* the joined text, e.g. "I have read and accept the privacy policy of cliente.com.br.". Errors:
|
|
27
|
-
* none. Side effects: none.
|
|
28
|
-
*/
|
|
29
|
-
export function consentLabelText(locale, site) {
|
|
30
|
-
const [before, link, of] = LABELS[locale];
|
|
31
|
-
return `${before}${link}${site === "" ? "." : `${of}${site}.`}`;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* The text whose SHA-256 (lowercase hex) is the `text_hash`: the label, a line feed and the policy
|
|
35
|
-
* URL (empty when the site has none). Inputs: the label and the URL. Output: the string to hash as
|
|
36
|
-
* UTF-8. Errors: none. Side effects: none.
|
|
37
|
-
*/
|
|
38
|
-
export function consentHashInput(label, policyUrl) {
|
|
39
|
-
return `${label}\n${policyUrl}`;
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=consent-text.js.map
|
package/dist/consent-text.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consent-text.js","sourceRoot":"","sources":["../src/consent-text.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,2FAA2F;AAC3F,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,IAAI,CAAU,CAAC,CAAC;AAKvE,mGAAmG;AACnG,MAAM,MAAM,GAAuE,MAAM,CAAC,MAAM,CAAC;IAC/F,OAAO,EAAE,CAAC,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,CAAC;IAC9D,EAAE,EAAE,CAAC,6BAA6B,EAAE,gBAAgB,EAAE,MAAM,CAAC;CAC9D,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,OAAO,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,IAAI,CAAC;AAC7C,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAAqB,EAAE,IAAY;IAClE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1C,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,CAAC;AAClE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAa,EAAE,SAAiB;IAC/D,OAAO,GAAG,KAAK,KAAK,SAAS,EAAE,CAAC;AAClC,CAAC"}
|