Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 4, 2026

Summary

  • Fixed discovery test scenario to use publisher_domains (AdCP v2.3+) instead of legacy authorized_properties
  • Fixed edge-cases test to only validate publisher_domains, removing legacy field references
  • Updated response preview formatting since publisher_domains is an array of strings, not objects

Test plan

  • Build passes
  • Discovery tests correctly read publisher_domains from list_authorized_properties response
  • Edge-cases tests validate publisher_domains consistency

Fixes #183

🤖 Generated with Claude Code

bokelley and others added 2 commits January 4, 2026 10:44
…erties

The discovery and edge-cases test scenarios were reading from the
legacy `authorized_properties` field instead of the current v2.3+
field `publisher_domains`. This caused validation failures with
the error "publisher_domains.0: Invalid input: expected string,
received undefined".

Changes:
- discovery.ts: Read from publisher_domains (array of strings)
  instead of authorized_properties (array of objects)
- edge-cases.ts: Remove legacy field references, only validate
  publisher_domains

Fixes #183

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 15244b1 into main Jan 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discovery test uses wrong field name for list_authorized_properties response

2 participants