From fdb8c7c1363fe9d7abdc5a8e8a90d0a06ed4336f Mon Sep 17 00:00:00 2001 From: German Arutyunov Date: Fri, 7 May 2021 14:38:58 +0300 Subject: [PATCH] added all user certificates --- package.json | 2 +- src/api/getAllUserCertificates.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {