@bondi-labs/integration-sdk - v0.0.2
    Preparing search index...

    Interface VerifyWebResult

    Result of verifyWebRequest. On success, exposes the consumed body and action so callers don't need to re-read or re-parse the request.

    interface VerifyWebResult {
        action?: string;
        body?: string;
        reason?: VerifyReason;
        valid: boolean;
    }
    Index

    Properties

    action?: string

    Value of the x-bondi-action header, when present.

    body?: string

    Raw body string consumed from request.text(). Present whenever the body could be read.

    reason?: VerifyReason

    Populated only when valid === false.

    valid: boolean

    true if all checks passed.