@arianee/arianee-access-token
Advanced tools
Comparing version 1.46.0 to 1.47.0
{ | ||
"name": "@arianee/arianee-access-token", | ||
"version": "1.46.0", | ||
"version": "1.47.0", | ||
"dependencies": { | ||
@@ -16,6 +16,6 @@ "@arianee/0xcert-cert": "^2.0.2", | ||
"peerDependencies": { | ||
"@arianee/common-types": "1.46.0", | ||
"@arianee/core": "1.46.0", | ||
"@arianee/permit721-sdk": "1.46.0", | ||
"@arianee/utils": "1.46.0", | ||
"@arianee/common-types": "1.47.0", | ||
"@arianee/core": "1.47.0", | ||
"@arianee/permit721-sdk": "1.47.0", | ||
"@arianee/utils": "1.47.0", | ||
"tslib": "2.5.0" | ||
@@ -22,0 +22,0 @@ }, |
@@ -72,5 +72,3 @@ "use strict"; | ||
const now = Date.now(); | ||
const basicPayload = Object.assign({ iss: this.core.getAddress(), sub: 'wallet', | ||
// TODO: remove the * 1000 when sdk is deployed everywhere | ||
exp: now + 5 * 60 * 1000, iat: nowInSeconds }, payload); | ||
const basicPayload = Object.assign({ iss: this.core.getAddress(), sub: 'wallet', exp: now + 5 * 60, iat: nowInSeconds }, payload); | ||
const jwt = yield jwtGenerator.setPayload(basicPayload); | ||
@@ -77,0 +75,0 @@ return jwt.sign(prefix); |
19088
330