nuxt-auther 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-auther",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "configKey": "auth",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
package/dist/module.mjs CHANGED
@@ -7,7 +7,7 @@ import { existsSync } from 'fs';
7
7
  import { hash } from 'ohash';
8
8
 
9
9
  const name = "nuxt-auther";
10
- const version = "1.0.3";
10
+ const version = "1.0.4";
11
11
 
12
12
  const OAUTH2DEFAULTS = {
13
13
  accessType: void 0,
@@ -29,7 +29,7 @@ export class TokenStatus {
29
29
  } catch (error) {
30
30
  return "UNKNOWN" /* UNKNOWN */;
31
31
  }
32
- const timeSlackMillis = 500;
32
+ const timeSlackMillis = 6e4;
33
33
  tokenExpiresAt -= timeSlackMillis;
34
34
  if (now < tokenExpiresAt) {
35
35
  return "VALID" /* VALID */;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-auther",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Authentication module for Nuxt.JS",
5
5
  "homepage": "https://github.com/zerosdev/nuxt-auther",
6
6
  "author": "zerosdev",