@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.cjs.js CHANGED
@@ -17338,7 +17338,7 @@ function ProtectedRoute(_a) {
17338
17338
  var CAMSMSALContext = React__default.createContext(null);
17339
17339
  var setCookie = function (name, value, days) {
17340
17340
  var expires = new Date(Date.now() + days * 864e5).toUTCString();
17341
- document.cookie = "".concat(name, "=").concat(encodeURIComponent(value), "; expires=").concat(expires, "; path=/; samesite=strict");
17341
+ document.cookie = "".concat(name, "=").concat(encodeURIComponent(value), "; httpOnly; expires=").concat(expires, "; path=/; samesite=Lax");
17342
17342
  };
17343
17343
  var getCookie = function (name) {
17344
17344
  var _a;