@streamlayer/feature-gamification 1.16.13 → 1.16.14
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/gamification.js +0 -9
- package/package.json +8 -8
package/lib/gamification.js
CHANGED
|
@@ -481,15 +481,6 @@ export class Gamification extends AbstractFeature {
|
|
|
481
481
|
const feedList = this.feedList.getStore().value?.data || [];
|
|
482
482
|
questionType = feedList.find((item) => item.id === questionId)?.attributes?.type;
|
|
483
483
|
}
|
|
484
|
-
if (!openedFromBetPack &&
|
|
485
|
-
(questionType === QuestionType.POLL ||
|
|
486
|
-
questionType === QuestionType.TRIVIA ||
|
|
487
|
-
questionType === QuestionType.PREDICTION)) {
|
|
488
|
-
const query = queries.$questionByUser(questionId, this.transport);
|
|
489
|
-
void queries.questionByUser(questionId, this.transport).then((d) => {
|
|
490
|
-
query.mutate(d);
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
484
|
const flags = {
|
|
494
485
|
eventId: this.background.slStreamId.get() || '',
|
|
495
486
|
userId: this.background.userId.get() || '',
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/feature-gamification",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.14",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@bufbuild/protobuf": "^1.10.0",
|
|
6
6
|
"@fastify/deepmerge": "^2.0.0",
|
|
7
7
|
"@streamlayer/sl-eslib": "^5.149.1",
|
|
8
8
|
"uuid": "^11.1.0",
|
|
9
9
|
"nanostores": "^0.11.4",
|
|
10
|
-
"@streamlayer/sdk-web-api": "^1.8.
|
|
11
|
-
"@streamlayer/sdk-web-core": "^1.11.
|
|
12
|
-
"@streamlayer/sdk-web-
|
|
13
|
-
"@streamlayer/sdk-web-
|
|
14
|
-
"@streamlayer/sdk-web-notifications": "^1.3.
|
|
15
|
-
"@streamlayer/sdk-web-storage": "^1.0.
|
|
16
|
-
"@streamlayer/sdk-web-types": "^1.10.
|
|
10
|
+
"@streamlayer/sdk-web-api": "^1.8.14",
|
|
11
|
+
"@streamlayer/sdk-web-core": "^1.11.16",
|
|
12
|
+
"@streamlayer/sdk-web-logger": "^1.0.61",
|
|
13
|
+
"@streamlayer/sdk-web-interfaces": "^1.5.5",
|
|
14
|
+
"@streamlayer/sdk-web-notifications": "^1.3.23",
|
|
15
|
+
"@streamlayer/sdk-web-storage": "^1.0.61",
|
|
16
|
+
"@streamlayer/sdk-web-types": "^1.10.18"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"tslib": "^2.7.0"
|