@streamlayer/sdk-web-notifications 1.3.68 → 1.3.70
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/lib/queue/index.js +8 -10
- package/package.json +8 -7
package/lib/queue/index.js
CHANGED
|
@@ -129,16 +129,14 @@ export class NotificationsQueue {
|
|
|
129
129
|
this.timeouts.delete(notificationId);
|
|
130
130
|
}
|
|
131
131
|
this.logger.debug({ notificationId }, 'notification hidden');
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
});
|
|
141
|
-
}
|
|
132
|
+
eventBus.emit('notification', {
|
|
133
|
+
action: 'closed',
|
|
134
|
+
payload: {
|
|
135
|
+
type: notification.type,
|
|
136
|
+
questionId: notification.data.questionId,
|
|
137
|
+
questionType: notification.data.questionType,
|
|
138
|
+
},
|
|
139
|
+
});
|
|
142
140
|
};
|
|
143
141
|
if (shouldAnimate) {
|
|
144
142
|
const timeout = setTimeout(finalize, this.options.animationDelay || 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/sdk-web-notifications",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.70",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -9,16 +9,17 @@
|
|
|
9
9
|
"package.json"
|
|
10
10
|
],
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@streamlayer/sdk-web-interfaces": "^1.9.
|
|
13
|
-
"@streamlayer/sdk-web-logger": "^1.0.
|
|
14
|
-
"@streamlayer/sdk-web-
|
|
15
|
-
"@streamlayer/sdk-web-
|
|
12
|
+
"@streamlayer/sdk-web-interfaces": "^1.9.14",
|
|
13
|
+
"@streamlayer/sdk-web-logger": "^1.0.108",
|
|
14
|
+
"@streamlayer/sdk-web-types": "^1.17.6",
|
|
15
|
+
"@streamlayer/sdk-web-storage": "^1.0.108"
|
|
16
16
|
},
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
|
+
"types": "./lib/index.d.ts",
|
|
20
|
+
"import": "./lib/index.js",
|
|
19
21
|
"module": "./lib/index.js",
|
|
20
|
-
"
|
|
21
|
-
"types": "./lib/index.d.ts"
|
|
22
|
+
"default": "./lib/index.js"
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|