@aws-crypto/web-crypto-backend
Advanced tools
Comparing version 3.1.1 to 4.0.0
@@ -1,8 +0,8 @@ | ||
declare type MaybeSubtleCrypto = SubtleCrypto | false; | ||
export declare type WebCryptoBackend = FullSupportWebCryptoBackend | MixedSupportWebCryptoBackend; | ||
export declare type FullSupportWebCryptoBackend = { | ||
type MaybeSubtleCrypto = SubtleCrypto | false; | ||
export type WebCryptoBackend = FullSupportWebCryptoBackend | MixedSupportWebCryptoBackend; | ||
export type FullSupportWebCryptoBackend = { | ||
subtle: SubtleCrypto; | ||
randomValues: (byteLength: number) => Uint8Array; | ||
}; | ||
export declare type MixedSupportWebCryptoBackend = { | ||
export type MixedSupportWebCryptoBackend = { | ||
zeroByteSubtle: SubtleCrypto; | ||
@@ -9,0 +9,0 @@ nonZeroByteSubtle: SubtleCrypto; |
@@ -1,8 +0,8 @@ | ||
declare type MaybeSubtleCrypto = SubtleCrypto | false; | ||
export declare type WebCryptoBackend = FullSupportWebCryptoBackend | MixedSupportWebCryptoBackend; | ||
export declare type FullSupportWebCryptoBackend = { | ||
type MaybeSubtleCrypto = SubtleCrypto | false; | ||
export type WebCryptoBackend = FullSupportWebCryptoBackend | MixedSupportWebCryptoBackend; | ||
export type FullSupportWebCryptoBackend = { | ||
subtle: SubtleCrypto; | ||
randomValues: (byteLength: number) => Uint8Array; | ||
}; | ||
export declare type MixedSupportWebCryptoBackend = { | ||
export type MixedSupportWebCryptoBackend = { | ||
zeroByteSubtle: SubtleCrypto; | ||
@@ -9,0 +9,0 @@ nonZeroByteSubtle: SubtleCrypto; |
{ | ||
"name": "@aws-crypto/web-crypto-backend", | ||
"version": "3.1.1", | ||
"version": "4.0.0", | ||
"scripts": { | ||
@@ -23,3 +23,3 @@ "prepublishOnly": "npm run build", | ||
"@aws-crypto/ie11-detection": "1.0.0", | ||
"@aws-crypto/supports-web-crypto": "1.0.0", | ||
"@aws-crypto/supports-web-crypto": "5.0.0", | ||
"@aws-sdk/util-locate-window": "3.37.0", | ||
@@ -42,3 +42,3 @@ "tslib": "^2.2.0" | ||
}, | ||
"gitHead": "125e889322955b9b7228349a04b654d97fe378c9" | ||
"gitHead": "ad6d29822fecf3f3f6c8c676ea3b6c3156257e87" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53956
28
429
+ Added@aws-crypto/supports-web-crypto@5.0.0(transitive)
- Removed@aws-crypto/supports-web-crypto@1.0.0(transitive)