@applicaster/zapp-react-dom-app 15.0.0-alpha.5485312433 → 15.0.0-alpha.5531846549
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.
|
@@ -56,7 +56,16 @@ import { KeyInputHandler } from "@applicaster/zapp-react-native-utils/appUtils/k
|
|
|
56
56
|
import { getHomeRiver } from "@applicaster/zapp-react-native-utils/reactHooks/state";
|
|
57
57
|
import { withBackToTopActionHOC, BackToTopAction } from "./hoc";
|
|
58
58
|
|
|
59
|
-
const {
|
|
59
|
+
const { useXray } = getXray();
|
|
60
|
+
|
|
61
|
+
function withXrayContext<P extends { xray?: XRayContext }>(
|
|
62
|
+
Component: React.ComponentType<P>
|
|
63
|
+
) {
|
|
64
|
+
return function WithXrayContext(props: P) {
|
|
65
|
+
const xray = (useXray as unknown as () => XRayContext)();
|
|
66
|
+
return <Component {...props} xray={xray} />;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
60
69
|
const globalAny: any = global;
|
|
61
70
|
|
|
62
71
|
const { log_debug, log_warning, log_info } = createLogger({
|
|
@@ -932,7 +941,7 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
932
941
|
|
|
933
942
|
export const InteractionManager = R.compose(
|
|
934
943
|
withNavigator,
|
|
935
|
-
|
|
944
|
+
withXrayContext,
|
|
936
945
|
connectToStore(R.pick(["rivers"])),
|
|
937
946
|
PlayerContentContext.withConsumer,
|
|
938
947
|
DisplayStateContext.withConsumer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-dom-app",
|
|
3
|
-
"version": "15.0.0-alpha.
|
|
3
|
+
"version": "15.0.0-alpha.5531846549",
|
|
4
4
|
"description": "Zapp App Component for Applicaster's Quick Brick React Native App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@applicaster/zapp-react-dom-ui-components": "15.0.0-alpha.
|
|
26
|
-
"@applicaster/zapp-react-native-bridge": "15.0.0-alpha.
|
|
27
|
-
"@applicaster/zapp-react-native-redux": "15.0.0-alpha.
|
|
28
|
-
"@applicaster/zapp-react-native-ui-components": "15.0.0-alpha.
|
|
29
|
-
"@applicaster/zapp-react-native-utils": "15.0.0-alpha.
|
|
25
|
+
"@applicaster/zapp-react-dom-ui-components": "15.0.0-alpha.5531846549",
|
|
26
|
+
"@applicaster/zapp-react-native-bridge": "15.0.0-alpha.5531846549",
|
|
27
|
+
"@applicaster/zapp-react-native-redux": "15.0.0-alpha.5531846549",
|
|
28
|
+
"@applicaster/zapp-react-native-ui-components": "15.0.0-alpha.5531846549",
|
|
29
|
+
"@applicaster/zapp-react-native-utils": "15.0.0-alpha.5531846549",
|
|
30
30
|
"abortcontroller-polyfill": "^1.7.5",
|
|
31
31
|
"typeface-montserrat": "^0.0.54",
|
|
32
32
|
"video.js": "7.14.3",
|