@ichaingo/request 1.4.62 → 1.4.64

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -176,7 +176,7 @@ async function refreshToken(config) {
176
176
  await refreshPromise;
177
177
  return config;
178
178
  }
179
- if (isTokenExpired()) {
179
+ if (await isTokenExpired()) {
180
180
  refreshPromise = (async () => {
181
181
  axiosInstance$1.get(`/api/refresh/token`, {
182
182
  params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichaingo/request",
3
- "version": "1.4.62",
3
+ "version": "1.4.64",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -22,8 +22,8 @@
22
22
  "js-cookie": "3.0.5",
23
23
  "next": "^15.4.5",
24
24
  "qs": "6.14.0",
25
- "@ichaingo/logger": "1.4.62",
26
- "@ichaingo/token": "1.4.62"
25
+ "@ichaingo/logger": "1.4.64",
26
+ "@ichaingo/token": "1.4.64"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/js-cookie": "^3.0.6",