nextauthz 1.3.39 → 1.3.40

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 CHANGED
@@ -198,7 +198,6 @@ var RoleGuard = ({
198
198
  if (!isAuthChecked) return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: fallback });
199
199
  if (!isAuthenticated) return null;
200
200
  if (!role || !allowedRoles.includes(role)) return null;
201
- console.log(role);
202
201
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children });
203
202
  };
204
203
  var RoleGuard_default = RoleGuard;
package/dist/index.mjs CHANGED
@@ -177,7 +177,6 @@ var RoleGuard = ({
177
177
  if (!isAuthChecked) return /* @__PURE__ */ jsx3(Fragment2, { children: fallback });
178
178
  if (!isAuthenticated) return null;
179
179
  if (!role || !allowedRoles.includes(role)) return null;
180
- console.log(role);
181
180
  return /* @__PURE__ */ jsx3(Fragment2, { children });
182
181
  };
183
182
  var RoleGuard_default = RoleGuard;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextauthz",
3
- "version": "1.3.39",
3
+ "version": "1.3.40",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/RoleGuard.tsx CHANGED
@@ -33,9 +33,6 @@ const RoleGuard = ({
33
33
  if (!isAuthenticated) return null
34
34
  if (!role || !allowedRoles.includes(role)) return null
35
35
 
36
- console.log(role);
37
-
38
-
39
36
  return <>{children}</>
40
37
  }
41
38