Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "uport", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Library for interacting with uport profiles and attestations", | ||
@@ -18,3 +18,4 @@ "main": "lib/index.js", | ||
"build:docs:md": "./node_modules/jsdoc-to-markdown/bin/cli.js src/* > DOCS.md", | ||
"build:docs": "npm run build:docs:html && npm run build:docs:md" | ||
"build:docs": "npm run build:docs:html && npm run build:docs:md", | ||
"prepublish": "yarn build" | ||
}, | ||
@@ -38,3 +39,2 @@ "author": "Pelle Braendgaard <pelle.braendgaard@consensys.net>", | ||
"devDependencies": { | ||
"babel": "^6.5.2", | ||
"babel-cli": "^6.22.2", | ||
@@ -41,0 +41,0 @@ "babel-jest": "^18.0.0", |
@@ -91,3 +91,3 @@ import { createJWT, verifyJWT } from './JWT' | ||
} else { | ||
payload.exp = Date().getTime() + 600000 | ||
payload.exp = new Date().getTime() + 600000 | ||
} | ||
@@ -94,0 +94,0 @@ return createJWT(this.settings, {...payload, type: 'shareReq'}) |
Sorry, the diff of this file is too big to display
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
677076
18
13
19521