@searchspring/snap-tracker 0.53.4 → 0.55.0

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.
@@ -550,7 +550,7 @@ var Tracker = /** @class */ (function () {
550
550
  }
551
551
  this.globals = globals;
552
552
  this.localStorage = new snap_store_mobx_1.StorageStore({
553
- type: snap_store_mobx_1.StorageType.LOCAL,
553
+ type: 'local',
554
554
  key: "ss-".concat(this.config.id),
555
555
  });
556
556
  this.localStorage.set('siteId', this.globals.siteId);
@@ -1,6 +1,6 @@
1
1
  import deepmerge from 'deepmerge';
2
2
  import { v4 as uuidv4 } from 'uuid';
3
- import { StorageStore, StorageType } from '@searchspring/snap-store-mobx';
3
+ import { StorageStore } from '@searchspring/snap-store-mobx';
4
4
  import { cookies, getFlags, version, DomTargeter, getContext, charsParams } from '@searchspring/snap-toolbox';
5
5
  import { AppMode } from '@searchspring/snap-toolbox';
6
6
  import { TrackEvent } from './TrackEvent';
@@ -521,7 +521,7 @@ export class Tracker {
521
521
  }
522
522
  this.globals = globals;
523
523
  this.localStorage = new StorageStore({
524
- type: StorageType.LOCAL,
524
+ type: 'local',
525
525
  key: `ss-${this.config.id}`,
526
526
  });
527
527
  this.localStorage.set('siteId', this.globals.siteId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searchspring/snap-tracker",
3
- "version": "0.53.4",
3
+ "version": "0.55.0",
4
4
  "description": "Snap Tracker",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -20,8 +20,8 @@
20
20
  "test:watch": "jest --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@searchspring/snap-store-mobx": "^0.53.4",
24
- "@searchspring/snap-toolbox": "^0.53.4",
23
+ "@searchspring/snap-store-mobx": "^0.55.0",
24
+ "@searchspring/snap-toolbox": "^0.55.0",
25
25
  "@types/uuid": "8.3.4",
26
26
  "deepmerge": "4.3.1",
27
27
  "uuid": "9.0.1"
@@ -30,5 +30,5 @@
30
30
  "files": [
31
31
  "dist/**/*"
32
32
  ],
33
- "gitHead": "9e15f63d93f34ccf0af5ce33eca1d6c9e5b794f5"
33
+ "gitHead": "ad413e17c9756a28e1972173b3b25f0a4dcb127c"
34
34
  }