versacall-core-library-react 2.0.71 → 2.0.72
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.
|
@@ -35,6 +35,8 @@ class OrganizationProvider extends _react.Component {
|
|
|
35
35
|
entity: entity
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
+
|
|
39
|
+
// eslint-disable-next-line react/sort-comp, class-methods-use-this
|
|
38
40
|
loadEntityFromLocalStorage() {
|
|
39
41
|
try {
|
|
40
42
|
const stored = localStorage.getItem(ENTITY_STORAGE_KEY);
|
|
@@ -45,10 +47,13 @@ class OrganizationProvider extends _react.Component {
|
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
} catch (error) {
|
|
50
|
+
// eslint-disable-next-line no-console
|
|
48
51
|
console.error('Failed to load entity from localStorage:', error);
|
|
49
52
|
}
|
|
50
53
|
return null;
|
|
51
54
|
}
|
|
55
|
+
|
|
56
|
+
// eslint-disable-next-line class-methods-use-this
|
|
52
57
|
saveEntityToLocalStorage(entity) {
|
|
53
58
|
try {
|
|
54
59
|
if (entity && entity.id) {
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"versacall": {
|
|
3
3
|
"title": "Versacall Core Library React",
|
|
4
4
|
"applicationType": "react-library",
|
|
5
|
-
"build":
|
|
5
|
+
"build": 72
|
|
6
6
|
},
|
|
7
7
|
"name": "versacall-core-library-react",
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.72",
|
|
9
9
|
"description": "Versacall Core Library",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"module": "dist/index.js",
|