@applicaster/zapp-react-native-utils 14.0.0-alpha.1718713411 → 14.0.0-alpha.1887720441

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 (37) hide show
  1. package/analyticsUtils/AnalyticsEvents/sendHeaderClickEvent.ts +1 -1
  2. package/analyticsUtils/AnalyticsEvents/sendMenuClickEvent.ts +2 -1
  3. package/analyticsUtils/index.tsx +3 -4
  4. package/analyticsUtils/manager.ts +1 -1
  5. package/appUtils/HooksManager/Hook.ts +4 -4
  6. package/appUtils/HooksManager/index.ts +11 -1
  7. package/appUtils/accessibilityManager/index.ts +3 -3
  8. package/appUtils/focusManager/treeDataStructure/Tree/index.js +1 -1
  9. package/arrayUtils/index.ts +1 -1
  10. package/componentsUtils/__tests__/isTabsScreen.test.ts +38 -0
  11. package/componentsUtils/index.ts +4 -1
  12. package/configurationUtils/__tests__/manifestKeyParser.test.ts +547 -0
  13. package/configurationUtils/manifestKeyParser.ts +57 -32
  14. package/index.d.ts +0 -9
  15. package/manifestUtils/defaultManifestConfigurations/player.js +0 -148
  16. package/manifestUtils/index.js +0 -4
  17. package/manifestUtils/keys.js +0 -12
  18. package/manifestUtils/sharedConfiguration/screenPicker/stylesFields.js +0 -6
  19. package/navigationUtils/__tests__/mapContentTypesToRivers.test.ts +130 -0
  20. package/navigationUtils/index.ts +6 -4
  21. package/package.json +2 -3
  22. package/reactHooks/autoscrolling/__tests__/useTrackedView.test.tsx +15 -14
  23. package/reactHooks/feed/__tests__/useBatchLoading.test.tsx +39 -88
  24. package/reactHooks/feed/useBatchLoading.ts +8 -6
  25. package/reactHooks/feed/useFeedLoader.tsx +12 -8
  26. package/reactHooks/feed/usePipesCacheReset.ts +2 -2
  27. package/reactHooks/flatList/useSequentialRenderItem.tsx +3 -3
  28. package/reactHooks/layout/__tests__/index.test.tsx +3 -1
  29. package/reactHooks/layout/useDimensions/__tests__/useDimensions.test.ts +34 -36
  30. package/reactHooks/layout/useDimensions/useDimensions.ts +2 -3
  31. package/reactHooks/layout/useLayoutVersion.ts +5 -5
  32. package/reactHooks/navigation/index.ts +7 -5
  33. package/reactHooks/resolvers/__tests__/useCellResolver.test.tsx +4 -0
  34. package/reactHooks/state/useRivers.ts +7 -8
  35. package/testUtils/index.tsx +7 -8
  36. package/time/BackgroundTimer.ts +1 -1
  37. package/utils/index.ts +1 -0
@@ -11,7 +11,7 @@ class BackgroundTimer {
11
11
  this.uniqueId = 0;
12
12
  this.callbacks = {};
13
13
 
14
- const EventEmitter = platformSelect({
14
+ const EventEmitter: typeof DeviceEventEmitter | undefined = platformSelect({
15
15
  android: DeviceEventEmitter,
16
16
  android_tv: DeviceEventEmitter,
17
17
  amazon: DeviceEventEmitter, // probably does not exist and uses android_tv
package/utils/index.ts CHANGED
@@ -14,6 +14,7 @@ export {
14
14
  flatMap,
15
15
  difference,
16
16
  take,
17
+ pick,
17
18
  map,
18
19
  trim,
19
20
  toString,