npm-pkg-hook 1.5.3 → 1.5.4

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/package.json CHANGED
@@ -43,5 +43,5 @@
43
43
  "rm": "rm -rf node_modules package-lock.json && npm i",
44
44
  "test": "echo \"Error: no test specified\" && exit 1"
45
45
  },
46
- "version": "1.5.3"
46
+ "version": "1.5.4"
47
47
  }
@@ -38,10 +38,10 @@ export const useLogout = ({ setAlertBox = () => {} } = {}) => {
38
38
  setLoading(true)
39
39
  // Eliminar la cookie process.env.SESSION_NAME
40
40
  await eliminarCookie(process.env.SESSION_NAME)
41
- await Cookies.remove(process.env.LOCAL_SALES_STORE)
42
- await Cookies.remove('restaurant')
43
- await Cookies.remove('usuario')
44
- await Cookies.remove('session')
41
+ await eliminarCookie(process.env.LOCAL_SALES_STORE)
42
+ await eliminarCookie('restaurant')
43
+ await eliminarCookie('usuario')
44
+ await eliminarCookie('session')
45
45
 
46
46
  // Logout from the server
47
47
  const logoutResponse = await fetch(`${process.env.URL_BASE}/api/auth/logout/`, {