@applicaster/quick-brick-core 13.0.0-alpha.3592223128 → 13.0.0-alpha.5371423120

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.
@@ -54,10 +54,11 @@ export function legacyScreenData(
54
54
  screenState: NavigationScreenData,
55
55
  plugins?: QuickBrickPlugin[]
56
56
  ): QuickBrickNavigationData {
57
- let targetScreen = screenState?.screen;
58
- const entry = screenState?.entry;
59
57
  // @ts-ignore - this happens only on launch
60
- if (!targetScreen) return {};
58
+ if (!screenState) return {};
59
+
60
+ const entry = screenState?.entry;
61
+ let targetScreen = screenState?.screen;
61
62
 
62
63
  /**
63
64
  * HACK: We mutate targetScreen by merging screenOrientation for the player.
@@ -126,10 +127,6 @@ export function getNavigationTarget(
126
127
  targetRoute?: string;
127
128
  externalUrl?: string;
128
129
  } {
129
- if (!item) {
130
- return {};
131
- }
132
-
133
130
  const targetRoute = getTargetRoute(item, pathname, {
134
131
  layoutVersion,
135
132
  contentTypes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "13.0.0-alpha.3592223128",
3
+ "version": "13.0.0-alpha.5371423120",
4
4
  "description": "Core package for Applicaster's Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -29,13 +29,13 @@
29
29
  },
30
30
  "homepage": "https://github.com/applicaster/quickbrick#readme",
31
31
  "dependencies": {
32
- "@applicaster/applicaster-types": "13.0.0-alpha.3592223128",
33
- "@applicaster/quick-brick-core-plugins": "13.0.0-alpha.3592223128",
34
- "@applicaster/zapp-pipes-v2-client": "13.0.0-alpha.3592223128",
35
- "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.3592223128",
36
- "@applicaster/zapp-react-native-redux": "13.0.0-alpha.3592223128",
37
- "@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.3592223128",
38
- "@applicaster/zapp-react-native-utils": "13.0.0-alpha.3592223128",
32
+ "@applicaster/applicaster-types": "13.0.0-alpha.5371423120",
33
+ "@applicaster/quick-brick-core-plugins": "13.0.0-alpha.5371423120",
34
+ "@applicaster/zapp-pipes-v2-client": "13.0.0-alpha.5371423120",
35
+ "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.5371423120",
36
+ "@applicaster/zapp-react-native-redux": "13.0.0-alpha.5371423120",
37
+ "@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.5371423120",
38
+ "@applicaster/zapp-react-native-utils": "13.0.0-alpha.5371423120",
39
39
  "atob": "^2.1.2",
40
40
  "axios": "^0.28.0",
41
41
  "btoa": "^1.2.1",