jsonld-signatures
Advanced tools
Comparing version 11.0.0 to 11.1.0
/*! | ||
* Copyright (c) 2017-2021 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2017-2023 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -61,6 +61,8 @@ 'use strict'; | ||
* canonize algorithm. | ||
* @param {object} [options.canonizeOptions] - Options to pass to | ||
* canonize algorithm. | ||
*/ | ||
constructor({ | ||
type, proof, LDKeyClass, date, key, signer, verifier, useNativeCanonize, | ||
contextUrl | ||
canonizeOptions, contextUrl | ||
} = {}) { | ||
@@ -76,2 +78,3 @@ super({type}); | ||
this.verifier = vm.verifier; | ||
this.canonizeOptions = canonizeOptions; | ||
if(date) { | ||
@@ -218,3 +221,4 @@ this.date = new Date(date); | ||
skipExpansion, | ||
useNative: this.useNativeCanonize | ||
useNative: this.useNativeCanonize, | ||
...this.canonizeOptions | ||
}); | ||
@@ -239,3 +243,4 @@ } | ||
expansionMap, | ||
skipExpansion: false | ||
skipExpansion: false, | ||
...this.canonizeOptions | ||
}); | ||
@@ -242,0 +247,0 @@ } |
{ | ||
"name": "jsonld-signatures", | ||
"version": "11.0.0", | ||
"version": "11.1.0", | ||
"description": "An implementation of the Linked Data Signatures specifications for JSON-LD in JavaScript.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/digitalbazaar/jsonld-signatures", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61892
1382