Skip to content

Commit 5a2650f

Browse files
mkaesbergerxeioex
authored andcommitted
Types: fixed CipherAlgorithm and Pbkdf2Params
1 parent 2781bce commit 5a2650f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts/njs_webcrypto.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type CipherAlgorithm =
2424
| RsaOaepParams
2525
| AesCtrParams
2626
| AesCbcParams
27-
| AesCbcParams;
27+
| AesGcmParams;
2828

2929
type HashVariants = "SHA-256" | "SHA-384" | "SHA-512" | "SHA-1";
3030

@@ -97,7 +97,7 @@ interface Pbkdf2Params {
9797
name: "PBKDF2";
9898
hash: HashVariants;
9999
salt: NjsStringOrBuffer;
100-
interations: number;
100+
iterations: number;
101101
}
102102

103103
interface EcdhParams {

0 commit comments

Comments
 (0)