@logto/js 3.0.0 → 3.0.1

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.
@@ -5,7 +5,7 @@ var jose = require('jose');
5
5
  var arbitraryObject = require('./arbitrary-object.cjs');
6
6
  var errors = require('./errors.cjs');
7
7
 
8
- const issuedAtTimeTolerance = 60;
8
+ const issuedAtTimeTolerance = 300; // 5 minutes
9
9
  /* eslint-disable complexity */
10
10
  /**
11
11
  * @link [ID Token](https://openid.net/specs/openid-connect-core-1_0.html#IDToken)
@@ -3,7 +3,7 @@ import { jwtVerify } from 'jose';
3
3
  import { isArbitraryObject } from './arbitrary-object.js';
4
4
  import { LogtoError } from './errors.js';
5
5
 
6
- const issuedAtTimeTolerance = 60;
6
+ const issuedAtTimeTolerance = 300; // 5 minutes
7
7
  /* eslint-disable complexity */
8
8
  /**
9
9
  * @link [ID Token](https://openid.net/specs/openid-connect-core-1_0.html#IDToken)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/js",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "type": "module",
5
5
  "main": "./lib/index.cjs",
6
6
  "module": "./lib/index.js",