@tivio/sdk-react 3.6.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +117 -228
- package/README.md.bak +117 -228
- package/dist/index.d.ts +783 -292
- package/dist/index.js +1 -2
- package/dist/sdk-react.d.ts +2551 -0
- package/package.json +6 -5
- package/dist/index.js.LICENSE.txt +0 -347
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tivio/sdk-react",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.0",
|
4
4
|
"main": "dist/index.js",
|
5
5
|
"typings": "dist/index.d.ts",
|
6
6
|
"source": "src/index.ts",
|
@@ -9,13 +9,14 @@
|
|
9
9
|
"access": "public"
|
10
10
|
},
|
11
11
|
"scripts": {
|
12
|
-
"build": "
|
13
|
-
"build:dev": "
|
12
|
+
"build": "yarn clean && webpack",
|
13
|
+
"build:dev": "cat ./.env.dev > ./.env && yarn build --config=webpack.config.dev.js && yarn typesRollup",
|
14
|
+
"build:prod": "cat ./.env.prod > ./.env && yarn build --config=webpack.config.prod.js && yarn typesRollup",
|
14
15
|
"build:local": "bash ./scripts/build_with_local_bundle.sh && yarn typesRollup",
|
15
16
|
"start": "yarn ts-node ./scripts/start.ts",
|
16
17
|
"test": "jest --config=./jest.config.js --coverage",
|
17
18
|
"clean": "rm -rf dist",
|
18
|
-
"prepublishOnly": "yarn && yarn
|
19
|
+
"prepublishOnly": "yarn && yarn build:prod && yarn ts-node ./scripts/prepublish.ts",
|
19
20
|
"postpublish": "yarn ts-node ./scripts/postpublish.ts",
|
20
21
|
"publish:alpha": "npm publish --tag alpha",
|
21
22
|
"check:cycles": "npx madge --circular src/**/*",
|
@@ -29,7 +30,7 @@
|
|
29
30
|
"@material-ui/core": "^4.11.2",
|
30
31
|
"@material-ui/icons": "^4.11.2",
|
31
32
|
"@sentry/browser": "^6.1.0",
|
32
|
-
"@tivio/common": "1.1.
|
33
|
+
"@tivio/common": "1.1.95",
|
33
34
|
"dayjs": "^1.11.0",
|
34
35
|
"es7-object-polyfill": "^1.0.1",
|
35
36
|
"firebase": "8.10.1",
|
@@ -1,347 +0,0 @@
|
|
1
|
-
/*!**********************!*\
|
2
|
-
!*** ./src/index.ts ***!
|
3
|
-
\**********************/
|
4
|
-
|
5
|
-
/*!***********************!*\
|
6
|
-
!*** ./src/search.ts ***!
|
7
|
-
\***********************/
|
8
|
-
|
9
|
-
/*!***********************!*\
|
10
|
-
!*** external "mobx" ***!
|
11
|
-
\***********************/
|
12
|
-
|
13
|
-
/*!************************!*\
|
14
|
-
!*** external "react" ***!
|
15
|
-
\************************/
|
16
|
-
|
17
|
-
/*!*************************!*\
|
18
|
-
!*** ./src/polyfill.ts ***!
|
19
|
-
\*************************/
|
20
|
-
|
21
|
-
/*!***************************!*\
|
22
|
-
!*** ./src/i18n/hooks.ts ***!
|
23
|
-
\***************************/
|
24
|
-
|
25
|
-
/*!***************************!*\
|
26
|
-
!*** ./src/i18n/index.ts ***!
|
27
|
-
\***************************/
|
28
|
-
|
29
|
-
/*!***************************!*\
|
30
|
-
!*** ./src/i18n/types.ts ***!
|
31
|
-
\***************************/
|
32
|
-
|
33
|
-
/*!***************************!*\
|
34
|
-
!*** ./src/i18n/utils.ts ***!
|
35
|
-
\***************************/
|
36
|
-
|
37
|
-
/*!***************************!*\
|
38
|
-
!*** ./src/pagination.ts ***!
|
39
|
-
\***************************/
|
40
|
-
|
41
|
-
/*!***************************!*\
|
42
|
-
!*** ./src/utils/math.ts ***!
|
43
|
-
\***************************/
|
44
|
-
|
45
|
-
/*!***************************!*\
|
46
|
-
!*** ./src/utils/text.ts ***!
|
47
|
-
\***************************/
|
48
|
-
|
49
|
-
/*!***************************!*\
|
50
|
-
!*** ./src/utils/time.ts ***!
|
51
|
-
\***************************/
|
52
|
-
|
53
|
-
/*!****************************!*\
|
54
|
-
!*** ./src/hooks/index.ts ***!
|
55
|
-
\****************************/
|
56
|
-
|
57
|
-
/*!****************************!*\
|
58
|
-
!*** ./src/types/index.ts ***!
|
59
|
-
\****************************/
|
60
|
-
|
61
|
-
/*!****************************!*\
|
62
|
-
!*** ./src/utils/cache.ts ***!
|
63
|
-
\****************************/
|
64
|
-
|
65
|
-
/*!****************************!*\
|
66
|
-
!*** ./src/utils/calls.ts ***!
|
67
|
-
\****************************/
|
68
|
-
|
69
|
-
/*!****************************!*\
|
70
|
-
!*** ./src/utils/image.ts ***!
|
71
|
-
\****************************/
|
72
|
-
|
73
|
-
/*!****************************!*\
|
74
|
-
!*** ./src/utils/index.ts ***!
|
75
|
-
\****************************/
|
76
|
-
|
77
|
-
/*!*****************************!*\
|
78
|
-
!*** ./src/device/index.ts ***!
|
79
|
-
\*****************************/
|
80
|
-
|
81
|
-
/*!*****************************!*\
|
82
|
-
!*** ./src/device/tizen.ts ***!
|
83
|
-
\*****************************/
|
84
|
-
|
85
|
-
/*!*****************************!*\
|
86
|
-
!*** ./src/hooks/values.ts ***!
|
87
|
-
\*****************************/
|
88
|
-
|
89
|
-
/*!*****************************!*\
|
90
|
-
!*** ./src/types/common.ts ***!
|
91
|
-
\*****************************/
|
92
|
-
|
93
|
-
/*!*****************************!*\
|
94
|
-
!*** ./src/utils/device.ts ***!
|
95
|
-
\*****************************/
|
96
|
-
|
97
|
-
/*!*****************************!*\
|
98
|
-
!*** ./src/utils/format.ts ***!
|
99
|
-
\*****************************/
|
100
|
-
|
101
|
-
/*!*****************************!*\
|
102
|
-
!*** ./src/utils/logger.ts ***!
|
103
|
-
\*****************************/
|
104
|
-
|
105
|
-
/*!******************************!*\
|
106
|
-
!*** ../types/dist/index.js ***!
|
107
|
-
\******************************/
|
108
|
-
|
109
|
-
/*!******************************!*\
|
110
|
-
!*** ./src/filters/index.ts ***!
|
111
|
-
\******************************/
|
112
|
-
|
113
|
-
/*!*******************************!*\
|
114
|
-
!*** ./src/constants/vast.ts ***!
|
115
|
-
\*******************************/
|
116
|
-
|
117
|
-
/*!*******************************!*\
|
118
|
-
!*** ./src/device/smartTv.ts ***!
|
119
|
-
\*******************************/
|
120
|
-
|
121
|
-
/*!*******************************!*\
|
122
|
-
!*** ./src/filters/videos.ts ***!
|
123
|
-
\*******************************/
|
124
|
-
|
125
|
-
/*!********************************!*\
|
126
|
-
!*** ./src/constants/index.ts ***!
|
127
|
-
\********************************/
|
128
|
-
|
129
|
-
/*!********************************!*\
|
130
|
-
!*** ./src/utils/analytics.ts ***!
|
131
|
-
\********************************/
|
132
|
-
|
133
|
-
/*!********************************!*\
|
134
|
-
!*** ./src/utils/dom.utils.ts ***!
|
135
|
-
\********************************/
|
136
|
-
|
137
|
-
/*!********************************!*\
|
138
|
-
!*** ./src/utils/eventLoop.ts ***!
|
139
|
-
\********************************/
|
140
|
-
|
141
|
-
/*!*********************************!*\
|
142
|
-
!*** ./src/device/tizen.api.ts ***!
|
143
|
-
\*********************************/
|
144
|
-
|
145
|
-
/*!*********************************!*\
|
146
|
-
!*** ./src/hooks/useLoading.ts ***!
|
147
|
-
\*********************************/
|
148
|
-
|
149
|
-
/*!*********************************!*\
|
150
|
-
!*** ./src/i18n/components.tsx ***!
|
151
|
-
\*********************************/
|
152
|
-
|
153
|
-
/*!*********************************!*\
|
154
|
-
!*** ./src/pagination/index.ts ***!
|
155
|
-
\*********************************/
|
156
|
-
|
157
|
-
/*!**********************************!*\
|
158
|
-
!*** ./src/i18n/i18nContext.tsx ***!
|
159
|
-
\**********************************/
|
160
|
-
|
161
|
-
/*!**********************************!*\
|
162
|
-
!*** ./src/types/bundle/auth.ts ***!
|
163
|
-
\**********************************/
|
164
|
-
|
165
|
-
/*!**********************************!*\
|
166
|
-
!*** ./src/utils/array.utils.ts ***!
|
167
|
-
\**********************************/
|
168
|
-
|
169
|
-
/*!***********************************!*\
|
170
|
-
!*** ./src/types/bundle/index.ts ***!
|
171
|
-
\***********************************/
|
172
|
-
|
173
|
-
/*!*************************************!*\
|
174
|
-
!*** ./src/hooks/useImageLoader.ts ***!
|
175
|
-
\*************************************/
|
176
|
-
|
177
|
-
/*!*************************************!*\
|
178
|
-
!*** ./src/types/bundle/context.ts ***!
|
179
|
-
\*************************************/
|
180
|
-
|
181
|
-
/*!**************************************!*\
|
182
|
-
!*** ./src/i18n/languageContext.tsx ***!
|
183
|
-
\**************************************/
|
184
|
-
|
185
|
-
/*!**************************************!*\
|
186
|
-
!*** ./src/pagination/Pagination.ts ***!
|
187
|
-
\**************************************/
|
188
|
-
|
189
|
-
/*!***************************************!*\
|
190
|
-
!*** ./src/types/externalTypes/ad.ts ***!
|
191
|
-
\***************************************/
|
192
|
-
|
193
|
-
/*!****************************************!*\
|
194
|
-
!*** ./src/types/bundle/components.ts ***!
|
195
|
-
\****************************************/
|
196
|
-
|
197
|
-
/*!****************************************!*\
|
198
|
-
!*** ./src/types/externalTypes/row.ts ***!
|
199
|
-
\****************************************/
|
200
|
-
|
201
|
-
/*!****************************************!*\
|
202
|
-
!*** ./src/types/externalTypes/tag.ts ***!
|
203
|
-
\****************************************/
|
204
|
-
|
205
|
-
/*!****************************************!*\
|
206
|
-
!*** ./src/utils/comparators/index.ts ***!
|
207
|
-
\****************************************/
|
208
|
-
|
209
|
-
/*!*****************************************!*\
|
210
|
-
!*** ../firebase/dist/browser/index.js ***!
|
211
|
-
\*****************************************/
|
212
|
-
|
213
|
-
/*!*****************************************!*\
|
214
|
-
!*** ./src/types/externalTypes/user.ts ***!
|
215
|
-
\*****************************************/
|
216
|
-
|
217
|
-
/*!******************************************!*\
|
218
|
-
!*** ./src/pagination/refsPagination.ts ***!
|
219
|
-
\******************************************/
|
220
|
-
|
221
|
-
/*!******************************************!*\
|
222
|
-
!*** ./src/types/externalTypes/index.ts ***!
|
223
|
-
\******************************************/
|
224
|
-
|
225
|
-
/*!******************************************!*\
|
226
|
-
!*** ./src/types/externalTypes/qerko.ts ***!
|
227
|
-
\******************************************/
|
228
|
-
|
229
|
-
/*!******************************************!*\
|
230
|
-
!*** ./src/types/externalTypes/video.ts ***!
|
231
|
-
\******************************************/
|
232
|
-
|
233
|
-
/*!*******************************************!*\
|
234
|
-
!*** ./src/types/bundle/subscriptions.ts ***!
|
235
|
-
\*******************************************/
|
236
|
-
|
237
|
-
/*!*******************************************!*\
|
238
|
-
!*** ./src/types/externalTypes/config.ts ***!
|
239
|
-
\*******************************************/
|
240
|
-
|
241
|
-
/*!*******************************************!*\
|
242
|
-
!*** ./src/types/externalTypes/screen.ts ***!
|
243
|
-
\*******************************************/
|
244
|
-
|
245
|
-
/*!*******************************************!*\
|
246
|
-
!*** ./src/types/externalTypes/search.ts ***!
|
247
|
-
\*******************************************/
|
248
|
-
|
249
|
-
/*!*******************************************!*\
|
250
|
-
!*** ./src/types/externalTypes/widget.ts ***!
|
251
|
-
\*******************************************/
|
252
|
-
|
253
|
-
/*!********************************************!*\
|
254
|
-
!*** ./src/types/externalTypes/channel.ts ***!
|
255
|
-
\********************************************/
|
256
|
-
|
257
|
-
/*!********************************************!*\
|
258
|
-
!*** ./src/types/externalTypes/section.ts ***!
|
259
|
-
\********************************************/
|
260
|
-
|
261
|
-
/*!**********************************************!*\
|
262
|
-
!*** ./src/types/externalTypes/tvChannel.ts ***!
|
263
|
-
\**********************************************/
|
264
|
-
|
265
|
-
/*!***********************************************!*\
|
266
|
-
!*** ../../node_modules/ga-gtag/lib/index.js ***!
|
267
|
-
\***********************************************/
|
268
|
-
|
269
|
-
/*!*************************************************!*\
|
270
|
-
!*** ./node_modules/detect-browser/es/index.js ***!
|
271
|
-
\*************************************************/
|
272
|
-
|
273
|
-
/*!*************************************************!*\
|
274
|
-
!*** ./src/types/externalTypes/monetization.ts ***!
|
275
|
-
\*************************************************/
|
276
|
-
|
277
|
-
/*!*************************************************!*\
|
278
|
-
!*** ./src/types/externalTypes/organization.ts ***!
|
279
|
-
\*************************************************/
|
280
|
-
|
281
|
-
/*!**************************************************!*\
|
282
|
-
!*** ../../node_modules/lodash.isempty/index.js ***!
|
283
|
-
\**************************************************/
|
284
|
-
|
285
|
-
/*!**************************************************!*\
|
286
|
-
!*** ./src/types/externalTypes/subscriptions.ts ***!
|
287
|
-
\**************************************************/
|
288
|
-
|
289
|
-
/*!***************************************************!*\
|
290
|
-
!*** ../../node_modules/date-format/lib/index.js ***!
|
291
|
-
\***************************************************/
|
292
|
-
|
293
|
-
/*!*****************************************************!*\
|
294
|
-
!*** ./src/utils/comparators/common.comparators.ts ***!
|
295
|
-
\*****************************************************/
|
296
|
-
|
297
|
-
/*!******************************************************!*\
|
298
|
-
!*** ../../node_modules/i18next/dist/esm/i18next.js ***!
|
299
|
-
\******************************************************/
|
300
|
-
|
301
|
-
/*!***********************************************************!*\
|
302
|
-
!*** ./src/utils/comparators/monetization.comparators.ts ***!
|
303
|
-
\***********************************************************/
|
304
|
-
|
305
|
-
/*!***********************************************************!*\
|
306
|
-
!*** ./src/utils/comparators/settingsItem.comparators.ts ***!
|
307
|
-
\***********************************************************/
|
308
|
-
|
309
|
-
/*!***************************************************************!*\
|
310
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
311
|
-
\***************************************************************/
|
312
|
-
|
313
|
-
/*!*****************************************************************!*\
|
314
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
315
|
-
\*****************************************************************/
|
316
|
-
|
317
|
-
/*!********************************************************************!*\
|
318
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
319
|
-
\********************************************************************/
|
320
|
-
|
321
|
-
/*!*********************************************************************!*\
|
322
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/objectSpread.js ***!
|
323
|
-
\*********************************************************************/
|
324
|
-
|
325
|
-
/*!***********************************************************************!*\
|
326
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
327
|
-
\***********************************************************************/
|
328
|
-
|
329
|
-
/*!***********************************************************************!*\
|
330
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
331
|
-
\***********************************************************************/
|
332
|
-
|
333
|
-
/*!***********************************************************************!*\
|
334
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
335
|
-
\***********************************************************************/
|
336
|
-
|
337
|
-
/*!***********************************************************************!*\
|
338
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
339
|
-
\***********************************************************************/
|
340
|
-
|
341
|
-
/*!******************************************************************************!*\
|
342
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
343
|
-
\******************************************************************************/
|
344
|
-
|
345
|
-
/*!**********************************************************************************!*\
|
346
|
-
!*** ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
347
|
-
\**********************************************************************************/
|