pagecrypt
Advanced tools
Comparing version 3.2.0 to 3.3.0
# Changelog for `pagecrypt` | ||
## 3.3.0 - 2021-04-25 | ||
### Features | ||
- Set `<iframe>` and document `title` to improve accessibility for the page. | ||
### Fixes | ||
- Clarify test instructions | ||
- Fix missing import in code sample | ||
--- | ||
## 3.2.0 - 2021-04-24 | ||
@@ -4,0 +17,0 @@ |
{ | ||
"name": "pagecrypt", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Easily add client-side password-protection to your Single Page Applications and HTML files.", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"cli": "node cli.js", | ||
"test": "npm pack && cd test && npm i ../pagecrypt-*.tgz && npm run test && cd .. && echo 'Verify test output in the `test/out-*.html` files.'", | ||
"test": "npm pack && cd test && npm i ../pagecrypt-*.tgz && npm run test && cd .. && echo 'Verify test results by opening the `test/out-*.html` files in your browser.'", | ||
"start": "vite", | ||
@@ -11,0 +11,0 @@ "build": "vite build", |
@@ -105,3 +105,3 @@ # PageCrypt - Password Protected Single Page Applications and HTML files | ||
```js | ||
import { encrypt, generatePassword } from 'pagecrypt' | ||
import { generatePassword, encrypt, encryptHTML } from 'pagecrypt' | ||
@@ -137,3 +137,3 @@ // Generate a random password without any external dependencies | ||
`npm test` will run basic tests for JS API and CLI. Verify results by opening `test/out-js.html` and `test/out-cli.html` in your browser. | ||
`npm test` will run basic tests for JS API and CLI. Verify test results by opening the `test/out-*.html` files in your browser. | ||
@@ -140,0 +140,0 @@ --- |
Sorry, the diff of this file is not supported yet
26240