@snabcentr/client-core 2.48.0 → 2.50.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.
@@ -23,6 +23,10 @@ export declare class ScOrdersService {
23
23
  * Коллекция пар ключ-значение для заказов пользователя.
24
24
  */
25
25
  private idOrderMap;
26
+ /**
27
+ * Формат дат.
28
+ */
29
+ private readonly dateFormats;
26
30
  /**
27
31
  * Инициализирует экземпляр класса {@link ScOrdersService}.
28
32
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-core",
3
- "version": "2.48.0",
3
+ "version": "2.50.0",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-core-lib",
6
6
  "license": "Commercial",
@@ -22,7 +22,8 @@
22
22
  "ts-case-convert": "^2.1.0",
23
23
  "zone.js": "~0.14.10",
24
24
  "lodash-es": "^4.17.21",
25
- "@types/express": "^4.17.17"
25
+ "@types/express": "^4.17.17",
26
+ "date-fns": "^4.1.0"
26
27
  },
27
28
  "dependencies": {
28
29
  "tslib": "^2.8.1"
package/release_notes.tmp CHANGED
@@ -1,6 +1,6 @@
1
- ## 2.48.0 (2025-05-16)
1
+ ## 2.50.0 (2025-05-22)
2
2
 
3
- ### fixed (1 change)
3
+ ### added (1 change)
4
4
 
5
- - [#11579: Отключена обработка 401 ошибки нового api обратной связи](web_soft/libs/angular/snabcentr-client-core-lib@f7384d12aaf27f015ce253d85be3d85ce848cd48) ([merge request](web_soft/libs/angular/snabcentr-client-core-lib!236))
5
+ - [#11626: Добавлено форматирование даты в сообщении к доставке заказа. Добавлен...](web_soft/libs/angular/snabcentr-client-core-lib@e12948de44b1d75db2d35e4bc7d688ad71b7eeed) ([merge request](web_soft/libs/angular/snabcentr-client-core-lib!238))
6
6
 
package/tokens/index.d.ts CHANGED
@@ -12,3 +12,4 @@ export * from './sc-release';
12
12
  export * from './sc-update-interval';
13
13
  export * from './sc-urls';
14
14
  export * from './sc-feedback-api';
15
+ export * from './sc-date-format';
@@ -0,0 +1,6 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { ScIDateFormat } from '../config/sc-i-date-format';
3
+ /**
4
+ * Токен внедрения формата дат.
5
+ */
6
+ export declare const SC_DATE_FORMAT: InjectionToken<ScIDateFormat>;