webcrypto-core
Advanced tools
Comparing version 0.1.20 to 0.1.21
@@ -202,3 +202,3 @@ declare type NativeCrypto = Crypto; | ||
static exportKey(format: string, key: CryptoKey): PromiseLike<JsonWebKey | ArrayBuffer>; | ||
static importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>; | ||
static importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: Algorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>; | ||
} | ||
@@ -262,3 +262,3 @@ | ||
static generateKey(algorithm: Algorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey | CryptoKeyPair>; | ||
static importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>; | ||
static importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: Algorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey> | ||
static deriveKey(algorithm: Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: Algorithm, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>; | ||
@@ -265,0 +265,0 @@ static deriveBits(algorithm: Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike<ArrayBuffer>; |
{ | ||
"name": "webcrypto-core", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "Common layer to be used by crypto libraries based on WebCrypto API for input validation.", | ||
@@ -52,3 +52,3 @@ "main": "dist/webcrypto-core.js", | ||
"rollup-plugin-typescript": "^0.8.1", | ||
"typescript": "^2.5.2" | ||
"typescript": "^2.8.1" | ||
}, | ||
@@ -55,0 +55,0 @@ "author": "PeculiarVentures", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
328462