@searchspring/snap-store-mobx 0.39.1 → 0.39.2
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.
|
@@ -80,7 +80,7 @@ var FinderStore = /** @class */ (function (_super) {
|
|
|
80
80
|
};
|
|
81
81
|
FinderStore.prototype.loadPersisted = function () {
|
|
82
82
|
var _a;
|
|
83
|
-
if (((_a = this.config.persist) === null || _a === void 0 ? void 0 : _a.enabled) && this.persistedStorage
|
|
83
|
+
if (((_a = this.config.persist) === null || _a === void 0 ? void 0 : _a.enabled) && this.persistedStorage) {
|
|
84
84
|
var date = this.persistedStorage.get('date');
|
|
85
85
|
var data = this.persistedStorage.get('data');
|
|
86
86
|
var config = this.persistedStorage.get('config');
|
|
@@ -45,7 +45,7 @@ export class FinderStore extends AbstractStore {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
loadPersisted() {
|
|
48
|
-
if (this.config.persist?.enabled && this.persistedStorage
|
|
48
|
+
if (this.config.persist?.enabled && this.persistedStorage) {
|
|
49
49
|
const date = this.persistedStorage.get('date');
|
|
50
50
|
const data = this.persistedStorage.get('data');
|
|
51
51
|
const config = this.persistedStorage.get('config');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@searchspring/snap-store-mobx",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.2",
|
|
4
4
|
"description": "Snap MobX Store",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"test:watch": "jest --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@searchspring/snap-toolbox": "^0.39.
|
|
23
|
+
"@searchspring/snap-toolbox": "^0.39.2",
|
|
24
24
|
"mobx": "^6.6.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@searchspring/snap-client": "^0.39.
|
|
28
|
-
"@searchspring/snap-url-manager": "^0.39.
|
|
27
|
+
"@searchspring/snap-client": "^0.39.2",
|
|
28
|
+
"@searchspring/snap-url-manager": "^0.39.2"
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"files": [
|
|
32
32
|
"dist/**/*"
|
|
33
33
|
],
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "2ca3741bc997a3d6a8f4dd5332c2c5e5731f0b01"
|
|
35
35
|
}
|