@snabcentr/common-lib 1.57.0 → 1.57.1

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.
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-YmVcyZhY7jJL8B+5xQA9b41GQOx73OclCh2UmYsjLpbkq+G6heVd/WDRc/Evn41h"
7
+ "integrity": "sha384-4jQfxk9lP9Rg/ZfFuADK3+9kkqkj4VH07X8wp6/emUzBhOTyE0gudKspyDPfkEii"
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
- ## 1.57.0 (2025-06-05)
1
+ ## 1.57.1 (2025-06-06)
2
2
 
3
- ### changed (1 change)
3
+ ### fixed (1 change)
4
4
 
5
- - [#11773: Доработаны настройки шрифтов и добавлены параметры их масштабирования.](web_soft/libs/ts/snabcentr-common-lib@08b2844e5a1ac61407828d4baa8336bb6784acca) ([merge request](web_soft/libs/ts/snabcentr-common-lib!98))
5
+ - [#11773: Исправлена ошибка выдачи нулевых значений из хранилища](web_soft/libs/ts/snabcentr-common-lib@b3fb0408ca74f38ffaf6b55337e122e9a7d5db8d) ([merge request](web_soft/libs/ts/snabcentr-common-lib!99))
6
6
 
@@ -1123,7 +1123,7 @@ class yt {
1123
1123
  try {
1124
1124
  const s = JSON.parse(e);
1125
1125
  if (gr(f(s.availableFor) || Fe(), /* @__PURE__ */ new Date()))
1126
- return s.data || {};
1126
+ return s.data ?? {};
1127
1127
  } catch {
1128
1128
  localStorage.removeItem(r);
1129
1129
  }