crypto-api-wrapper
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.6.1"></a> | ||
## [0.6.1](https://github.com/coast-team/crypto-api-wrapper/compare/v0.6.0...v0.6.1) (2018-07-18) | ||
### Bug Fixes | ||
* **package:** build for browser points to the right file ([3ee7403](https://github.com/coast-team/crypto-api-wrapper/commit/3ee7403)) | ||
<a name="0.6.0"></a> | ||
@@ -7,0 +17,0 @@ # [0.6.0](https://github.com/coast-team/crypto-api-wrapper/compare/v0.4.2...v0.6.0) (2018-07-13) |
{ | ||
"name": "crypto-api-wrapper", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "## Web Crypto wrapper", | ||
"main": "dist/commonjs/src/index.node.js", | ||
"browser": { | ||
"buffer": false, | ||
"node-webcrypto-ossl": false | ||
}, | ||
"browser": "dist/commonjs/src/index.browser.js", | ||
"types": "dist/commonjs/src/index.node.d.ts", | ||
@@ -37,3 +34,3 @@ "files": [ | ||
"karma-spec-reporter": "^0.0.32", | ||
"karma-typescript": "^3.0.12", | ||
"karma-typescript": "^3.0.13", | ||
"lint-staged": "^7.2.0", | ||
@@ -45,3 +42,3 @@ "markdownlint-cli": "^0.11.0", | ||
"text-encoding": "^0.6.4", | ||
"tslint": "^5.10.0", | ||
"tslint": "^5.11.0", | ||
"tslint-config-prettier": "^1.13.0", | ||
@@ -56,5 +53,5 @@ "typedoc": "^0.11.1", | ||
"test-node": "npm run build && jasmine --config=jasmine.json", | ||
"lint": "tslint --fix -p tsconfig.json && prettier --write --list-different src/**/*.ts test/**/*.{ts,config.js} ./*.{ts,js,json,md} docs/**/*.md && markdownlint ./*.md", | ||
"lint": "tslint --fix -p tsconfig.json && prettier --write --list-different src/**/*.ts test/**/*.{ts,config.js} ./*.{ts,js,json,md} docs/**/*.md && markdownlint ./*.md -i 'CHANGELOG.md'", | ||
"precommit": "lint-staged && npm test -- --single-run --no-auto-watch", | ||
"pre-release": "npm run build && npm publish", | ||
"pre-release": "npm run build", | ||
"release": "standard-version --no-verify" | ||
@@ -84,3 +81,3 @@ }, | ||
"git add", | ||
"markdownlint" | ||
"markdownlint -i 'CHANGELOG.md'" | ||
], | ||
@@ -87,0 +84,0 @@ "*.ts": [ |
@@ -18,20 +18,20 @@ # Crypto API wrapper | ||
* generateSigningKey() | ||
* generateEncryptionKey() | ||
* exportKey(keypair) | ||
* importKey(keydata) | ||
* sign(plaintext, privateKey) | ||
* verify(plaintext, signature, publicKey) | ||
* encrypt(plaintext, publicKey) | ||
* decrypt(ciphertext, privateKey) | ||
- generateSigningKey() | ||
- generateEncryptionKey() | ||
- exportKey(keypair) | ||
- importKey(keydata) | ||
- sign(plaintext, privateKey) | ||
- verify(plaintext, signature, publicKey) | ||
- encrypt(plaintext, publicKey) | ||
- decrypt(ciphertext, privateKey) | ||
### symmetricCrypto API | ||
* generateEncryptionKey() | ||
* exportKey(encryptionKey) | ||
* toB64(keydata) | ||
* fromB64(keydataB64) | ||
* importKey(keydata) | ||
* encrypt(plaintext, encryptionKey) | ||
* decrypt(ciphertext, encryptionKey) | ||
- generateEncryptionKey() | ||
- exportKey(encryptionKey) | ||
- toB64(keydata) | ||
- fromB64(keydataB64) | ||
- importKey(keydata) | ||
- encrypt(plaintext, encryptionKey) | ||
- decrypt(ciphertext, encryptionKey) | ||
@@ -38,0 +38,0 @@ [1]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
104455
1