Skip to content
PACKAGES

verifyBlueprintHash()

Verify a Blueprint’s recorded topology hash using caller-owned hashing.

import { verifyBlueprintHash } from "@graphrefly/ts/graph";
function verifyBlueprintHash(
blueprint: GraphBlueprintEvidence,
options: GraphBlueprintHashOptions,
): boolean | Promise<boolean>
ParameterTypeDescription
blueprintGraphBlueprintEvidenceBlueprint carrying optional hash metadata.
optionsGraphBlueprintHashOptionsExpected algorithm and sync or async hash implementation.

False for a missing or mismatched hash, or a Promise when the hash implementation is async.

This page was generated from source JSDoc, but the structured API tags are incomplete:

  • Missing @example.

packages/ts/src/graph/blueprint-evidence.ts