pixellint 0.32.0 → 0.33.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/README.md +7 -1
- package/index.d.ts +8 -0
- package/package.json +1 -1
- package/wasm/pixellint.js +1 -1
- package/wasm/pixellint_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ finding.targets[0]; // { component: "whole_url", start: 0, end: 46, ... }
|
|
|
47
47
|
- URL conformance, transport, credentials, fragments, and ad-tech macro handling
|
|
48
48
|
- IAB consent signals: TCF `gdpr` and `gdpr_consent`, the deprecated US Privacy
|
|
49
49
|
string, and GPP `gpp` and `gpp_sid`
|
|
50
|
-
-
|
|
50
|
+
- 159 vendor rulepacks across 85 vendors, including Meta
|
|
51
51
|
Conversions API, TikTok Events API, Reddit CAPI, and the browser pixels
|
|
52
52
|
- Endpoint attribution for 120 vendor rows, so an unrecognized pixel still gets a name.
|
|
53
53
|
|
|
@@ -68,6 +68,12 @@ finding.targets[0]; // { component: "whole_url", start: 0, end: 46, ... }
|
|
|
68
68
|
`vendor` for a caller's claimed vendor. `html`, `js`, and `gtm` throw: extract
|
|
69
69
|
URLs first.
|
|
70
70
|
|
|
71
|
+
Use `{ kind: "request" }` with a serialized complete capture containing string
|
|
72
|
+
`url`, string `method`, `headers` as an object or name/value list, and optional
|
|
73
|
+
raw string `body`. It binds payload checks to the destination and adds method
|
|
74
|
+
and header contracts. See [the HTTP capture schema](https://github.com/aleksUIX/pixellint/blob/main/docs/HTTP_REQUEST_SCHEMA.md)
|
|
75
|
+
for representation limits and repeated fields.
|
|
76
|
+
|
|
71
77
|
`vast` takes a tracking URL extracted from VAST and enables the IAB VAST
|
|
72
78
|
macro-name checks. It does not accept a VAST XML document.
|
|
73
79
|
|
package/index.d.ts
CHANGED
|
@@ -11,6 +11,14 @@ export type ArtifactKind =
|
|
|
11
11
|
|
|
12
12
|
export type ExpansionState = "unknown" | "template" | "fired";
|
|
13
13
|
|
|
14
|
+
/** Serialize this capture with JSON.stringify and validate with kind: request. */
|
|
15
|
+
export interface HttpRequest {
|
|
16
|
+
url: string;
|
|
17
|
+
method: string;
|
|
18
|
+
headers: Record<string, string> | Array<{ name: string; value: string }>;
|
|
19
|
+
body?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
14
22
|
export type Severity = "error" | "warning" | "info";
|
|
15
23
|
|
|
16
24
|
export type EvidenceLevel =
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pixellint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Validator for pixels, postbacks, conversion API payloads, and tracking URLs: Meta CAPI, Facebook pixel, GTM, and vendor rulepacks",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Aleks <aleks@vastlint.org>",
|
package/wasm/pixellint.js
CHANGED
package/wasm/pixellint_bg.wasm
CHANGED
|
Binary file
|