Skip to main content

checkArtifactIdentity

HardKAS SDK


HardKAS SDK / artifacts/src / checkArtifactIdentity

Function: checkArtifactIdentity()

checkArtifactIdentity(artifact): CandidateCheck

Defined in: packages/artifacts/src/resolve.ts:315

Recomputes the artifact under the version it declares and checks every identity it claims (contentHash, lineage.artifactId) and its derived label. Nothing is inferred: an artifact without a valid hashVersion cannot be an identity.

Parameters​

artifact​

any

Returns​

CandidateCheck