UNPKG

@arc-publishing/sdk-identity

Version:
13 lines 340 B
import Identity from './identity'; export function clearSession() { try { Identity.userSegments = null; Identity.userIdentity = {}; Identity.userProfile = null; } catch (e) { throw new Error('Error clearing session.'); } } export default clearSession; //# sourceMappingURL=clearSession.js.map