@tivio/sdk-react 3.4.0 → 3.5.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.
- package/README.md +10 -6
- package/README.md.bak +10 -6
- package/dist/components/hooks/contentHooks.d.ts +2 -2
- package/dist/components/hooks/usePurchasesWithVideos.d.ts +1 -1
- package/dist/components/hooks/useUser.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +334 -2
- package/dist/services/dependencyResolver.d.ts +2 -2
- package/package.json +3 -2
- package/doc/changelog.md +0 -0
| @@ -1,3 +1,335 @@ | |
| 1 | 
            -
             | 
| 1 | 
            +
            /*!**********************!*\
         | 
| 2 | 
            +
              !*** ./src/index.ts ***!
         | 
| 3 | 
            +
              \**********************/
         | 
| 2 4 |  | 
| 3 | 
            -
             | 
| 5 | 
            +
            /*!***********************!*\
         | 
| 6 | 
            +
              !*** external "mobx" ***!
         | 
| 7 | 
            +
              \***********************/
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            /*!************************!*\
         | 
| 10 | 
            +
              !*** external "react" ***!
         | 
| 11 | 
            +
              \************************/
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            /*!*************************!*\
         | 
| 14 | 
            +
              !*** ./src/polyfill.ts ***!
         | 
| 15 | 
            +
              \*************************/
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            /*!***************************!*\
         | 
| 18 | 
            +
              !*** ./src/i18n/hooks.ts ***!
         | 
| 19 | 
            +
              \***************************/
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            /*!***************************!*\
         | 
| 22 | 
            +
              !*** ./src/i18n/index.ts ***!
         | 
| 23 | 
            +
              \***************************/
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            /*!***************************!*\
         | 
| 26 | 
            +
              !*** ./src/i18n/types.ts ***!
         | 
| 27 | 
            +
              \***************************/
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            /*!***************************!*\
         | 
| 30 | 
            +
              !*** ./src/i18n/utils.ts ***!
         | 
| 31 | 
            +
              \***************************/
         | 
| 32 | 
            +
             | 
| 33 | 
            +
            /*!***************************!*\
         | 
| 34 | 
            +
              !*** ./src/utils/math.ts ***!
         | 
| 35 | 
            +
              \***************************/
         | 
| 36 | 
            +
             | 
| 37 | 
            +
            /*!***************************!*\
         | 
| 38 | 
            +
              !*** ./src/utils/text.ts ***!
         | 
| 39 | 
            +
              \***************************/
         | 
| 40 | 
            +
             | 
| 41 | 
            +
            /*!***************************!*\
         | 
| 42 | 
            +
              !*** ./src/utils/time.ts ***!
         | 
| 43 | 
            +
              \***************************/
         | 
| 44 | 
            +
             | 
| 45 | 
            +
            /*!****************************!*\
         | 
| 46 | 
            +
              !*** ./src/hooks/index.ts ***!
         | 
| 47 | 
            +
              \****************************/
         | 
| 48 | 
            +
             | 
| 49 | 
            +
            /*!****************************!*\
         | 
| 50 | 
            +
              !*** ./src/types/index.ts ***!
         | 
| 51 | 
            +
              \****************************/
         | 
| 52 | 
            +
             | 
| 53 | 
            +
            /*!****************************!*\
         | 
| 54 | 
            +
              !*** ./src/utils/cache.ts ***!
         | 
| 55 | 
            +
              \****************************/
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            /*!****************************!*\
         | 
| 58 | 
            +
              !*** ./src/utils/calls.ts ***!
         | 
| 59 | 
            +
              \****************************/
         | 
| 60 | 
            +
             | 
| 61 | 
            +
            /*!****************************!*\
         | 
| 62 | 
            +
              !*** ./src/utils/image.ts ***!
         | 
| 63 | 
            +
              \****************************/
         | 
| 64 | 
            +
             | 
| 65 | 
            +
            /*!****************************!*\
         | 
| 66 | 
            +
              !*** ./src/utils/index.ts ***!
         | 
| 67 | 
            +
              \****************************/
         | 
| 68 | 
            +
             | 
| 69 | 
            +
            /*!*****************************!*\
         | 
| 70 | 
            +
              !*** ./src/device/index.ts ***!
         | 
| 71 | 
            +
              \*****************************/
         | 
| 72 | 
            +
             | 
| 73 | 
            +
            /*!*****************************!*\
         | 
| 74 | 
            +
              !*** ./src/device/tizen.ts ***!
         | 
| 75 | 
            +
              \*****************************/
         | 
| 76 | 
            +
             | 
| 77 | 
            +
            /*!*****************************!*\
         | 
| 78 | 
            +
              !*** ./src/hooks/values.ts ***!
         | 
| 79 | 
            +
              \*****************************/
         | 
| 80 | 
            +
             | 
| 81 | 
            +
            /*!*****************************!*\
         | 
| 82 | 
            +
              !*** ./src/types/common.ts ***!
         | 
| 83 | 
            +
              \*****************************/
         | 
| 84 | 
            +
             | 
| 85 | 
            +
            /*!*****************************!*\
         | 
| 86 | 
            +
              !*** ./src/utils/device.ts ***!
         | 
| 87 | 
            +
              \*****************************/
         | 
| 88 | 
            +
             | 
| 89 | 
            +
            /*!*****************************!*\
         | 
| 90 | 
            +
              !*** ./src/utils/format.ts ***!
         | 
| 91 | 
            +
              \*****************************/
         | 
| 92 | 
            +
             | 
| 93 | 
            +
            /*!*****************************!*\
         | 
| 94 | 
            +
              !*** ./src/utils/logger.ts ***!
         | 
| 95 | 
            +
              \*****************************/
         | 
| 96 | 
            +
             | 
| 97 | 
            +
            /*!******************************!*\
         | 
| 98 | 
            +
              !*** ./src/filters/index.ts ***!
         | 
| 99 | 
            +
              \******************************/
         | 
| 100 | 
            +
             | 
| 101 | 
            +
            /*!*******************************!*\
         | 
| 102 | 
            +
              !*** ./src/constants/vast.ts ***!
         | 
| 103 | 
            +
              \*******************************/
         | 
| 104 | 
            +
             | 
| 105 | 
            +
            /*!*******************************!*\
         | 
| 106 | 
            +
              !*** ./src/device/smartTv.ts ***!
         | 
| 107 | 
            +
              \*******************************/
         | 
| 108 | 
            +
             | 
| 109 | 
            +
            /*!*******************************!*\
         | 
| 110 | 
            +
              !*** ./src/filters/videos.ts ***!
         | 
| 111 | 
            +
              \*******************************/
         | 
| 112 | 
            +
             | 
| 113 | 
            +
            /*!********************************!*\
         | 
| 114 | 
            +
              !*** ./src/constants/index.ts ***!
         | 
| 115 | 
            +
              \********************************/
         | 
| 116 | 
            +
             | 
| 117 | 
            +
            /*!********************************!*\
         | 
| 118 | 
            +
              !*** ./src/utils/analytics.ts ***!
         | 
| 119 | 
            +
              \********************************/
         | 
| 120 | 
            +
             | 
| 121 | 
            +
            /*!********************************!*\
         | 
| 122 | 
            +
              !*** ./src/utils/dom.utils.ts ***!
         | 
| 123 | 
            +
              \********************************/
         | 
| 124 | 
            +
             | 
| 125 | 
            +
            /*!********************************!*\
         | 
| 126 | 
            +
              !*** ./src/utils/eventLoop.ts ***!
         | 
| 127 | 
            +
              \********************************/
         | 
| 128 | 
            +
             | 
| 129 | 
            +
            /*!*********************************!*\
         | 
| 130 | 
            +
              !*** ./src/device/tizen.api.ts ***!
         | 
| 131 | 
            +
              \*********************************/
         | 
| 132 | 
            +
             | 
| 133 | 
            +
            /*!*********************************!*\
         | 
| 134 | 
            +
              !*** ./src/hooks/useLoading.ts ***!
         | 
| 135 | 
            +
              \*********************************/
         | 
| 136 | 
            +
             | 
| 137 | 
            +
            /*!*********************************!*\
         | 
| 138 | 
            +
              !*** ./src/i18n/components.tsx ***!
         | 
| 139 | 
            +
              \*********************************/
         | 
| 140 | 
            +
             | 
| 141 | 
            +
            /*!*********************************!*\
         | 
| 142 | 
            +
              !*** ./src/pagination/index.ts ***!
         | 
| 143 | 
            +
              \*********************************/
         | 
| 144 | 
            +
             | 
| 145 | 
            +
            /*!**********************************!*\
         | 
| 146 | 
            +
              !*** ./src/i18n/i18nContext.tsx ***!
         | 
| 147 | 
            +
              \**********************************/
         | 
| 148 | 
            +
             | 
| 149 | 
            +
            /*!**********************************!*\
         | 
| 150 | 
            +
              !*** ./src/types/bundle/auth.ts ***!
         | 
| 151 | 
            +
              \**********************************/
         | 
| 152 | 
            +
             | 
| 153 | 
            +
            /*!**********************************!*\
         | 
| 154 | 
            +
              !*** ./src/utils/array.utils.ts ***!
         | 
| 155 | 
            +
              \**********************************/
         | 
| 156 | 
            +
             | 
| 157 | 
            +
            /*!***********************************!*\
         | 
| 158 | 
            +
              !*** ./src/types/bundle/index.ts ***!
         | 
| 159 | 
            +
              \***********************************/
         | 
| 160 | 
            +
             | 
| 161 | 
            +
            /*!*************************************!*\
         | 
| 162 | 
            +
              !*** ./src/hooks/useImageLoader.ts ***!
         | 
| 163 | 
            +
              \*************************************/
         | 
| 164 | 
            +
             | 
| 165 | 
            +
            /*!*************************************!*\
         | 
| 166 | 
            +
              !*** ./src/types/bundle/context.ts ***!
         | 
| 167 | 
            +
              \*************************************/
         | 
| 168 | 
            +
             | 
| 169 | 
            +
            /*!**************************************!*\
         | 
| 170 | 
            +
              !*** ./src/i18n/languageContext.tsx ***!
         | 
| 171 | 
            +
              \**************************************/
         | 
| 172 | 
            +
             | 
| 173 | 
            +
            /*!**************************************!*\
         | 
| 174 | 
            +
              !*** ./src/pagination/Pagination.ts ***!
         | 
| 175 | 
            +
              \**************************************/
         | 
| 176 | 
            +
             | 
| 177 | 
            +
            /*!***************************************!*\
         | 
| 178 | 
            +
              !*** ./src/types/externalTypes/ad.ts ***!
         | 
| 179 | 
            +
              \***************************************/
         | 
| 180 | 
            +
             | 
| 181 | 
            +
            /*!****************************************!*\
         | 
| 182 | 
            +
              !*** ./src/types/bundle/components.ts ***!
         | 
| 183 | 
            +
              \****************************************/
         | 
| 184 | 
            +
             | 
| 185 | 
            +
            /*!****************************************!*\
         | 
| 186 | 
            +
              !*** ./src/types/externalTypes/row.ts ***!
         | 
| 187 | 
            +
              \****************************************/
         | 
| 188 | 
            +
             | 
| 189 | 
            +
            /*!****************************************!*\
         | 
| 190 | 
            +
              !*** ./src/types/externalTypes/tag.ts ***!
         | 
| 191 | 
            +
              \****************************************/
         | 
| 192 | 
            +
             | 
| 193 | 
            +
            /*!****************************************!*\
         | 
| 194 | 
            +
              !*** ./src/utils/comparators/index.ts ***!
         | 
| 195 | 
            +
              \****************************************/
         | 
| 196 | 
            +
             | 
| 197 | 
            +
            /*!*****************************************!*\
         | 
| 198 | 
            +
              !*** ../firebase/dist/browser/index.js ***!
         | 
| 199 | 
            +
              \*****************************************/
         | 
| 200 | 
            +
             | 
| 201 | 
            +
            /*!*****************************************!*\
         | 
| 202 | 
            +
              !*** ./src/types/externalTypes/user.ts ***!
         | 
| 203 | 
            +
              \*****************************************/
         | 
| 204 | 
            +
             | 
| 205 | 
            +
            /*!******************************************!*\
         | 
| 206 | 
            +
              !*** ./src/pagination/refsPagination.ts ***!
         | 
| 207 | 
            +
              \******************************************/
         | 
| 208 | 
            +
             | 
| 209 | 
            +
            /*!******************************************!*\
         | 
| 210 | 
            +
              !*** ./src/types/externalTypes/index.ts ***!
         | 
| 211 | 
            +
              \******************************************/
         | 
| 212 | 
            +
             | 
| 213 | 
            +
            /*!******************************************!*\
         | 
| 214 | 
            +
              !*** ./src/types/externalTypes/qerko.ts ***!
         | 
| 215 | 
            +
              \******************************************/
         | 
| 216 | 
            +
             | 
| 217 | 
            +
            /*!******************************************!*\
         | 
| 218 | 
            +
              !*** ./src/types/externalTypes/video.ts ***!
         | 
| 219 | 
            +
              \******************************************/
         | 
| 220 | 
            +
             | 
| 221 | 
            +
            /*!*******************************************!*\
         | 
| 222 | 
            +
              !*** ./src/types/bundle/subscriptions.ts ***!
         | 
| 223 | 
            +
              \*******************************************/
         | 
| 224 | 
            +
             | 
| 225 | 
            +
            /*!*******************************************!*\
         | 
| 226 | 
            +
              !*** ./src/types/externalTypes/config.ts ***!
         | 
| 227 | 
            +
              \*******************************************/
         | 
| 228 | 
            +
             | 
| 229 | 
            +
            /*!*******************************************!*\
         | 
| 230 | 
            +
              !*** ./src/types/externalTypes/screen.ts ***!
         | 
| 231 | 
            +
              \*******************************************/
         | 
| 232 | 
            +
             | 
| 233 | 
            +
            /*!*******************************************!*\
         | 
| 234 | 
            +
              !*** ./src/types/externalTypes/search.ts ***!
         | 
| 235 | 
            +
              \*******************************************/
         | 
| 236 | 
            +
             | 
| 237 | 
            +
            /*!*******************************************!*\
         | 
| 238 | 
            +
              !*** ./src/types/externalTypes/widget.ts ***!
         | 
| 239 | 
            +
              \*******************************************/
         | 
| 240 | 
            +
             | 
| 241 | 
            +
            /*!********************************************!*\
         | 
| 242 | 
            +
              !*** ./src/types/externalTypes/channel.ts ***!
         | 
| 243 | 
            +
              \********************************************/
         | 
| 244 | 
            +
             | 
| 245 | 
            +
            /*!********************************************!*\
         | 
| 246 | 
            +
              !*** ./src/types/externalTypes/section.ts ***!
         | 
| 247 | 
            +
              \********************************************/
         | 
| 248 | 
            +
             | 
| 249 | 
            +
            /*!**********************************************!*\
         | 
| 250 | 
            +
              !*** ./src/types/externalTypes/tvChannel.ts ***!
         | 
| 251 | 
            +
              \**********************************************/
         | 
| 252 | 
            +
             | 
| 253 | 
            +
            /*!***********************************************!*\
         | 
| 254 | 
            +
              !*** ../../node_modules/ga-gtag/lib/index.js ***!
         | 
| 255 | 
            +
              \***********************************************/
         | 
| 256 | 
            +
             | 
| 257 | 
            +
            /*!*************************************************!*\
         | 
| 258 | 
            +
              !*** ./node_modules/detect-browser/es/index.js ***!
         | 
| 259 | 
            +
              \*************************************************/
         | 
| 260 | 
            +
             | 
| 261 | 
            +
            /*!*************************************************!*\
         | 
| 262 | 
            +
              !*** ./src/types/externalTypes/monetization.ts ***!
         | 
| 263 | 
            +
              \*************************************************/
         | 
| 264 | 
            +
             | 
| 265 | 
            +
            /*!*************************************************!*\
         | 
| 266 | 
            +
              !*** ./src/types/externalTypes/organization.ts ***!
         | 
| 267 | 
            +
              \*************************************************/
         | 
| 268 | 
            +
             | 
| 269 | 
            +
            /*!**************************************************!*\
         | 
| 270 | 
            +
              !*** ../../node_modules/lodash.isempty/index.js ***!
         | 
| 271 | 
            +
              \**************************************************/
         | 
| 272 | 
            +
             | 
| 273 | 
            +
            /*!**************************************************!*\
         | 
| 274 | 
            +
              !*** ./src/types/externalTypes/subscriptions.ts ***!
         | 
| 275 | 
            +
              \**************************************************/
         | 
| 276 | 
            +
             | 
| 277 | 
            +
            /*!***************************************************!*\
         | 
| 278 | 
            +
              !*** ../../node_modules/date-format/lib/index.js ***!
         | 
| 279 | 
            +
              \***************************************************/
         | 
| 280 | 
            +
             | 
| 281 | 
            +
            /*!*****************************************************!*\
         | 
| 282 | 
            +
              !*** ./src/utils/comparators/common.comparators.ts ***!
         | 
| 283 | 
            +
              \*****************************************************/
         | 
| 284 | 
            +
             | 
| 285 | 
            +
            /*!******************************************************!*\
         | 
| 286 | 
            +
              !*** ../../node_modules/i18next/dist/esm/i18next.js ***!
         | 
| 287 | 
            +
              \******************************************************/
         | 
| 288 | 
            +
             | 
| 289 | 
            +
            /*!***********************************************************!*\
         | 
| 290 | 
            +
              !*** ./src/utils/comparators/monetization.comparators.ts ***!
         | 
| 291 | 
            +
              \***********************************************************/
         | 
| 292 | 
            +
             | 
| 293 | 
            +
            /*!***********************************************************!*\
         | 
| 294 | 
            +
              !*** ./src/utils/comparators/settingsItem.comparators.ts ***!
         | 
| 295 | 
            +
              \***********************************************************/
         | 
| 296 | 
            +
             | 
| 297 | 
            +
            /*!***************************************************************!*\
         | 
| 298 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/typeof.js ***!
         | 
| 299 | 
            +
              \***************************************************************/
         | 
| 300 | 
            +
             | 
| 301 | 
            +
            /*!*****************************************************************!*\
         | 
| 302 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/inherits.js ***!
         | 
| 303 | 
            +
              \*****************************************************************/
         | 
| 304 | 
            +
             | 
| 305 | 
            +
            /*!********************************************************************!*\
         | 
| 306 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/createClass.js ***!
         | 
| 307 | 
            +
              \********************************************************************/
         | 
| 308 | 
            +
             | 
| 309 | 
            +
            /*!*********************************************************************!*\
         | 
| 310 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/objectSpread.js ***!
         | 
| 311 | 
            +
              \*********************************************************************/
         | 
| 312 | 
            +
             | 
| 313 | 
            +
            /*!***********************************************************************!*\
         | 
| 314 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
         | 
| 315 | 
            +
              \***********************************************************************/
         | 
| 316 | 
            +
             | 
| 317 | 
            +
            /*!***********************************************************************!*\
         | 
| 318 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
         | 
| 319 | 
            +
              \***********************************************************************/
         | 
| 320 | 
            +
             | 
| 321 | 
            +
            /*!***********************************************************************!*\
         | 
| 322 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
         | 
| 323 | 
            +
              \***********************************************************************/
         | 
| 324 | 
            +
             | 
| 325 | 
            +
            /*!***********************************************************************!*\
         | 
| 326 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
         | 
| 327 | 
            +
              \***********************************************************************/
         | 
| 328 | 
            +
             | 
| 329 | 
            +
            /*!******************************************************************************!*\
         | 
| 330 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
         | 
| 331 | 
            +
              \******************************************************************************/
         | 
| 332 | 
            +
             | 
| 333 | 
            +
            /*!**********************************************************************************!*\
         | 
| 334 | 
            +
              !*** ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
         | 
| 335 | 
            +
              \**********************************************************************************/
         | 
| @@ -4,6 +4,7 @@ | |
| 4 4 | 
             
             */
         | 
| 5 5 | 
             
            import * as materialUiCore from '@material-ui/core';
         | 
| 6 6 | 
             
            import * as materialUiIcons from '@material-ui/icons';
         | 
| 7 | 
            +
            import * as dayjs from 'dayjs';
         | 
| 7 8 | 
             
            import firebase from 'firebase/app';
         | 
| 8 9 | 
             
            import 'firebase/auth';
         | 
| 9 10 | 
             
            import 'firebase/firestore';
         | 
| @@ -19,6 +20,5 @@ import * as reactSpring from 'react-spring'; | |
| 19 20 | 
             
            import * as reactVirtualized from 'react-virtualized';
         | 
| 20 21 | 
             
            import * as styledComponents from 'styled-components';
         | 
| 21 22 | 
             
            import * as yup from 'yup';
         | 
| 22 | 
            -
             | 
| 23 | 
            -
            export declare type SharedDependency = typeof react | typeof reactDom | typeof mobx | typeof styledComponents | typeof firebase | typeof materialUiCore | typeof materialUiIcons | typeof formik | typeof i18Next | typeof reactI18Next | typeof reactRouterDom | typeof reactVirtualized | typeof reactSpring | typeof yup | typeof moment | typeof mobxReact | null;
         | 
| 23 | 
            +
            export declare type SharedDependency = typeof react | typeof reactDom | typeof mobx | typeof styledComponents | typeof firebase | typeof materialUiCore | typeof materialUiIcons | typeof formik | typeof i18Next | typeof reactI18Next | typeof reactRouterDom | typeof reactVirtualized | typeof reactSpring | typeof yup | typeof dayjs | typeof mobxReact | null;
         | 
| 24 24 | 
             
            export declare const resolveShared: (name: string) => SharedDependency;
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
                "name": "@tivio/sdk-react",
         | 
| 3 | 
            -
                "version": "3. | 
| 3 | 
            +
                "version": "3.5.2",
         | 
| 4 4 | 
             
                "main": "dist/index.js",
         | 
| 5 5 | 
             
                "typings": "dist/index.d.ts",
         | 
| 6 6 | 
             
                "source": "src/index.ts",
         | 
| @@ -28,7 +28,8 @@ | |
| 28 28 | 
             
                    "@material-ui/core": "^4.11.2",
         | 
| 29 29 | 
             
                    "@material-ui/icons": "^4.11.2",
         | 
| 30 30 | 
             
                    "@sentry/browser": "^6.1.0",
         | 
| 31 | 
            -
                    "@tivio/common": "1.1. | 
| 31 | 
            +
                    "@tivio/common": "1.1.89",
         | 
| 32 | 
            +
                    "dayjs": "^1.11.0",
         | 
| 32 33 | 
             
                    "es7-object-polyfill": "^1.0.1",
         | 
| 33 34 | 
             
                    "firebase": "^8.2.3",
         | 
| 34 35 | 
             
                    "formik": "^2.2.7",
         | 
    
        package/doc/changelog.md
    DELETED
    
    | 
            File without changes
         |