@streamlayer/sdk-web-analytics 1.5.8 → 1.6.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.
- package/lib/advertisement.js +5 -0
- package/package.json +8 -8
package/lib/advertisement.js
CHANGED
|
@@ -9,6 +9,11 @@ const MAP_PROMOTION_TYPE_TO_TOPIC_TYPE = {
|
|
|
9
9
|
[PromotionType.INGAME_IAB21_LBAR]: TopicSubType.PROMOTION_INGAME_IAB21_LBAR,
|
|
10
10
|
[PromotionType.INGAME_IAB61]: TopicSubType.PROMOTION_INGAME_IAB61,
|
|
11
11
|
[PromotionType.EXTERNAL_AD]: TopicSubType.PROMOTION_GAM,
|
|
12
|
+
[PromotionType.VIDEO_SIDE_BY_SIDE]: TopicSubType.PROMOTION_VIDEO_SIDE_BY_SIDE,
|
|
13
|
+
[PromotionType.PICTURE_IN_PICTURE]: TopicSubType.PROMOTION_PICTURE_IN_PICTURE,
|
|
14
|
+
[PromotionType.SHOP_LBAR]: TopicSubType.PROMOTION_SHOP_LBAR,
|
|
15
|
+
[PromotionType.SHOP_OVERLAY]: TopicSubType.PROMOTION_SHOP_OVERLAY,
|
|
16
|
+
[PromotionType.SHOP_SIDEBAR]: TopicSubType.PROMOTION_SHOP_SIDEBAR,
|
|
12
17
|
};
|
|
13
18
|
export const getPromotionSubType = (type) => {
|
|
14
19
|
return type ? MAP_PROMOTION_TYPE_TO_TOPIC_TYPE[type] : TopicSubType.UNSET;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/sdk-web-analytics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"@bufbuild/protobuf": "^1.10.0",
|
|
13
13
|
"@connectrpc/connect": "^1.6.1",
|
|
14
14
|
"nanoid": "3.3.7",
|
|
15
|
-
"@streamlayer/sl-eslib": "^5.
|
|
16
|
-
"@streamlayer/sdk-web-api": "^1.
|
|
17
|
-
"@streamlayer/sdk-web-
|
|
18
|
-
"@streamlayer/sdk-web-
|
|
19
|
-
"@streamlayer/sdk-web-
|
|
20
|
-
"@streamlayer/sdk-web-core": "^1.
|
|
21
|
-
"@streamlayer/feature-gamification": "^1.
|
|
15
|
+
"@streamlayer/sl-eslib": "^5.149.1",
|
|
16
|
+
"@streamlayer/sdk-web-api": "^1.7.0",
|
|
17
|
+
"@streamlayer/sdk-web-logger": "^1.0.43",
|
|
18
|
+
"@streamlayer/sdk-web-features": "^1.0.43",
|
|
19
|
+
"@streamlayer/sdk-web-interfaces": "^1.4.9",
|
|
20
|
+
"@streamlayer/sdk-web-core": "^1.10.0",
|
|
21
|
+
"@streamlayer/feature-gamification": "^1.14.0"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|