TypeScript / JavaScript
SDK: @beezshield/sentinel
Current npm package version: 0.1.0
npm install @beezshield/sentinel
INTEGRATION BLUEPRINT
import { createSentinelClient } from "@beezshield/sentinel";
const client = createSentinelClient({ lane: "basic" });
const decision = await client.decideBeforeExecution({
contract_address: "0x1111111111111111111111111111111111111111",
chain: "base",
});
if (decision.shouldExecute) {
// Safe to proceed based on point-in-time checks
}
Payment challenge handling
On unpaid requests, the SDK can raise SentinelPaymentRequiredError so your app can run an explicit payment path.
The SDK surfaces challenge details for explicit payment handling and does not fake settlement.