@0xchain/token 1.1.0-beta.60 → 1.1.0-beta.61
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -111,7 +111,7 @@ const isTokenExpired = async () => {
|
|
|
111
111
|
let t;
|
|
112
112
|
let refreshToken;
|
|
113
113
|
let accessToken;
|
|
114
|
-
if (
|
|
114
|
+
if (typeof window === "undefined") {
|
|
115
115
|
try {
|
|
116
116
|
const { cookies } = await import("next/headers");
|
|
117
117
|
const cookieStore = await cookies();
|