@auditauth/next 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/sdk.js +0 -4
  2. package/package.json +1 -1
package/dist/sdk.js CHANGED
@@ -173,10 +173,6 @@ class AuditAuthNext {
173
173
  if (res.status === 401 && refresh) {
174
174
  const data = await this.refresh(refresh);
175
175
  if (data?.access_token && data?.refresh_token) {
176
- this.setCookieTokens({
177
- at: data.access_token,
178
- rt: data.refresh_token,
179
- });
180
176
  res = await doFetch(data.access_token);
181
177
  }
182
178
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auditauth/next",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Official AuditAuth SDK for Next.js",
5
5
  "license": "MIT",
6
6
  "author": "Nimibyte",