diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ff39cc..437ba8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# [2.0.0](https://github.com/willgm/web-crypto-tools/compare/v1.2.1...v2.0.0) (2022-02-17) + + +### Features + +* support for TypeScript 4.5 ([998d68b](https://github.com/willgm/web-crypto-tools/commit/998d68b10b6c2eb02d428b3b011fcd72d0d7ea3a)) + + +### BREAKING CHANGES + +* Some type definitions on the public API needed to be changed due to TypeScript +breaking changes + ## [1.2.1](https://github.com/willgm/web-crypto-tools/compare/v1.2.0...v1.2.1) (2022-02-16) diff --git a/docs/assets/search.js b/docs/assets/search.js index 8455143..a860322 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"4194304\":\"Type alias\"},\"rows\":[{\"id\":0,\"kind\":64,\"name\":\"getCryptoObject\",\"url\":\"modules.html#getCryptoObject\",\"classes\":\"tsd-kind-function\"},{\"id\":1,\"kind\":64,\"name\":\"generateBaseCryptoKey\",\"url\":\"modules.html#generateBaseCryptoKey\",\"classes\":\"tsd-kind-function\"},{\"id\":2,\"kind\":64,\"name\":\"deriveCryptKey\",\"url\":\"modules.html#deriveCryptKey\",\"classes\":\"tsd-kind-function\"},{\"id\":3,\"kind\":64,\"name\":\"isTypedArray\",\"url\":\"modules.html#isTypedArray\",\"classes\":\"tsd-kind-function\"},{\"id\":4,\"kind\":64,\"name\":\"encryptValue\",\"url\":\"modules.html#encryptValue\",\"classes\":\"tsd-kind-function\"},{\"id\":5,\"kind\":64,\"name\":\"decryptValue\",\"url\":\"modules.html#decryptValue\",\"classes\":\"tsd-kind-function\"},{\"id\":6,\"kind\":64,\"name\":\"generateNonce\",\"url\":\"modules.html#generateNonce\",\"classes\":\"tsd-kind-function\"},{\"id\":7,\"kind\":64,\"name\":\"generateSalt\",\"url\":\"modules.html#generateSalt\",\"classes\":\"tsd-kind-function\"},{\"id\":8,\"kind\":64,\"name\":\"generateRandomValues\",\"url\":\"modules.html#generateRandomValues\",\"classes\":\"tsd-kind-function\"},{\"id\":9,\"kind\":64,\"name\":\"encode\",\"url\":\"modules.html#encode\",\"classes\":\"tsd-kind-function\"},{\"id\":10,\"kind\":64,\"name\":\"decode\",\"url\":\"modules.html#decode\",\"classes\":\"tsd-kind-function\"},{\"id\":11,\"kind\":64,\"name\":\"generateHash\",\"url\":\"modules.html#generateHash\",\"classes\":\"tsd-kind-function\"},{\"id\":12,\"kind\":4194304,\"name\":\"ImportAlgorithm\",\"url\":\"modules.html#ImportAlgorithm\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":13,\"kind\":4194304,\"name\":\"OriginalKeyFormat\",\"url\":\"modules.html#OriginalKeyFormat\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":14,\"kind\":4194304,\"name\":\"DeriveAlgorithm\",\"url\":\"modules.html#DeriveAlgorithm\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":15,\"kind\":4194304,\"name\":\"DerivedAlgorithmFor\",\"url\":\"modules.html#DerivedAlgorithmFor\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":16,\"kind\":4194304,\"name\":\"CryptoAlgorithm\",\"url\":\"modules.html#CryptoAlgorithm\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":17,\"kind\":4194304,\"name\":\"TypedArray\",\"url\":\"modules.html#TypedArray\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":18,\"kind\":4194304,\"name\":\"CryptoKeyUsage\",\"url\":\"modules.html#CryptoKeyUsage\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":19,\"kind\":32,\"name\":\"PBKDF2_ITERATIONS_DEFAULT\",\"url\":\"modules.html#PBKDF2_ITERATIONS_DEFAULT\",\"classes\":\"tsd-kind-variable\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,26.391]],[\"parent/0\",[]],[\"name/1\",[1,26.391]],[\"parent/1\",[]],[\"name/2\",[2,26.391]],[\"parent/2\",[]],[\"name/3\",[3,26.391]],[\"parent/3\",[]],[\"name/4\",[4,26.391]],[\"parent/4\",[]],[\"name/5\",[5,26.391]],[\"parent/5\",[]],[\"name/6\",[6,26.391]],[\"parent/6\",[]],[\"name/7\",[7,26.391]],[\"parent/7\",[]],[\"name/8\",[8,26.391]],[\"parent/8\",[]],[\"name/9\",[9,26.391]],[\"parent/9\",[]],[\"name/10\",[10,26.391]],[\"parent/10\",[]],[\"name/11\",[11,26.391]],[\"parent/11\",[]],[\"name/12\",[12,26.391]],[\"parent/12\",[]],[\"name/13\",[13,26.391]],[\"parent/13\",[]],[\"name/14\",[14,26.391]],[\"parent/14\",[]],[\"name/15\",[15,26.391]],[\"parent/15\",[]],[\"name/16\",[16,26.391]],[\"parent/16\",[]],[\"name/17\",[17,26.391]],[\"parent/17\",[]],[\"name/18\",[18,26.391]],[\"parent/18\",[]],[\"name/19\",[19,26.391]],[\"parent/19\",[]]],\"invertedIndex\":[[\"cryptoalgorithm\",{\"_index\":16,\"name\":{\"16\":{}},\"parent\":{}}],[\"cryptokeyusage\",{\"_index\":18,\"name\":{\"18\":{}},\"parent\":{}}],[\"decode\",{\"_index\":10,\"name\":{\"10\":{}},\"parent\":{}}],[\"decryptvalue\",{\"_index\":5,\"name\":{\"5\":{}},\"parent\":{}}],[\"derivealgorithm\",{\"_index\":14,\"name\":{\"14\":{}},\"parent\":{}}],[\"derivecryptkey\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}],[\"derivedalgorithmfor\",{\"_index\":15,\"name\":{\"15\":{}},\"parent\":{}}],[\"encode\",{\"_index\":9,\"name\":{\"9\":{}},\"parent\":{}}],[\"encryptvalue\",{\"_index\":4,\"name\":{\"4\":{}},\"parent\":{}}],[\"generatebasecryptokey\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{}}],[\"generatehash\",{\"_index\":11,\"name\":{\"11\":{}},\"parent\":{}}],[\"generatenonce\",{\"_index\":6,\"name\":{\"6\":{}},\"parent\":{}}],[\"generaterandomvalues\",{\"_index\":8,\"name\":{\"8\":{}},\"parent\":{}}],[\"generatesalt\",{\"_index\":7,\"name\":{\"7\":{}},\"parent\":{}}],[\"getcryptoobject\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{}}],[\"importalgorithm\",{\"_index\":12,\"name\":{\"12\":{}},\"parent\":{}}],[\"istypedarray\",{\"_index\":3,\"name\":{\"3\":{}},\"parent\":{}}],[\"originalkeyformat\",{\"_index\":13,\"name\":{\"13\":{}},\"parent\":{}}],[\"pbkdf2_iterations_default\",{\"_index\":19,\"name\":{\"19\":{}},\"parent\":{}}],[\"typedarray\",{\"_index\":17,\"name\":{\"17\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"4194304\":\"Type alias\"},\"rows\":[{\"id\":0,\"kind\":64,\"name\":\"getCryptoObject\",\"url\":\"modules.html#getCryptoObject\",\"classes\":\"tsd-kind-function\"},{\"id\":1,\"kind\":64,\"name\":\"generateBaseCryptoKey\",\"url\":\"modules.html#generateBaseCryptoKey\",\"classes\":\"tsd-kind-function\"},{\"id\":2,\"kind\":64,\"name\":\"deriveCryptKey\",\"url\":\"modules.html#deriveCryptKey\",\"classes\":\"tsd-kind-function\"},{\"id\":3,\"kind\":64,\"name\":\"isTypedArray\",\"url\":\"modules.html#isTypedArray\",\"classes\":\"tsd-kind-function\"},{\"id\":4,\"kind\":64,\"name\":\"encryptValue\",\"url\":\"modules.html#encryptValue\",\"classes\":\"tsd-kind-function\"},{\"id\":5,\"kind\":64,\"name\":\"decryptValue\",\"url\":\"modules.html#decryptValue\",\"classes\":\"tsd-kind-function\"},{\"id\":6,\"kind\":64,\"name\":\"generateNonce\",\"url\":\"modules.html#generateNonce\",\"classes\":\"tsd-kind-function\"},{\"id\":7,\"kind\":64,\"name\":\"generateSalt\",\"url\":\"modules.html#generateSalt\",\"classes\":\"tsd-kind-function\"},{\"id\":8,\"kind\":64,\"name\":\"generateRandomValues\",\"url\":\"modules.html#generateRandomValues\",\"classes\":\"tsd-kind-function\"},{\"id\":9,\"kind\":64,\"name\":\"encode\",\"url\":\"modules.html#encode\",\"classes\":\"tsd-kind-function\"},{\"id\":10,\"kind\":64,\"name\":\"decode\",\"url\":\"modules.html#decode\",\"classes\":\"tsd-kind-function\"},{\"id\":11,\"kind\":64,\"name\":\"generateHash\",\"url\":\"modules.html#generateHash\",\"classes\":\"tsd-kind-function\"},{\"id\":12,\"kind\":4194304,\"name\":\"ImportAlgorithm\",\"url\":\"modules.html#ImportAlgorithm\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":13,\"kind\":4194304,\"name\":\"DeriveAlgorithm\",\"url\":\"modules.html#DeriveAlgorithm\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":14,\"kind\":4194304,\"name\":\"DerivedAlgorithmFor\",\"url\":\"modules.html#DerivedAlgorithmFor\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":15,\"kind\":4194304,\"name\":\"CryptoAlgorithm\",\"url\":\"modules.html#CryptoAlgorithm\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":16,\"kind\":4194304,\"name\":\"CryptoKeyUsage\",\"url\":\"modules.html#CryptoKeyUsage\",\"classes\":\"tsd-kind-type-alias\"},{\"id\":17,\"kind\":32,\"name\":\"PBKDF2_ITERATIONS_DEFAULT\",\"url\":\"modules.html#PBKDF2_ITERATIONS_DEFAULT\",\"classes\":\"tsd-kind-variable\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,25.39]],[\"parent/0\",[]],[\"name/1\",[1,25.39]],[\"parent/1\",[]],[\"name/2\",[2,25.39]],[\"parent/2\",[]],[\"name/3\",[3,25.39]],[\"parent/3\",[]],[\"name/4\",[4,25.39]],[\"parent/4\",[]],[\"name/5\",[5,25.39]],[\"parent/5\",[]],[\"name/6\",[6,25.39]],[\"parent/6\",[]],[\"name/7\",[7,25.39]],[\"parent/7\",[]],[\"name/8\",[8,25.39]],[\"parent/8\",[]],[\"name/9\",[9,25.39]],[\"parent/9\",[]],[\"name/10\",[10,25.39]],[\"parent/10\",[]],[\"name/11\",[11,25.39]],[\"parent/11\",[]],[\"name/12\",[12,25.39]],[\"parent/12\",[]],[\"name/13\",[13,25.39]],[\"parent/13\",[]],[\"name/14\",[14,25.39]],[\"parent/14\",[]],[\"name/15\",[15,25.39]],[\"parent/15\",[]],[\"name/16\",[16,25.39]],[\"parent/16\",[]],[\"name/17\",[17,25.39]],[\"parent/17\",[]]],\"invertedIndex\":[[\"cryptoalgorithm\",{\"_index\":15,\"name\":{\"15\":{}},\"parent\":{}}],[\"cryptokeyusage\",{\"_index\":16,\"name\":{\"16\":{}},\"parent\":{}}],[\"decode\",{\"_index\":10,\"name\":{\"10\":{}},\"parent\":{}}],[\"decryptvalue\",{\"_index\":5,\"name\":{\"5\":{}},\"parent\":{}}],[\"derivealgorithm\",{\"_index\":13,\"name\":{\"13\":{}},\"parent\":{}}],[\"derivecryptkey\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}],[\"derivedalgorithmfor\",{\"_index\":14,\"name\":{\"14\":{}},\"parent\":{}}],[\"encode\",{\"_index\":9,\"name\":{\"9\":{}},\"parent\":{}}],[\"encryptvalue\",{\"_index\":4,\"name\":{\"4\":{}},\"parent\":{}}],[\"generatebasecryptokey\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{}}],[\"generatehash\",{\"_index\":11,\"name\":{\"11\":{}},\"parent\":{}}],[\"generatenonce\",{\"_index\":6,\"name\":{\"6\":{}},\"parent\":{}}],[\"generaterandomvalues\",{\"_index\":8,\"name\":{\"8\":{}},\"parent\":{}}],[\"generatesalt\",{\"_index\":7,\"name\":{\"7\":{}},\"parent\":{}}],[\"getcryptoobject\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{}}],[\"importalgorithm\",{\"_index\":12,\"name\":{\"12\":{}},\"parent\":{}}],[\"istypedarray\",{\"_index\":3,\"name\":{\"3\":{}},\"parent\":{}}],[\"pbkdf2_iterations_default\",{\"_index\":17,\"name\":{\"17\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 5a250fc..f49ea24 100644 --- a/docs/index.html +++ b/docs/index.html @@ -74,4 +74,4 @@
Generated using TypeDoc