@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.js CHANGED
@@ -1602,7 +1602,7 @@ async function clearAuthTokens() {
1602
1602
  }
1603
1603
  }
1604
1604
  function isTokenExpired(tokens) {
1605
- return Date.now() / 1e3 > tokens.expiresAt - 60;
1605
+ return Date.now() / 1e3 > tokens.expiresAt - 300;
1606
1606
  }
1607
1607
  async function getValidTokens() {
1608
1608
  const tokens = loadAuthTokens();