Skip to content
Fourohtwo

code.halowerk.com/v1/protobuf-breaking

Check two versions of a .proto file for breaking changes using the buf rule set (categories FILE, PACKAGE, WIRE_JSON, WIRE): deleted fields, type, name, cardinality and RPC changes.

BaseAnswering
POSThttps://code.halowerk.com/v1/protobuf-breaking

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://code.halowerk.com/v1/protobuf-breaking", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"category":"WIRE_JSON","new_proto":"syntax = \"proto3\";\npackage shop.v1;\nmessage Order { string id = 1; reserved 2; reserved \"email\"; }","old_proto":"syntax = \"proto3\";\npackage shop.v1;\nmessage Order { string id = 1; string email = 2; }"}),
});
console.log(await res.json());

Example input

{
  "category": "WIRE_JSON",
  "new_proto": "syntax = \"proto3\";\npackage shop.v1;\nmessage Order { string id = 1; reserved 2; reserved \"email\"; }",
  "old_proto": "syntax = \"proto3\";\npackage shop.v1;\nmessage Order { string id = 1; string email = 2; }"
}