@webitel/ui-sdk 26.4.72 → 26.4.73
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.4.
|
|
3
|
+
"version": "26.4.73",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
|
|
@@ -8,6 +8,7 @@ import { USER_NOTIFICATION_CONFIGS_MAP } from '../maps/userNotificationConfigsMa
|
|
|
8
8
|
import type { NotificationsType } from '../types/UserNotifications';
|
|
9
9
|
|
|
10
10
|
const STORAGE_KEY = 'usersWithShownNotifications';
|
|
11
|
+
const NOTIFICATION_DURATION_SEC = 20;
|
|
11
12
|
|
|
12
13
|
export const createUserNotificationsStore = () => {
|
|
13
14
|
const namespace = 'userNotifications';
|
|
@@ -75,6 +76,7 @@ export const createUserNotificationsStore = () => {
|
|
|
75
76
|
locale,
|
|
76
77
|
},
|
|
77
78
|
),
|
|
79
|
+
timeout: NOTIFICATION_DURATION_SEC,
|
|
78
80
|
}),
|
|
79
81
|
100,
|
|
80
82
|
);
|