@it-enterprise/digital-signature 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@it-enterprise/digital-signature",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "digital signature",
5
5
  "private": false,
6
6
  "main": "src/index.js",
@@ -638,7 +638,7 @@ export default class DigitalSignature {
638
638
  } else if (signType.type === EndUserConstants.EndUserSignContainerType.CAdES) {
639
639
  const signLevel = signType.signLevel || EndUserConstants.EndUserSignType.CAdES_X_Long;
640
640
 
641
- await euSign.SetRuntimeParameter(EndUserConstants.EU_SIGN_TYPE_PARAMETER, signLevel);
641
+ await this._euSign.SetRuntimeParameter(EndUserConstants.EU_SIGN_TYPE_PARAMETER, signLevel);
642
642
 
643
643
  if (signType.subType === EndUserConstants.EndUserCAdESType.Detached) {
644
644
  const hash = await this._euSign.HashData(this._readedKey.getHashAlgo(), data, !asByteArray);