Skip to main content

Variable: definitionHashSync

const definitionHashSync: (def) => string = definitionHash;

Defined in: packages/core/src/submission/hash.ts:245

"sha256:" + hex(SHA-256(JCS(def without meta.updatedAt))).

Synchronous, as docs/17 §2.5 types it — createFormEngine() stamps the hash during construction and cannot await. definitionHashSync is the same function under the name the engine-facing modules use.

Parameters

ParameterType
defFormDefinition

Returns

string