@arianee/arianee-access-token
Advanced tools
Comparing version 1.68.1 to 1.68.2
{ | ||
"name": "@arianee/arianee-access-token", | ||
"version": "1.68.1", | ||
"version": "1.68.2", | ||
"dependencies": { | ||
"@arianee/0xcert-cert": "^2.0.2", | ||
"@arianee/arianee-abi": "0.28.0", | ||
"@arianee/arianee-abi": "0.29.0", | ||
"@ethersproject/abstract-signer": "^5.7.0", | ||
@@ -16,6 +16,6 @@ "@ethersproject/bignumber": "^5.7.0", | ||
"peerDependencies": { | ||
"@arianee/common-types": "1.68.1", | ||
"@arianee/core": "1.68.1", | ||
"@arianee/permit721-sdk": "1.68.1", | ||
"@arianee/utils": "1.68.1", | ||
"@arianee/common-types": "1.68.2", | ||
"@arianee/core": "1.68.2", | ||
"@arianee/permit721-sdk": "1.68.2", | ||
"@arianee/utils": "1.68.2", | ||
"tslib": "2.5.0" | ||
@@ -22,0 +22,0 @@ }, |
@@ -52,3 +52,3 @@ "use strict"; | ||
const iss = jwt.decode().payload.iss; | ||
const expBeforeExpiration = ignoreExpiration ? 0 : -1; | ||
const expBeforeExpiration = ignoreExpiration ? -1 : 10; | ||
return jwt.verify(iss, expBeforeExpiration); | ||
@@ -55,0 +55,0 @@ } |
@@ -78,3 +78,2 @@ "use strict"; | ||
const isBefore = new Date(nbfInMS).getTime() > Date.now(); | ||
console.log(isBefore); | ||
if (isBefore) { | ||
@@ -81,0 +80,0 @@ return false; |
19023
328
+ Added@arianee/arianee-abi@0.29.0(transitive)
+ Added@arianee/common-types@1.68.2(transitive)
+ Added@arianee/core@1.68.2(transitive)
+ Added@arianee/permit721-sdk@1.68.2(transitive)
+ Added@arianee/utils@1.68.2(transitive)
- Removed@arianee/arianee-abi@0.28.0(transitive)
- Removed@arianee/common-types@1.68.1(transitive)
- Removed@arianee/core@1.68.1(transitive)
- Removed@arianee/permit721-sdk@1.68.1(transitive)
- Removed@arianee/utils@1.68.1(transitive)
Updated@arianee/arianee-abi@0.29.0