chore: Upgrade @june-so/analytics-next, js-cookie to the latest version (#8799)

This is a small change, upgrading 2 packages to the latest version. getJSON is removed from the latest version, I've added a patch for the same across the codebase.

fixes: https://linear.app/chatwoot/issue/CW-3035/upgrade-dependencies
This commit is contained in:
Pranav Raj S
2024-01-28 23:41:42 -08:00
committed by GitHub
parent 082793290a
commit 766698cb3a
6 changed files with 63 additions and 50 deletions

View File

@@ -3,7 +3,7 @@ import { DEFAULT_REDIRECT_URL } from 'dashboard/constants/globals';
import { frontendURL } from 'dashboard/helper/URLHelper';
export const hasAuthCookie = () => {
return !!Cookies.getJSON('cw_d_session_info');
return !!Cookies.get('cw_d_session_info');
};
const getSSOAccountPath = ({ ssoAccountId, user }) => {