Comparing version 0.6.0-alpha-3 to 0.6.0-alpha-4
@@ -135,3 +135,3 @@ 'use strict'; | ||
} else { | ||
payload.exp = Date().getTime() / 1000 + 600; | ||
payload.exp = Date.now() / 1000 + 600; | ||
} | ||
@@ -138,0 +138,0 @@ return (0, _JWT.createJWT)(this.settings, _extends({}, payload, { type: 'shareReq' })); |
{ | ||
"name": "uport", | ||
"version": "0.6.0-alpha-3", | ||
"version": "0.6.0-alpha-4", | ||
"description": "Library for interacting with uport profiles and attestations", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -93,3 +93,3 @@ import { createJWT, verifyJWT } from './JWT' | ||
} else { | ||
payload.exp = Date().getTime() / 1000 + 600 | ||
payload.exp = Date.now() / 1000 + 600 | ||
} | ||
@@ -96,0 +96,0 @@ return createJWT(this.settings, {...payload, type: 'shareReq'}) |
Sorry, the diff of this file is too big to display
1264350