@adcp/sdk API Reference - v10.0.1
    Preparing search index...

    Function resolveInlinePublisherProperties

    • Inline-resolve every selector in a publisher_properties array against the parent file's properties[]. Compact-form selectors are fanned out before resolution.

      Returns:

      • inline_properties: every property matched inline across all selectors (de-duplicated by property_id when present, by reference identity otherwise).
      • unresolved_selectors: singular selectors that still need federated resolution (inline produced no match AND domain is not revoked).
      • revoked_selectors: singular selectors that were dropped because the parent file lists their domain in revoked_publisher_domains[]. Federated fallback MUST NOT fire for these.

      Witness, not translator: the function does not invent properties or mutate the input. Counterparty-controlled fields (publisher_domain, tags, property_id) are read defensively.

      Parameters

      Returns {
          inline_properties: Property[];
          unresolved_selectors: SinglePublisherPropertySelector[];
          revoked_selectors: SinglePublisherPropertySelector[];
      }