@applicaster/quick-brick-core 12.0.19-rc.0 → 12.0.19-rc.1

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.
@@ -58,7 +58,10 @@ import {
58
58
  legacyScreenData,
59
59
  openExternalUrl,
60
60
  } from "./utils";
61
- import { debounce } from "@applicaster/zapp-react-native-utils/functionUtils";
61
+ import {
62
+ debounce,
63
+ getJsonReplacer,
64
+ } from "@applicaster/zapp-react-native-utils/functionUtils";
62
65
 
63
66
  import { findParent } from "@applicaster/zapp-react-native-ui-components/Contexts/ZappPipesContext/ZappPipesEntryContext";
64
67
  import { ZappPipesEntryContext } from "@applicaster/zapp-react-native-ui-components/Contexts";
@@ -766,7 +769,15 @@ export function NavigationProvider({ children }: Props) {
766
769
  getStackForPathname,
767
770
  mainStack: state.stack.mainStack,
768
771
  }),
769
- [rivers, plugins, JSON.stringify(state), appLaunched, startUpHooks]
772
+ [
773
+ rivers,
774
+ plugins,
775
+ // TODO: Compare entire screen data from state must be removed
776
+ // State size could be large ~150kb and take 80ms on android tv on 8 rails
777
+ JSON.stringify(state, getJsonReplacer()),
778
+ appLaunched,
779
+ startUpHooks,
780
+ ]
770
781
  );
771
782
 
772
783
  // when running the tests, we pass the dispatch function
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "12.0.19-rc.0",
3
+ "version": "12.0.19-rc.1",
4
4
  "description": "Core package for Applicaster's Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "homepage": "https://github.com/applicaster/quickbrick#readme",
32
32
  "dependencies": {
33
- "@applicaster/applicaster-types": "12.0.19-rc.0",
34
- "@applicaster/quick-brick-core-plugins": "12.0.19-rc.0",
35
- "@applicaster/zapp-pipes-v2-client": "12.0.19-rc.0",
36
- "@applicaster/zapp-react-native-bridge": "12.0.19-rc.0",
37
- "@applicaster/zapp-react-native-redux": "12.0.19-rc.0",
38
- "@applicaster/zapp-react-native-ui-components": "12.0.19-rc.0",
39
- "@applicaster/zapp-react-native-utils": "12.0.19-rc.0",
33
+ "@applicaster/applicaster-types": "12.0.19-rc.1",
34
+ "@applicaster/quick-brick-core-plugins": "12.0.19-rc.1",
35
+ "@applicaster/zapp-pipes-v2-client": "12.0.19-rc.1",
36
+ "@applicaster/zapp-react-native-bridge": "12.0.19-rc.1",
37
+ "@applicaster/zapp-react-native-redux": "12.0.19-rc.1",
38
+ "@applicaster/zapp-react-native-ui-components": "12.0.19-rc.1",
39
+ "@applicaster/zapp-react-native-utils": "12.0.19-rc.1",
40
40
  "atob": "^2.1.2",
41
41
  "axios": "^0.28.0",
42
42
  "btoa": "^1.2.1",