From 17bbab44c9c2291bc5b814ca7800e529184a135b Mon Sep 17 00:00:00 2001 From: larabr <7375870+larabr@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:52:30 +0100 Subject: [PATCH] README: clarify web-stream-tools version to install for TypeScript projects [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 030ff800..2cd39b3f 100644 --- a/README.md +++ b/README.md @@ -174,10 +174,10 @@ To offload cryptographic operations off the main thread, you can implement a Web #### TypeScript -Since TS is not fully integrated in the library, TS-only dependencies are currently listed as `devDependencies`, so to compile the project you’ll need to add `@openpgp/web-stream-tools` manually: +Since TS is not fully integrated in the library, TS-only dependencies are currently listed as `devDependencies`, so to compile the project you’ll need to add `@openpgp/web-stream-tools` manually (NB: only versions below v0.12 are compatible with OpenPGP.js v5): ```sh -npm install --save-dev @openpgp/web-stream-tools +npm install --save-dev @openpgp/web-stream-tools@0.0.11-patch-0 ``` If you notice missing or incorrect type definitions, feel free to open a PR.