@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface GovernanceAdapterConfig

    Configuration for the seller-side governance adapter.

    interface GovernanceAdapterConfig {
        agent: AgentConfig;
        callerUrl: string;
        adcpVersion?: string;
    }
    Index

    Properties

    The governance agent to call for committed checks

    callerUrl: string

    The seller's caller URL for governance checks

    adcpVersion?: string

    AdCP version pin sent to the governance agent. Should match the seller's createAdcpServer({ adcpVersion }) value so the wire-level adcp_major_version field is consistent across the seller's inbound (buyer-facing) and outbound (governance-agent-facing) traffic.

    Defaults to undefined, which ProtocolClient.callTool resolves to the SDK-pinned ADCP_VERSION. Pass an explicit value when the seller pins a non-default version.