scope360-core 0.0.19 → 0.0.20

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.
@@ -11487,12 +11487,11 @@ function Qi(n, e) {
11487
11487
  var pa = Qi(Fv, { path: "/" });
11488
11488
  class _n {
11489
11489
  static setItem(e, t, a = Date.now() + 31449600) {
11490
- console.log(window.location, "window.location"), pa.set(
11490
+ pa.set(
11491
11491
  e,
11492
11492
  t,
11493
11493
  {
11494
- // localhost
11495
- domain: ".scope360.io",
11494
+ domain: window.location.hostname === "localhost" ? "localhost" : ".scope360.io",
11496
11495
  expires: new Date(a * 1e3),
11497
11496
  secure: !0,
11498
11497
  sameSite: "strict"
@@ -11502,13 +11501,13 @@ class _n {
11502
11501
  static getItem(e) {
11503
11502
  return pa.get(e);
11504
11503
  }
11505
- static removeItem(e, t) {
11506
- pa.remove(e, t);
11504
+ static removeItem(e) {
11505
+ pa.remove(e);
11507
11506
  }
11508
- static clear(e) {
11509
- const t = Object.keys(pa.get());
11510
- for (const a of t)
11511
- pa.remove(a, e);
11507
+ static clear() {
11508
+ const e = Object.keys(pa.get());
11509
+ for (const t of e)
11510
+ pa.remove(t);
11512
11511
  }
11513
11512
  static getAll() {
11514
11513
  return pa.get();