Skip to content

Commit

Permalink
Rework canonicalIdMap param doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlehn committed May 19, 2023
1 parent 042e9d3 commit b8072c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ exports._rdfCanonizeNative = function(api) {
* implementation used by the canonize algorithm; note that using a hash
* algorithm (or HMAC algorithm) that differs from the one specified by
* the canonize algorithm will result in different output.
* {Map} [canonicalIdMap] - An optional Map to be used by the canonical
* identifier issuer; passing a Map here enables the bnode identifier
* mapping generated by the canonicalization algorithm to be exported to
* the caller.
* {Map} [canonicalIdMap] - An optional Map to be populated by the canonical
* identifier issuer with the bnode identifier mapping generated by the
* canonicalization algorithm.
* {string} [inputFormat] - The format of the input. Use
* 'application/n-quads' for a N-Quads string that will be parsed. Omit for
* a JSON dataset or legacy dataset.
Expand Down

0 comments on commit b8072c5

Please sign in to comment.