Skip to content

Commit

Permalink
updated name of package dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mcguinness committed Nov 5, 2016
1 parent b8f15a2 commit 78f9b5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require('dotenv').config();

const JwtTokenHandler = require('node-oauth2-bearer-jwt-handler').JwtTokenHandler;
const JwtTokenHandler = require('oauth2-bearer-jwt-handler').JwtTokenHandler;
const AuthPolicy = require('./auth-policy');
const fs = require('fs');
const jwtTokenHandler = new JwtTokenHandler({
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "lambda-oauth2-jwt-authorizer",
"version": "0.1.0",
"description": "OAuth2 Bearer JSON Web Token (JWT) Custom Authorizer for AWS API Gateway",
"description": "RFC 6750 OAuth2 bearer JSON Web Token (JWT) custom authorizer for AWS API Gateway",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/lambda-local --timeout 300 -l lib/index.js -h handler -e test/event.json",
"test": "./node_modules/.bin/lambda-local --timeout 300 -l index.js -h handler -e test/event.json",
"zip": "mkdir dist && rm -f dist/lambda-oauth2-jwt-authorizer.zip ; zip dist/lambda-oauth2-jwt-authorizer.zip -r *.js *.json .env node_modules/"
},
"repository": {
Expand All @@ -31,7 +31,7 @@
"homepage": "https://github.com/mcguinness/node-lambda-oauth2-jwt-authorizer.git#readme",
"dependencies": {
"dotenv": "^2.0.0",
"node-oauth2-bearer-jwt-handler": "https://github.com/mcguinness/node-oauth2-jwt-bearer-token.git"
"oauth2-bearer-jwt-handler": "https://github.com/mcguinness/node-oauth2-bearer-jwt-handler.git"
},
"devDependencies": {
"lambda-local": "^1.1.0",
Expand Down

0 comments on commit 78f9b5b

Please sign in to comment.