Closed hugomrdias closed 1 year ago
https://github.com/oddsdk/ts-odd/blob/66b8fd2efd47ca02f061d9c555b141204dcce2d0/src/components/auth/implementation/wnfs.ts#L99
needs
const currentTimeInSeconds = Math.floor(Date.now() / 1000); if (ucan.payload.exp < (currentTimeInSeconds + 60 * 60 * 24 * 7)) return false
Fixed on next branch.
next
https://github.com/oddsdk/ts-odd/blob/66b8fd2efd47ca02f061d9c555b141204dcce2d0/src/components/auth/implementation/wnfs.ts#L99
needs