Validate a source map against its generated file
code.halowerk.com/v1/sourcemap-check
Validate a source map against its generated file: VLQ mappings, index bounds, line and column ranges, sourcesContent, sourceMappingURL, coverage and minification.
POST
https://code.halowerk.com/v1/sourcemap-checkUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://code.halowerk.com/v1/sourcemap-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"generated":"var a=1;\nvar b=2;\n//# sourceMappingURL=out.js.map","map":{"file":"out.js","mappings":"AAAA;AACA","names":[],"sources":["in.js"],"version":3}}),
});
console.log(await res.json());Example input
{
"generated": "var a=1;\nvar b=2;\n//# sourceMappingURL=out.js.map",
"map": {
"file": "out.js",
"mappings": "AAAA;AACA",
"names": [],
"sources": [
"in.js"
],
"version": 3
}
}