@nibssplc/cams-sdk-react 0.0.1-beta.39 → 0.0.1-beta.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -17319,7 +17319,7 @@ function ProtectedRoute(_a) {
17319
17319
  var CAMSMSALContext = createContext(null);
17320
17320
  var setCookie = function (name, value, days) {
17321
17321
  var expires = new Date(Date.now() + days * 864e5).toUTCString();
17322
- document.cookie = "".concat(name, "=").concat(encodeURIComponent(value), "; expires=").concat(expires, "; path=/; samesite=strict");
17322
+ document.cookie = "".concat(name, "=").concat(encodeURIComponent(value), "; httpOnly; expires=").concat(expires, "; path=/; samesite=Lax");
17323
17323
  };
17324
17324
  var getCookie = function (name) {
17325
17325
  var _a;