@applicaster/zapp-react-native-utils 13.0.12 → 13.0.13-alpha.1959885345

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.
@@ -604,24 +604,27 @@ export function routeIsPlayerScreen(currentRoute) {
604
604
  return currentRoute?.includes("/playable");
605
605
  }
606
606
 
607
- export const getNavBarProps =
608
- (currentRiver: ZappRiver, pathname: string, title: string) => () => {
609
- const props = getNavigationPropsV2({
610
- currentRiver,
611
- title,
612
- category: "nav_bar",
613
- });
607
+ export const getNavBarProps = (
608
+ currentRiver: ZappRiver,
609
+ pathname: string,
610
+ title: string
611
+ ) => {
612
+ const props = getNavigationPropsV2({
613
+ currentRiver,
614
+ title,
615
+ category: "nav_bar",
616
+ });
614
617
 
615
- if (props) {
616
- return {
617
- ...props,
618
- id: pathname,
619
- pathname: pathname,
620
- };
621
- }
618
+ if (props) {
619
+ return {
620
+ ...props,
621
+ id: pathname,
622
+ pathname: pathname,
623
+ };
624
+ }
622
625
 
623
- return null;
624
- };
626
+ return null;
627
+ };
625
628
 
626
629
  export const findMenuPlugin = (
627
630
  navigations: ZappNavigation[],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-utils",
3
- "version": "13.0.12",
3
+ "version": "13.0.13-alpha.1959885345",
4
4
  "description": "Applicaster Zapp React Native utilities package",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/applicaster/quickbrick#readme",
29
29
  "dependencies": {
30
- "@applicaster/applicaster-types": "13.0.12",
30
+ "@applicaster/applicaster-types": "13.0.13-alpha.1959885345",
31
31
  "buffer": "^5.2.1",
32
32
  "camelize": "^1.0.0",
33
33
  "dayjs": "^1.11.10",