@britannica/cam-utils
Advanced tools
Comparing version 3.0.0-beta.6 to 3.0.0-beta.7
@@ -17,2 +17,8 @@ 'use strict'; | ||
const PostMessageEvent = { | ||
ROUTE_CHANGE: 'CAMRouteChange', | ||
SIGN_IN: 'CAMSignIn', | ||
SIGN_OUT: 'CAMSignOut', | ||
}; | ||
const Environment = { | ||
@@ -182,2 +188,3 @@ DEV: 'dev', | ||
exports.Environment = Environment; | ||
exports.PostMessageEvent = PostMessageEvent; | ||
exports.clearAuthCookies = clearAuthCookies; | ||
@@ -184,0 +191,0 @@ exports.clearRedirectUrl = clearRedirectUrl; |
@@ -9,2 +9,8 @@ import Cookies from 'js-cookie'; | ||
const PostMessageEvent = { | ||
ROUTE_CHANGE: 'CAMRouteChange', | ||
SIGN_IN: 'CAMSignIn', | ||
SIGN_OUT: 'CAMSignOut', | ||
}; | ||
const Environment = { | ||
@@ -168,2 +174,2 @@ DEV: 'dev', | ||
export { CAM_DEFAULT_EXPIRATION_DAYS, CAM_LEGACY_AUTH_COOKIE, CAM_LOGIN_REDIRECT_URL_COOKIE, CAM_LOGOUT_REDIRECT_URL_COOKIE, CAM_SIGN_UP_REDIRECT_URL_COOKIE, Environment, clearAuthCookies, clearRedirectUrl, getAuthConfiguration, getProductName, getRedirectUrl, setCookie, setRedirectUrl }; | ||
export { CAM_DEFAULT_EXPIRATION_DAYS, CAM_LEGACY_AUTH_COOKIE, CAM_LOGIN_REDIRECT_URL_COOKIE, CAM_LOGOUT_REDIRECT_URL_COOKIE, CAM_SIGN_UP_REDIRECT_URL_COOKIE, Environment, PostMessageEvent, clearAuthCookies, clearRedirectUrl, getAuthConfiguration, getProductName, getRedirectUrl, setCookie, setRedirectUrl }; |
@@ -181,2 +181,8 @@ (function (global, factory) { | ||
const PostMessageEvent = { | ||
ROUTE_CHANGE: 'CAMRouteChange', | ||
SIGN_IN: 'CAMSignIn', | ||
SIGN_OUT: 'CAMSignOut', | ||
}; | ||
const Environment = { | ||
@@ -346,2 +352,3 @@ DEV: 'dev', | ||
exports.Environment = Environment; | ||
exports.PostMessageEvent = PostMessageEvent; | ||
exports.clearAuthCookies = clearAuthCookies; | ||
@@ -348,0 +355,0 @@ exports.clearRedirectUrl = clearRedirectUrl; |
{ | ||
"name": "@britannica/cam-utils", | ||
"version": "3.0.0-beta.6", | ||
"version": "3.0.0-beta.7", | ||
"description": "Consumer Account Management (CAM) auth configuration and utilities", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/britannica/cam-utils.git", |
@@ -9,2 +9,8 @@ import Cookies from 'js-cookie'; | ||
export const PostMessageEvent = { | ||
ROUTE_CHANGE: 'CAMRouteChange', | ||
SIGN_IN: 'CAMSignIn', | ||
SIGN_OUT: 'CAMSignOut', | ||
}; | ||
export const Environment = { | ||
@@ -11,0 +17,0 @@ DEV: 'dev', |
28110
774