@applicaster/zapp-react-native-utils 14.0.0-alpha.1473000722 → 14.0.0-alpha.1514090405

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 (33) hide show
  1. package/actionsExecutor/ActionExecutorContext.tsx +1 -1
  2. package/appUtils/accessibilityManager/index.ts +2 -2
  3. package/arrayUtils/__tests__/isEmptyArray.test.ts +63 -0
  4. package/arrayUtils/__tests__/isFilledArray.test.ts +1 -1
  5. package/arrayUtils/index.ts +7 -2
  6. package/audioPlayerUtils/__tests__/getImageFromEntry.test.ts +54 -0
  7. package/audioPlayerUtils/index.ts +135 -22
  8. package/conf/player/__tests__/selectors.test.ts +34 -0
  9. package/conf/player/selectors.ts +10 -0
  10. package/configurationUtils/__tests__/configurationUtils.test.js +0 -31
  11. package/configurationUtils/__tests__/getMediaItems.test.ts +65 -0
  12. package/configurationUtils/__tests__/imageSrcFromMediaItem.test.ts +34 -0
  13. package/configurationUtils/index.ts +63 -34
  14. package/manifestUtils/_internals/getDefaultConfiguration.js +28 -0
  15. package/manifestUtils/{_internals.js → _internals/index.js} +2 -25
  16. package/manifestUtils/createConfig.js +4 -1
  17. package/manifestUtils/defaultManifestConfigurations/player.js +1239 -200
  18. package/manifestUtils/progressBar/__tests__/mobileProgressBar.test.js +0 -30
  19. package/package.json +2 -2
  20. package/playerUtils/__tests__/configurationUtils.test.ts +1 -65
  21. package/playerUtils/__tests__/getPlayerActionButtons.test.ts +54 -0
  22. package/playerUtils/_internals/__tests__/utils.test.ts +71 -0
  23. package/playerUtils/_internals/index.ts +1 -0
  24. package/playerUtils/_internals/utils.ts +31 -0
  25. package/playerUtils/configurationUtils.ts +0 -44
  26. package/playerUtils/getPlayerActionButtons.ts +17 -0
  27. package/playerUtils/index.ts +2 -0
  28. package/playerUtils/useValidatePlayerConfig.tsx +22 -19
  29. package/reactHooks/feed/useBatchLoading.ts +2 -2
  30. package/time/BackgroundTimer.ts +5 -3
  31. package/utils/index.ts +8 -2
  32. package/playerUtils/configurationGenerator.ts +0 -2572
  33. package/utils/isPresent.ts +0 -4
@@ -1,4 +0,0 @@
1
- import { isNil, isEmpty } from "lodash";
2
-
3
- export const isPresent = (value: unknown): boolean =>
4
- !isNil(value) && !isEmpty(value);