bt-core-app 2.0.136 → 2.0.137

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.
@@ -9497,8 +9497,8 @@ function pP(e) {
9497
9497
  return e.tryRefreshToken ?? (e.tryRefreshToken = async () => {
9498
9498
  if (e.useTokenRefresh !== !0 || ia(r.value.refreshToken) || ia(r.value.refreshExpiresOn))
9499
9499
  return;
9500
- const A = it.fromFormat(r.value.refreshExpiresOn, t), L = it.fromFormat(r.value.expiresOn, t), V = it.utc().toString(), P = L.plus({ minutes: 0 - a });
9501
- if (!(V > A.toString()) && !(V < P.toString())) {
9500
+ const A = it.fromFormat(r.value.refreshExpiresOn, t), L = it.fromFormat(r.value.expiresOn, t), V = it.utc().toFormat(t), P = L.plus({ minutes: 0 - a });
9501
+ if (!(V > A.toFormat(t)) && !(V < P.toFormat(t))) {
9502
9502
  var E = yn(xv(), e.tokenRefreshPath ?? "refreshtoken");
9503
9503
  try {
9504
9504
  var $ = await fetch(E, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.136",
3
+ "version": "2.0.137",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {