export const MESSAGE_PREFIX = '@phystack/hub-client:'; export const EVENTS_CACHE_KEY = '_OMBORI_GRID_SIGNALS_EVENTS_CACHE'; export const CLIENT_CACHE_KEY = '_OMBORI_GRID_SIGNALS_CLIENT_CACHE'; export const SESSION_CACHE_KEY = '_OMBORI_GRID_SIGNALS_SESSION_CACHE'; export const LAST_ACTIVITY_CACHE_KEY = '_OMBORI_GRID_SIGNALS_LAST_ACTIVITY_CACHE'; export const DEFAULT_MAX_SESSION_LAST_ACTIVITY_MINS = 30; // todo: remove constants below // export const CREATE_SESSION_ERROR_INIT_MESSAGE = `${MESSAGE_PREFIX} init must be called before createSession`; // export const TRACK_EVENT_ERROR_INIT_MESSAGE = `${MESSAGE_PREFIX} init must be called before trackEvent`; // export const INIT_ONCE_ERROR_MESSAGE = `${MESSAGE_PREFIX} init should only be called once!`; // export const INIT_NOT_CALLED = `${MESSAGE_PREFIX} init not called!`;