2.3.2 release (#29)

This commit is contained in:
Artem Vasilev 2022-06-23 13:48:07 +03:00 committed by GitHub
parent 51ed50491a
commit db9b5e0a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 20 additions and 18 deletions

View File

@ -1,4 +1,4 @@
// Type definitions for crypto-pro-js 2.3.1 // Type definitions for crypto-pro-js 2.3.2
// Project: crypto-pro-js // Project: crypto-pro-js
// Definitions by: Artem Vasilev https://github.com/kernusr // Definitions by: Artem Vasilev https://github.com/kernusr

View File

@ -5012,7 +5012,8 @@ exports._getCadesContainerCert = _afterPluginsLoaded_1._afterPluginsLoaded(funct
} }
catch (error) { catch (error) {
console.error(error); console.error(error);
throw new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(error) || 'Ошибка получения списка сертификатов из хранилища закрытого ключа'); throw new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(error) ||
'Ошибка получения списка сертификатов из хранилища закрытого ключа');
} }
if (!certificatesCount) { if (!certificatesCount) {
throw new Error('Нет доступных сертификатов в хранилище закрытого ключа'); throw new Error('Нет доступных сертификатов в хранилище закрытого ключа');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
"name": "crypto-pro-example-es5-script-tag", "name": "crypto-pro-example-es5-script-tag",
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"crypto-pro-js": "^2.3.0" "crypto-pro-js": "^2.3.2"
}, },
"devDependencies": { "devDependencies": {
"node-static": "0.7.11", "node-static": "0.7.11",
@ -59,9 +59,9 @@
"dev": true "dev": true
}, },
"node_modules/crypto-pro-js": { "node_modules/crypto-pro-js": {
"version": "2.3.0", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/crypto-pro-js/-/crypto-pro-js-2.3.0.tgz", "resolved": "https://registry.npmjs.org/crypto-pro-js/-/crypto-pro-js-2.3.2.tgz",
"integrity": "sha512-pJ9vaQDdInhz2NhIE9NRj3mH6W7PsY+UQCwz7ZHrjgpVlTNWrg2Rk/ooorNfVuQUjOk3tbLYaLnMqkPkRgbmlA==" "integrity": "sha512-XD5STnobroyuli5k/8udnv5oOwZpVhf1/3uoD7/FMSbBQSTstu1IOS+uckFC3I2LRvDOmdzntYAZqyY/1/NB1A=="
}, },
"node_modules/fs.realpath": { "node_modules/fs.realpath": {
"version": "1.0.0", "version": "1.0.0",
@ -311,9 +311,9 @@
"dev": true "dev": true
}, },
"crypto-pro-js": { "crypto-pro-js": {
"version": "2.3.0", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/crypto-pro-js/-/crypto-pro-js-2.3.0.tgz", "resolved": "https://registry.npmjs.org/crypto-pro-js/-/crypto-pro-js-2.3.2.tgz",
"integrity": "sha512-pJ9vaQDdInhz2NhIE9NRj3mH6W7PsY+UQCwz7ZHrjgpVlTNWrg2Rk/ooorNfVuQUjOk3tbLYaLnMqkPkRgbmlA==" "integrity": "sha512-XD5STnobroyuli5k/8udnv5oOwZpVhf1/3uoD7/FMSbBQSTstu1IOS+uckFC3I2LRvDOmdzntYAZqyY/1/NB1A=="
}, },
"fs.realpath": { "fs.realpath": {
"version": "1.0.0", "version": "1.0.0",

View File

@ -13,6 +13,6 @@
"symlink-dir": "3.1.2" "symlink-dir": "3.1.2"
}, },
"dependencies": { "dependencies": {
"crypto-pro-js": "^2.3.0" "crypto-pro-js": "^2.3.2"
} }
} }

View File

@ -1,4 +1,4 @@
// Type definitions for crypto-pro-js 2.3.1 // Type definitions for crypto-pro-js 2.3.2
// Project: crypto-pro-js // Project: crypto-pro-js
// Definitions by: Artem Vasilev https://github.com/kernusr // Definitions by: Artem Vasilev https://github.com/kernusr

View File

@ -4438,7 +4438,8 @@ exports._getCadesContainerCert = _afterPluginsLoaded_1._afterPluginsLoaded((thum
} }
catch (error) { catch (error) {
console.error(error); console.error(error);
throw new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(error) || 'Ошибка получения списка сертификатов из хранилища закрытого ключа'); throw new Error(_extractMeaningfulErrorMessage_1._extractMeaningfulErrorMessage(error) ||
'Ошибка получения списка сертификатов из хранилища закрытого ключа');
} }
if (!certificatesCount) { if (!certificatesCount) {
throw new Error('Нет доступных сертификатов в хранилище закрытого ключа'); throw new Error('Нет доступных сертификатов в хранилище закрытого ключа');

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "crypto-pro-js", "name": "crypto-pro-js",
"version": "2.3.1", "version": "2.3.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "2.3.1", "version": "2.3.2",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@types/jest": "25.1.4", "@types/jest": "25.1.4",

View File

@ -1,6 +1,6 @@
{ {
"name": "crypto-pro-js", "name": "crypto-pro-js",
"version": "2.3.1", "version": "2.3.2",
"description": "Асинхронный JavaScript API для работы с КриптоПРО ЭЦП Browser Plug-In. Forked from https://github.com/vgoma/crypto-pro", "description": "Асинхронный JavaScript API для работы с КриптоПРО ЭЦП Browser Plug-In. Forked from https://github.com/vgoma/crypto-pro",
"main": "./lib/crypto-pro-js.js", "main": "./lib/crypto-pro-js.js",
"types": "./lib/crypto-pro-js.d.ts", "types": "./lib/crypto-pro-js.d.ts",