@applicaster/quick-brick-core 15.0.0-alpha.4413958104 → 15.0.0-alpha.4429053208

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.
@@ -223,6 +223,7 @@ export function NavigationProvider({ children }: Props) {
223
223
  };
224
224
 
225
225
  const isVideoModalDocked = () =>
226
+ state?.options.videoModal.visible &&
226
227
  state?.options.videoModal.mode === "MINIMIZED";
227
228
 
228
229
  // TODO: Remove as it's using a concept of "current" route.
@@ -71,10 +71,11 @@ export const startUpHookPluginIdentifiersSelector = createSelector(
71
71
  return Object.values(pluginConfigurations)
72
72
  .filter(
73
73
  (item) =>
74
+ item.plugin?.api &&
74
75
  "require_startup_execution" in item.plugin.api &&
75
- item?.plugin?.api?.require_startup_execution === true &&
76
- item?.plugin?.react_native === true &&
77
- item?.plugin?.preload === true
76
+ item.plugin.api.require_startup_execution === true &&
77
+ item.plugin.react_native === true &&
78
+ item.plugin.preload === true
78
79
  )
79
80
  .map((item: any) => item.plugin.identifier);
80
81
  }
@@ -2,7 +2,7 @@
2
2
  import * as React from "react";
3
3
  import { render } from "@testing-library/react-native";
4
4
  import { Provider } from "react-redux";
5
- import thunk from "redux-thunk";
5
+ import { thunk } from "redux-thunk";
6
6
  import configureStore from "redux-mock-store";
7
7
 
8
8
  jest.mock(
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import { getRemoteContextData } from "../remoteContextReloader/getRemoteContextData";
4
4
 
5
5
  import { coreAppLogger } from "../logger";
6
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
6
+ import { UnknownAction, Dispatch } from "@reduxjs/toolkit";
7
7
  import { isAndroidPlatform } from "@applicaster/zapp-react-native-utils/reactUtils";
8
8
 
9
9
  const logger = coreAppLogger.addSubsystem("AppRemoteDataLoader");
@@ -27,7 +27,7 @@ export function appRemoteDataLoader(Component: ReactComponent<any>) {
27
27
  const [isDataLoaded, setIsDataLoaded] = React.useState(false);
28
28
 
29
29
  const loadRemoteConfigurationJSONs = async (
30
- dispatch: Dispatch<AnyAction>,
30
+ dispatch: Dispatch<UnknownAction>,
31
31
  state
32
32
  ) => {
33
33
  if (!__DEV__ || process.env.ENABLE_REMOTE_DATA_IN_DEV === "true") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "15.0.0-alpha.4413958104",
3
+ "version": "15.0.0-alpha.4429053208",
4
4
  "description": "Core package for Applicaster's Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "15.0.0-alpha.4413958104",
32
- "@applicaster/quick-brick-core-plugins": "15.0.0-alpha.4413958104",
33
- "@applicaster/zapp-pipes-v2-client": "15.0.0-alpha.4413958104",
34
- "@applicaster/zapp-react-native-bridge": "15.0.0-alpha.4413958104",
35
- "@applicaster/zapp-react-native-redux": "15.0.0-alpha.4413958104",
36
- "@applicaster/zapp-react-native-ui-components": "15.0.0-alpha.4413958104",
37
- "@applicaster/zapp-react-native-utils": "15.0.0-alpha.4413958104",
31
+ "@applicaster/applicaster-types": "15.0.0-alpha.4429053208",
32
+ "@applicaster/quick-brick-core-plugins": "15.0.0-alpha.4429053208",
33
+ "@applicaster/zapp-pipes-v2-client": "15.0.0-alpha.4429053208",
34
+ "@applicaster/zapp-react-native-bridge": "15.0.0-alpha.4429053208",
35
+ "@applicaster/zapp-react-native-redux": "15.0.0-alpha.4429053208",
36
+ "@applicaster/zapp-react-native-ui-components": "15.0.0-alpha.4429053208",
37
+ "@applicaster/zapp-react-native-utils": "15.0.0-alpha.4429053208",
38
38
  "atob": "^2.1.2",
39
39
  "axios": "^0.28.0",
40
40
  "btoa": "^1.2.1",