From b0ddd5a103e9e74dfff27824fec3d1831b948060 Mon Sep 17 00:00:00 2001 From: jorgelg Date: Thu, 25 Jun 2015 17:15:09 +0200 Subject: [PATCH] Minor improvements --- README.md | 2 +- lib/jwt-utils.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ede7dff..408d6d4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ jwt-utils ========= -TDAF JSON Web Tokens (JWT) utils. +JSON Web Tokens (JWT) utils. [![npm version](https://badge.fury.io/js/jwt-utils.svg)](http://badge.fury.io/js/jwt-utils) [![Build Status](https://travis-ci.org/telefonica/node-jwt-utils.svg)](https://travis-ci.org/telefonica/node-jwt-utils) diff --git a/lib/jwt-utils.js b/lib/jwt-utils.js index d751ba7..6d2c6a8 100644 --- a/lib/jwt-utils.js +++ b/lib/jwt-utils.js @@ -17,11 +17,13 @@ 'use strict'; -var crypto = require('crypto'), - debug = require('debug')('tef:base:jwtUtils'), - errors = require('./errors'), +var crypto = require('crypto'); +var debugLib = require('debug'), _ = require('underscore'), jwa = require('jwa'); +var errors = require('./errors'); + +var debug = debugLib('tef:base:jwtUtils'); var hashAlgorithms = { HS256: 'sha256',