Skip to content

Commit

Permalink
2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoma committed Jan 6, 2023
1 parent 2879695 commit c784890
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 25 deletions.
3 changes: 2 additions & 1 deletion dist/api/certificate/certificate.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { TagTranslation } from '../../helpers/_parseCertInfo';
import { AlgorithmInfo } from './getAlgorithm';
import { ExtendedKeysTranslations } from './getDecodedExtendedKeyUsage';
export declare type CadesCertificate = any;
export declare class Certificate {
Expand All @@ -14,7 +15,7 @@ export declare class Certificate {
getIssuerInfo(): Promise<TagTranslation[]>;
getExtendedKeyUsage(): Promise<string[]>;
getDecodedExtendedKeyUsage(): Promise<ExtendedKeysTranslations>;
getAlgorithm(): Promise<string>;
getAlgorithm(): Promise<AlgorithmInfo>;
getCadesProp(propName: any): Promise<any>;
isValid(): Promise<boolean>;
exportBase64(): Promise<string>;
Expand Down
3 changes: 1 addition & 2 deletions dist/api/certificate/getAlgorithm.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
interface AlgorithmInfo {
export interface AlgorithmInfo {
algorithm: string;
oid: string;
}
Expand All @@ -8,4 +8,3 @@ interface AlgorithmInfo {
* @returns информацию об алгоритме и его OID'е
*/
export declare const getAlgorithm: () => Promise<AlgorithmInfo>;
export {};
2 changes: 1 addition & 1 deletion dist/crypto-pro.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for crypto-pro 2.3.0
// Type definitions for crypto-pro 2.3.1
// Project: crypto-pro
// Definitions by: Vitalii Goma https://github.com/vgoma

Expand Down
2 changes: 1 addition & 1 deletion dist/crypto-pro.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/crypto-pro.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/angular/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0",
"crypto-pro": "^2.3.1",
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
Expand Down
6 changes: 3 additions & 3 deletions examples/react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0",
"crypto-pro": "^2.3.1",
"react": "^16.13.1",
"react-app-polyfill": "1.0.6",
"react-dom": "^16.13.1",
Expand Down
6 changes: 3 additions & 3 deletions examples/script-tag/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/script-tag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"symlink-dir": "3.1.2"
},
"dependencies": {
"crypto-pro": "^2.3.0"
"crypto-pro": "^2.3.1"
}
}
3 changes: 2 additions & 1 deletion lib/api/certificate/certificate.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { TagTranslation } from '../../helpers/_parseCertInfo';
import { AlgorithmInfo } from './getAlgorithm';
import { ExtendedKeysTranslations } from './getDecodedExtendedKeyUsage';
export declare type CadesCertificate = any;
export declare class Certificate {
Expand All @@ -14,7 +15,7 @@ export declare class Certificate {
getIssuerInfo(): Promise<TagTranslation[]>;
getExtendedKeyUsage(): Promise<string[]>;
getDecodedExtendedKeyUsage(): Promise<ExtendedKeysTranslations>;
getAlgorithm(): Promise<string>;
getAlgorithm(): Promise<AlgorithmInfo>;
getCadesProp(propName: any): Promise<any>;
isValid(): Promise<boolean>;
exportBase64(): Promise<string>;
Expand Down
3 changes: 1 addition & 2 deletions lib/api/certificate/getAlgorithm.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
interface AlgorithmInfo {
export interface AlgorithmInfo {
algorithm: string;
oid: string;
}
Expand All @@ -8,4 +8,3 @@ interface AlgorithmInfo {
* @returns информацию об алгоритме и его OID'е
*/
export declare const getAlgorithm: () => Promise<AlgorithmInfo>;
export {};
2 changes: 1 addition & 1 deletion lib/crypto-pro.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for crypto-pro 2.3.0
// Type definitions for crypto-pro 2.3.1
// Project: crypto-pro
// Definitions by: Vitalii Goma https://github.com/vgoma

Expand Down
2 changes: 1 addition & 1 deletion lib/crypto-pro.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crypto-pro",
"version": "2.3.0",
"version": "2.3.1",
"description": "API для взаимодействия с КриптоПро",
"main": "./lib/crypto-pro.js",
"types": "./lib/crypto-pro.d.ts",
Expand Down

0 comments on commit c784890

Please sign in to comment.