From b276e0ddb87623ff7289c4c28688c9d88cee904c Mon Sep 17 00:00:00 2001 From: Michelon Souza Date: Sun, 10 Oct 2021 08:40:09 -0300 Subject: [PATCH] docs: ajust options in readme --- .eslintignore | 3 ++- README.md | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.eslintignore b/.eslintignore index 79774c2..768bc03 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,5 @@ node_modules dist build -*.js \ No newline at end of file +*.js +*.md diff --git a/README.md b/README.md index 57a800e..f0e63aa 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ The `options` object is optional and consists of the following properties: |prefix |`string` |`''` | |storageType |`localStorage` or `sessionStorage` |`localStorage` | |stateManagementUse |`boolean` |`false` | -|encAlgorithm |`AES | Rabbit | RC4 | RC4Drop` |`AES` | +|encAlgorithm |`AES` \| `Rabbit` \| `RC4` \| `RC4Drop` |`AES` | ## Usage diff --git a/package.json b/package.json index 8856488..656e346 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "encrypt-storage", - "version": "2.0.11", + "version": "2.0.12", "description": "Wrapper for encrypted localStorage and sessionStorage in browser", "main": "dist/index.js", "types": "dist/index.d.ts",