@streamlayer/react-ui 1.32.4 → 1.33.2

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.
Files changed (67) hide show
  1. package/lib/app/app/Advertisement/index.js +14 -15
  2. package/lib/app/app/Features/Gamification/Leaderboard.js +46 -36
  3. package/lib/app/app/Features/Gamification/Question.js +42 -42
  4. package/lib/app/app/Features/Gamification/QuestionAdvertisement.js +19 -25
  5. package/lib/app/app/Features/Gamification/index.js +29 -28
  6. package/lib/app/app/Notifications/Onboarding/index.js +45 -42
  7. package/lib/app/app/story/index.js +24 -24
  8. package/lib/app/app/story/insight/index.js +14 -15
  9. package/lib/app/app/story/insight/video.js +3 -3
  10. package/lib/app/app/story/promotion/content.js +5 -5
  11. package/lib/app/app/story/promotion/index.d.ts +1 -0
  12. package/lib/app/app/story/promotion/index.js +24 -25
  13. package/lib/app/app/story/promotion/video.d.ts +0 -1
  14. package/lib/app/app/story/promotion/video.js +41 -43
  15. package/lib/app/app/story/promotion-notification/index.js +15 -16
  16. package/lib/app/app/story/promotion-notification/video.d.ts +0 -1
  17. package/lib/app/app/story/promotion-notification/video.js +22 -30
  18. package/lib/app/app/story/settings/index.js +6 -6
  19. package/lib/app/app/story/settings/login.js +1 -1
  20. package/lib/app/app/story/video.js +28 -28
  21. package/lib/app/login/demo.js +19 -18
  22. package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.d.ts +0 -1
  23. package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.js +17 -17
  24. package/lib/app/masters/Notifications/Onboarding/index.js +42 -39
  25. package/lib/app/masters/masters.d.ts +1 -0
  26. package/lib/app/masters/masters.js +34 -32
  27. package/lib/app/masters/provider.d.ts +4 -0
  28. package/lib/app/masters/provider.js +23 -0
  29. package/lib/app/masters/story/components.js +48 -52
  30. package/lib/app/masters/story/index.js +16 -15
  31. package/lib/app/tgl/index.d.ts +1 -0
  32. package/lib/app/tgl/index.js +19 -20
  33. package/lib/app/tgl/video.d.ts +0 -1
  34. package/lib/app/tgl/video.js +40 -42
  35. package/lib/app/webos/ExposedPauseAd/PauseAd.js +68 -68
  36. package/lib/app/webos/story.js +26 -26
  37. package/lib/app/webos/ui/Sidebar/styles.js +82 -888
  38. package/lib/assets/style.css +1 -1
  39. package/lib/core/app.d.ts +7 -0
  40. package/lib/core/app.js +14 -0
  41. package/lib/core/event.d.ts +6 -0
  42. package/lib/core/event.js +5 -0
  43. package/lib/core/hooks.d.ts +16 -0
  44. package/lib/core/hooks.js +8 -0
  45. package/lib/core/provider.d.ts +49 -0
  46. package/lib/core/provider.js +9 -0
  47. package/lib/hooks-B0Qttldg.js +99 -0
  48. package/lib/index.d.ts +0 -1
  49. package/lib/index.js +2 -4
  50. package/lib/ui/advertisement/banner/index.d.ts +2 -2
  51. package/lib/ui/advertisement/notification/lower-third/index.js +34 -30
  52. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +100 -33212
  53. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.js +13 -13
  54. package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.js +63 -204
  55. package/lib/ui/gamification/leaderboard/static.d.ts +1 -1
  56. package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.d.ts +1 -1
  57. package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.js +1 -1
  58. package/lib/ui/icons/index.d.ts +198 -66
  59. package/lib/ui/video-player/index.js +26 -23
  60. package/lib/useStreamLayerApp.d.ts +23 -0
  61. package/lib/useStreamLayerApp.js +167 -0
  62. package/lib/utils/debug/index.js +8 -8
  63. package/package.json +42 -35
  64. package/lib/index-l-eyvmpL.js +0 -3758
  65. package/lib/utils/createDemo.d.ts +0 -12
  66. package/lib/utils/createDemo.js +0 -49
  67. package/lib/vast-client.min-B0NUra1B.js +0 -1060
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "1.32.4",
3
+ "version": "1.33.2",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -60,6 +60,16 @@
60
60
  "default": "./lib/app/app/InApp/index.js",
61
61
  "types": "./lib/app/app/InApp/index.d.ts"
62
62
  },
63
+ "./core/*": {
64
+ "import": "./lib/core/*.js",
65
+ "default": "./lib/core/*.js",
66
+ "types": "./lib/core/*.d.ts"
67
+ },
68
+ "./useStreamLayerApp": {
69
+ "import": "./lib/useStreamLayerApp.js",
70
+ "default": "./lib/useStreamLayerApp.js",
71
+ "types": "./lib/useStreamLayerApp.d.ts"
72
+ },
63
73
  "./*": {
64
74
  "import": "./lib/*/index.js",
65
75
  "default": "./lib/*/index.js",
@@ -77,27 +87,42 @@
77
87
  "peerDependencies": {
78
88
  "@lottiefiles/react-lottie-player": "^3.5.4",
79
89
  "@streamlayer/sl-eslib": "^5.225.0",
80
- "@types/lodash.throttle": "^4.1.9",
81
90
  "lodash.throttle": "^4.1.1",
82
91
  "react-infinite-scroller": "^1.2.6",
83
92
  "react-virtualized-auto-sizer": "^1.0.24",
84
93
  "react-window": "^1.8.10",
85
94
  "@noriginmedia/norigin-spatial-navigation": "^2.3.0",
86
95
  "react-window-infinite-loader": "^1.0.9",
96
+ "@dailymotion/vast-client": "^6.4.2",
97
+ "react-qr-code": "^2.0.16",
98
+ "swiper": "^11.2.6",
99
+ "video.js": "^8.21.0",
100
+ "videojs-contrib-ads": "^7.5.2",
101
+ "vmap": "^3.2.0",
102
+ "@connectrpc/connect": "^2.0.0",
103
+ "@connectrpc/connect-web": "^2.0.0",
104
+ "vpaid-html5-client": "^0.1.14",
105
+ "hls.js": "^1.6.13",
87
106
  "uuid": "^11.1.0",
88
- "@streamlayer/feature-gamification": "^1.23.4",
89
- "@streamlayer/react-polyfills": "^0.1.49",
90
- "@streamlayer/sdk-web-analytics": "^1.13.4",
91
- "@streamlayer/sdk-web": "^1.16.4",
92
- "@streamlayer/sdk-web-anonymous-auth": "^1.3.4",
93
- "@streamlayer/sdk-web-api": "^1.14.4",
94
- "@streamlayer/sdk-web-core": "^1.17.4",
95
- "@streamlayer/sdk-web-features": "^1.0.89",
96
- "@streamlayer/sdk-web-interfaces": "^1.8.4",
97
- "@streamlayer/sdk-web-logger": "^1.0.89",
98
- "@streamlayer/sdk-web-notifications": "^1.3.51",
99
- "@streamlayer/sdk-web-storage": "^1.0.89",
100
- "@streamlayer/sdk-web-types": "^1.16.4"
107
+ "react": "18.3.1",
108
+ "react-dom": "18.3.1",
109
+ "react-auth-code-input": "^3.2.1",
110
+ "react-countdown-circle-timer": "^3.2.1",
111
+ "react-countup": "^6.5.3",
112
+ "react-phone-number-input": "^3.4.8",
113
+ "@streamlayer/feature-gamification": "^1.23.7",
114
+ "@streamlayer/react-polyfills": "^0.1.52",
115
+ "@streamlayer/sdk-web": "^1.16.7",
116
+ "@streamlayer/sdk-web-analytics": "^1.14.2",
117
+ "@streamlayer/sdk-web-anonymous-auth": "^1.3.7",
118
+ "@streamlayer/sdk-web-api": "^1.14.7",
119
+ "@streamlayer/sdk-web-core": "^1.18.2",
120
+ "@streamlayer/sdk-web-features": "^1.0.92",
121
+ "@streamlayer/sdk-web-interfaces": "^1.8.7",
122
+ "@streamlayer/sdk-web-logger": "^1.0.92",
123
+ "@streamlayer/sdk-web-notifications": "^1.3.54",
124
+ "@streamlayer/sdk-web-storage": "^1.0.92",
125
+ "@streamlayer/sdk-web-types": "^1.16.7"
101
126
  },
102
127
  "nx": {
103
128
  "implicitDependencies": [
@@ -105,8 +130,7 @@
105
130
  ]
106
131
  },
107
132
  "devDependencies": {
108
- "@connectrpc/connect": "^2.0.0",
109
- "@connectrpc/connect-web": "^2.0.0",
133
+ "@types/lodash.throttle": "^4.1.9",
110
134
  "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
111
135
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
112
136
  "@linaria/babel-preset": "^5.0.4",
@@ -124,13 +148,6 @@
124
148
  "@wyw-in-js/vite": "^0.5.3",
125
149
  "esbuild-plugin-babel": "^0.2.3",
126
150
  "glob": "^11.0.0",
127
- "hls.js": "^1.6.13",
128
- "react": "18.3.1",
129
- "react-dom": "18.3.1",
130
- "react-auth-code-input": "^3.2.1",
131
- "react-countdown-circle-timer": "^3.2.1",
132
- "react-countup": "^6.5.3",
133
- "react-phone-number-input": "^3.4.8",
134
151
  "rollup-plugin-node-polyfills": "^0.2.1",
135
152
  "screenfull": "^6.0.2",
136
153
  "tslib": "^2.7.0",
@@ -138,18 +155,8 @@
138
155
  "vite-plugin-node-polyfills": "^0.22.0",
139
156
  "vite-plugin-svgr": "^4.2.0",
140
157
  "vite-svg-loader": "^5.1.0",
141
- "vite-tsconfig-paths": "^5.0.1",
142
- "@streamlayer/react": "^1.21.4"
143
- },
144
- "dependencies": {
145
- "@dailymotion/vast-client": "^6.4.2",
146
158
  "@types/vast-client": "^3.0.4",
147
159
  "@types/vmap": "^2.2.4",
148
- "react-qr-code": "^2.0.16",
149
- "swiper": "^11.2.6",
150
- "video.js": "^8.21.0",
151
- "videojs-contrib-ads": "^7.5.2",
152
- "vmap": "^3.2.0",
153
- "vpaid-html5-client": "^0.1.14"
160
+ "vite-tsconfig-paths": "^5.0.1"
154
161
  }
155
162
  }