@iqauth/sdk 2.0.1 → 2.0.2

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/next.js CHANGED
@@ -2057,7 +2057,7 @@ async function getAuth(options) {
2057
2057
  /* webpackIgnore: true */
2058
2058
  specifier
2059
2059
  );
2060
- cookieJar = mod.cookies ? mod.cookies() : null;
2060
+ cookieJar = mod.cookies ? await mod.cookies() : null;
2061
2061
  } catch {
2062
2062
  cookieJar = null;
2063
2063
  }
package/dist/next.mjs CHANGED
@@ -110,7 +110,7 @@ async function getAuth(options) {
110
110
  /* webpackIgnore: true */
111
111
  specifier
112
112
  );
113
- cookieJar = mod.cookies ? mod.cookies() : null;
113
+ cookieJar = mod.cookies ? await mod.cookies() : null;
114
114
  } catch {
115
115
  cookieJar = null;
116
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iqauth/sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "TypeScript SDK for IQAuth — the canonical way for all IQ projects to integrate with IQAuthService",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",