@egodigital/microservices
Advanced tools
Comparing version 0.5.0 to 0.6.0
# Change Log (@egodigital/microservices) | ||
## 0.6.0 | ||
* BREAKING CHANGE: [express](https://www.npmjs.com/package/express) is now added to [peerDependencies](https://nodejs.org/es/blog/npm/peer-dependencies/) | ||
* typos | ||
## 0.5.0 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "@egodigital/microservices", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Shared library for microservices, written for Node.js", | ||
@@ -43,3 +43,2 @@ "author": "e.GO Digital GmbH, Aachen, Germany", | ||
"bcryptjs": "^2.4.3", | ||
"express": "^4.17.1", | ||
"jsonwebtoken": "^8.5.1", | ||
@@ -55,5 +54,8 @@ "node-nats-streaming": "^0.3.2" | ||
"tslint": "^6.1.3", | ||
"typedoc": "^0.20.27", | ||
"typescript": "^4.1.5" | ||
"typedoc": "^0.20.28", | ||
"typescript": "^4.2.2" | ||
}, | ||
"peerDependencies": { | ||
"express": "^4.17.1" | ||
}, | ||
"engines": { | ||
@@ -60,0 +62,0 @@ "node": ">=12.0.0" |
@@ -27,6 +27,6 @@ [![npm](https://img.shields.io/npm/v/@egodigital/microservices.svg)](https://www.npmjs.com/package/@egodigital/microservices) | ||
const hash1 = await hashPassword('test'); | ||
const matches2 = await checkPassword('test', hash1); | ||
const doesMatch1 = await checkPassword('test', hash1); // true | ||
const hash2 = hashPasswordSync('test'); | ||
const matches2 = checkPasswordSync('test', hash2); | ||
const doesMatch2 = checkPasswordSync('Test', hash2); // false | ||
``` | ||
@@ -33,0 +33,0 @@ |
53207
- Removedexpress@^4.17.1