@britannica/cam-utils
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -84,3 +84,3 @@ 'use strict'; | ||
env = Environment.DEV, | ||
{ secure = window.location.protocol === 'https:', expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
{ secure = false, expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
) { | ||
@@ -87,0 +87,0 @@ if (!Object.values(Environment).includes(env)) { |
@@ -76,3 +76,3 @@ import Cookies from 'js-cookie'; | ||
env = Environment.DEV, | ||
{ secure = window.location.protocol === 'https:', expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
{ secure = false, expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
) { | ||
@@ -79,0 +79,0 @@ if (!Object.values(Environment).includes(env)) { |
@@ -247,3 +247,3 @@ (function (global, factory) { | ||
env = Environment.DEV, | ||
{ secure = window.location.protocol === 'https:', expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
{ secure = false, expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
) { | ||
@@ -250,0 +250,0 @@ if (!Object.values(Environment).includes(env)) { |
{ | ||
"name": "@britannica/cam-utils", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Consumer Account Management (CAM) auth configuration and utilities", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/britannica/cam-utils.git", |
@@ -76,3 +76,3 @@ import Cookies from 'js-cookie'; | ||
env = Environment.DEV, | ||
{ secure = window.location.protocol === 'https:', expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
{ secure = false, expires = CAM_DEFAULT_EXPIRATION_DAYS } = {} | ||
) { | ||
@@ -79,0 +79,0 @@ if (!Object.values(Environment).includes(env)) { |
30311