Resolve and validate a configured adcpVersion. Returns the value to store
on the instance — either the caller's pin or the SDK default.
Throws ConfigurationError when:
The pin is unparseable as a semver / legacy alias
The pin parses but no schema bundle exists for the resolved key
Cross-major pins are accepted as long as the corresponding bundle ships
with this SDK build (e.g. '3.1.0-beta.1' when dist/lib/schemas-data/ 3.1.0-beta.1/ exists). Pins of the SDK's currently-pinned ADCP_VERSION
always succeed without an fs check — the bundle is guaranteed.
Resolve and validate a configured
adcpVersion. Returns the value to store on the instance — either the caller's pin or the SDK default.Throws
ConfigurationErrorwhen:Cross-major pins are accepted as long as the corresponding bundle ships with this SDK build (e.g.
'3.1.0-beta.1'whendist/lib/schemas-data/ 3.1.0-beta.1/exists). Pins of the SDK's currently-pinnedADCP_VERSIONalways succeed without an fs check — the bundle is guaranteed.