Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / canonicalClaimMap

Function: canonicalClaimMap() ​

ts
function canonicalClaimMap(rows): ClaimMapRow[];

Defined in: packages/core/dist/index.d.ts

The canonical form of an accepted map (RV4305): rows sorted by id (a stable, content-independent order), serialized by the JCS recipe every other canonical byte surface in this codebase uses. The journal decision records this form, and the hash names it.

Parameters ​

ParameterType
rowsreadonly ClaimMapRow[]

Returns ​

ClaimMapRow[]