diff --git a/package.json b/package.json index e2deb46..32811b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "crypto-pro", - "version": "2.2.1", + "version": "2.2.2", "description": "API для взаимодействия с КриптоПро", "main": "./lib/crypto-pro.js", "types": "./lib/crypto-pro.d.ts", diff --git a/src/api/getAllUserCertificates.ts b/src/api/getAllUserCertificates.ts index b113123..dc2d263 100644 --- a/src/api/getAllUserCertificates.ts +++ b/src/api/getAllUserCertificates.ts @@ -20,7 +20,7 @@ export const getAllUserCertificates = _afterPluginsLoaded((resetCache: boolean = } return eval( - _generateCadesFn(function getUserCertificates(): Certificate[] { + _generateCadesFn(function getAllUserCertificates(): Certificate[] { let cadesStore; try {