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

    Function extractVersionUnsupportedDetails

    • Extract structured VERSION_UNSUPPORTED details from an AdCP error envelope. Returns undefined when the error has no data block or the block doesn't match the spec shape — callers should treat absence as "seller didn't tell me what they support" and fall back to a fixed retry strategy.

      Accepts either a raw error.data object or the full unwrapped response — looks for data / details / adcp_error.data / adcp_error.details variants since SDKs sometimes nest the structured payload differently.

      Parameters

      • input: unknown

      Returns VersionUnsupportedDetails | undefined