mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-23 16:44:59 +03:00
2.0.4
This commit is contained in:
parent
889213670e
commit
1f452c4ca0
2
dist/crypto-pro.d.ts
vendored
2
dist/crypto-pro.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for crypto-pro 2.0.3
|
||||
// Type definitions for crypto-pro 2.0.4
|
||||
// Project: crypto-pro
|
||||
// Definitions by: Vitalii Goma https://github.com/vgoma
|
||||
|
||||
|
4
dist/crypto-pro.js
vendored
4
dist/crypto-pro.js
vendored
@ -692,7 +692,7 @@ exports.createSignature = _afterPluginsLoaded_1._afterPluginsLoaded(function (th
|
||||
return [4 /*yield*/, _getCadesCert_1._getCadesCert(thumbprint)];
|
||||
case 1:
|
||||
cadesCertificate = _a.sent();
|
||||
return [2 /*return*/, eval(_generateCadesFn_1._generateCadesFn(function signData() {
|
||||
return [2 /*return*/, eval(_generateCadesFn_1._generateCadesFn(function createSignature() {
|
||||
var cadesAttrs;
|
||||
var cadesSignedData;
|
||||
var cadesSigner;
|
||||
@ -899,7 +899,7 @@ exports.getUserCertificates = _afterPluginsLoaded_1._afterPluginsLoaded(function
|
||||
if (!resetCache && certificatesCache) {
|
||||
return certificatesCache;
|
||||
}
|
||||
return eval(_generateCadesFn_1._generateCadesFn(function getCertsList() {
|
||||
return eval(_generateCadesFn_1._generateCadesFn(function getUserCertificates() {
|
||||
var cadesStore;
|
||||
try {
|
||||
cadesStore = _generateCadesFn_1.__cadesAsyncToken__ + _generateCadesFn_1.__createCadesPluginObject__('CAdESCOM.Store');
|
||||
|
2
dist/crypto-pro.js.map
vendored
2
dist/crypto-pro.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/crypto-pro.min.js.map
vendored
2
dist/crypto-pro.min.js.map
vendored
File diff suppressed because one or more lines are too long
6
examples/angular/package-lock.json
generated
6
examples/angular/package-lock.json
generated
@ -3308,9 +3308,9 @@
|
||||
}
|
||||
},
|
||||
"crypto-pro": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/crypto-pro/-/crypto-pro-2.0.3.tgz",
|
||||
"integrity": "sha512-mvs9QMkaFFBALl4R+gfZgExyHwmRA2RosC9DF1DRfI6MSFoglnkQsJ8qNmc1S8YtgWs+T855ppMH3tue/+ywUw=="
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/crypto-pro/-/crypto-pro-2.0.4.tgz",
|
||||
"integrity": "sha512-fR8RE7iApGdvb0Z6vKV4yeaapKZyzZf/98ShA7i4Y2Mn1p3iwpL22X6gQWlFc/VGvz29dKomvvWiXiVYmOryfw=="
|
||||
},
|
||||
"css": {
|
||||
"version": "2.2.4",
|
||||
|
@ -21,7 +21,7 @@
|
||||
"@angular/platform-browser": "~9.0.7",
|
||||
"@angular/platform-browser-dynamic": "~9.0.7",
|
||||
"@angular/router": "~9.0.7",
|
||||
"crypto-pro": "2.0.3",
|
||||
"crypto-pro": "2.0.4",
|
||||
"rxjs": "~6.5.4",
|
||||
"tslib": "^1.10.0",
|
||||
"zone.js": "~0.10.2"
|
||||
|
6
examples/react/package-lock.json
generated
6
examples/react/package-lock.json
generated
@ -3712,9 +3712,9 @@
|
||||
}
|
||||
},
|
||||
"crypto-pro": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/crypto-pro/-/crypto-pro-2.0.3.tgz",
|
||||
"integrity": "sha512-mvs9QMkaFFBALl4R+gfZgExyHwmRA2RosC9DF1DRfI6MSFoglnkQsJ8qNmc1S8YtgWs+T855ppMH3tue/+ywUw=="
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/crypto-pro/-/crypto-pro-2.0.4.tgz",
|
||||
"integrity": "sha512-fR8RE7iApGdvb0Z6vKV4yeaapKZyzZf/98ShA7i4Y2Mn1p3iwpL22X6gQWlFc/VGvz29dKomvvWiXiVYmOryfw=="
|
||||
},
|
||||
"css": {
|
||||
"version": "2.2.4",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"@testing-library/jest-dom": "4.2.4",
|
||||
"@testing-library/react": "9.5.0",
|
||||
"@testing-library/user-event": "7.2.1",
|
||||
"crypto-pro": "2.0.3",
|
||||
"crypto-pro": "2.0.4",
|
||||
"react": "^16.13.1",
|
||||
"react-app-polyfill": "1.0.6",
|
||||
"react-dom": "^16.13.1",
|
||||
|
6
examples/script-tag/package-lock.json
generated
6
examples/script-tag/package-lock.json
generated
@ -42,9 +42,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"crypto-pro": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/crypto-pro/-/crypto-pro-2.0.3.tgz",
|
||||
"integrity": "sha512-mvs9QMkaFFBALl4R+gfZgExyHwmRA2RosC9DF1DRfI6MSFoglnkQsJ8qNmc1S8YtgWs+T855ppMH3tue/+ywUw=="
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/crypto-pro/-/crypto-pro-2.0.4.tgz",
|
||||
"integrity": "sha512-fR8RE7iApGdvb0Z6vKV4yeaapKZyzZf/98ShA7i4Y2Mn1p3iwpL22X6gQWlFc/VGvz29dKomvvWiXiVYmOryfw=="
|
||||
},
|
||||
"fs.realpath": {
|
||||
"version": "1.0.0",
|
||||
|
@ -13,6 +13,6 @@
|
||||
"symlink-dir": "3.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"crypto-pro": "2.0.3"
|
||||
"crypto-pro": "2.0.4"
|
||||
}
|
||||
}
|
||||
|
2
lib/crypto-pro.d.ts
vendored
2
lib/crypto-pro.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for crypto-pro 2.0.3
|
||||
// Type definitions for crypto-pro 2.0.4
|
||||
// Project: crypto-pro
|
||||
// Definitions by: Vitalii Goma https://github.com/vgoma
|
||||
|
||||
|
@ -541,7 +541,7 @@ const _getDateObj_1 = __webpack_require__(/*! ../helpers/_getDateObj */ "./helpe
|
||||
exports.createSignature = _afterPluginsLoaded_1._afterPluginsLoaded((thumbprint, dataBase64, detachedSignature = true) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
const { cadesplugin } = window;
|
||||
const cadesCertificate = yield _getCadesCert_1._getCadesCert(thumbprint);
|
||||
return eval(_generateCadesFn_1._generateCadesFn(function signData() {
|
||||
return eval(_generateCadesFn_1._generateCadesFn(function createSignature() {
|
||||
let cadesAttrs;
|
||||
let cadesSignedData;
|
||||
let cadesSigner;
|
||||
@ -709,7 +709,7 @@ exports.getUserCertificates = _afterPluginsLoaded_1._afterPluginsLoaded((resetCa
|
||||
if (!resetCache && certificatesCache) {
|
||||
return certificatesCache;
|
||||
}
|
||||
return eval(_generateCadesFn_1._generateCadesFn(function getCertsList() {
|
||||
return eval(_generateCadesFn_1._generateCadesFn(function getUserCertificates() {
|
||||
let cadesStore;
|
||||
try {
|
||||
cadesStore = _generateCadesFn_1.__cadesAsyncToken__ + _generateCadesFn_1.__createCadesPluginObject__('CAdESCOM.Store');
|
||||
|
File diff suppressed because one or more lines are too long
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "crypto-pro",
|
||||
"version": "2.0.3",
|
||||
"version": "2.0.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "crypto-pro",
|
||||
"version": "2.0.3",
|
||||
"version": "2.0.4",
|
||||
"description": "API для взаимодействия с КриптоПро",
|
||||
"main": "./lib/crypto-pro.js",
|
||||
"types": "./lib/crypto-pro.d.ts",
|
||||
|
@ -19,7 +19,7 @@ export const createSignature = _afterPluginsLoaded(
|
||||
const cadesCertificate = await _getCadesCert(thumbprint);
|
||||
|
||||
return eval(
|
||||
_generateCadesFn(function signData(): string {
|
||||
_generateCadesFn(function createSignature(): string {
|
||||
let cadesAttrs;
|
||||
let cadesSignedData;
|
||||
let cadesSigner;
|
||||
|
@ -21,7 +21,7 @@ export const getUserCertificates = _afterPluginsLoaded((resetCache: boolean = fa
|
||||
}
|
||||
|
||||
return eval(
|
||||
_generateCadesFn(function getCertsList(): Certificate[] {
|
||||
_generateCadesFn(function getUserCertificates(): Certificate[] {
|
||||
let cadesStore;
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user