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