@onexapis/cli 1.1.57 → 1.1.59

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/index.mjs CHANGED
@@ -1566,7 +1566,7 @@ async function clearAuthTokens() {
1566
1566
  }
1567
1567
  }
1568
1568
  function isTokenExpired(tokens) {
1569
- return Date.now() / 1e3 > tokens.expiresAt - 60;
1569
+ return Date.now() / 1e3 > tokens.expiresAt - 300;
1570
1570
  }
1571
1571
  async function getValidTokens() {
1572
1572
  const tokens = loadAuthTokens();