From b8072c56a210781c0192451ceb299b1e0750aec2 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Fri, 19 May 2023 15:25:22 -0400 Subject: [PATCH] Rework canonicalIdMap param doc. --- lib/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/index.js b/lib/index.js index a6bcc0f..e4e1b5a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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.