Skip to content

WatchPluginApiParams.apiVersionRange

WatchPluginApiParams › apiVersionRange

Type: string

The semver range of contract versions the consumer compiled against, e.g. '^2'. The highest published version satisfying it wins.

Remarks:

The range is evaluated by compare-versions, which accepts ^, ~, comparison operators, and x wildcards — but NOT a bare *. Spell "any version" as '>=0.0.0'.