From 962e8c40e5a2d76b86bc37dd1a54586998869ee9 Mon Sep 17 00:00:00 2001 From: Alik Khilazhev Date: Fri, 30 Dec 2016 22:33:27 +0500 Subject: [PATCH] Update changelog and package json * Publishing v2.0.0 * Adds prepublish script --- CHANGELOG.md | 7 +++++-- package.json | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f326b2..f193324 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ -## [Unreleased] +## [2.0.0] - 2016-12-30 +**Incomatible with older versions** ### Changed - Moves AES implementation to outer package zaes-js - Replaces inner compresser with lz-string.js @@ -6,4 +7,6 @@ - Removes unused code(hash, utils) - Changes module start script ### Adds - - keys module for generating AES and RSA keys \ No newline at end of file + - keys module for generating AES and RSA keys +### Removed + - Own RSA, AES and compression implementations \ No newline at end of file diff --git a/package.json b/package.json index c629958..73ab053 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "name": "sttp", "description": "STTP - new generation Secure TBM Transfer Protocol. STTP works over HTTP and it very similar to TLS. It is a kind of poor copy of HTTPS.", - "version": "1.1.0", + "version": "2.0.0", "main": "index.js", "directories": { "test": "test" @@ -30,7 +30,8 @@ "analyze-coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec ", "send-coverage":"cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage", "coverage":"npm run analyze-coverage && npm run send-coverage", - "browserify": "echo 'there will be broserify soon'" + "browserify": "echo 'there will be broserify soon'", + "prepublish": "npm run compile && npm run browserify" }, "repository": { "type": "git",