@applicaster/quick-brick-core 11.0.0-rc.99 → 12.0.0-alpha.5643066061
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.
- package/App/ActionsProvider/{ActionsProvider.js → ActionsProvider.tsx} +18 -22
- package/App/AssetCache/CacheManager.ts +33 -36
- package/App/AssetCache/__tests__/__snapshots__/assetCache.test.ts.snap +32 -26
- package/App/AssetCache/__tests__/assetCache.test.ts +12 -15
- package/App/AssetCache/__tests__/cacheManager.test.ts +2 -1
- package/App/AssetCache/index.ts +71 -31
- package/App/AssetCache/logger.ts +8 -1
- package/App/DeepLinking/URLSchemeHandler/SchemeHandlerHooks/__tests__/useOpenSchemeHandler.test.tsx +2 -2
- package/App/DeepLinking/URLSchemeHandler/SchemeHandlerHooks/__tests__/usePresentSchemeHandler.test.tsx +2 -2
- package/App/DeepLinking/helpers/index.ts +4 -7
- package/App/ErrorBoundary/__tests__/errorBoundary.test.js +0 -1
- package/App/ModalProvider/index.tsx +14 -11
- package/App/NavigationProvider/NavigationProvider.tsx +49 -28
- package/App/NavigationProvider/navigator/__tests__/__snapshots__/reducer.test.ts.snap +0 -33
- package/App/NavigationProvider/navigator/__tests__/reducer.test.ts +0 -175
- package/App/NavigationProvider/navigator/reducer.ts +7 -54
- package/App/StoreConnector/{index.js → index.ts} +0 -2
- package/App/ThemeManager/{index.js → index.tsx} +9 -13
- package/App/{index.js → index.tsx} +0 -2
- package/createZappApp/index.js +9 -5
- package/helpers/index.js +0 -2
- package/index.js +0 -2
- package/package.json +8 -8
- package/renderZappApp/index.js +0 -2
- package/tsconfig.json +1 -1
package/createZappApp/index.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
// @flow
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* quick-brick-core module
|
|
5
3
|
* @module @applicaster/quick-brick-core/createZappApp
|
|
@@ -10,9 +8,15 @@ import * as React from "react";
|
|
|
10
8
|
import * as R from "ramda";
|
|
11
9
|
import { Dimensions } from "react-native";
|
|
12
10
|
|
|
13
|
-
import type {
|
|
11
|
+
import type {
|
|
12
|
+
AppComponentProps,
|
|
13
|
+
ZappAppConfig,
|
|
14
|
+
} from "@applicaster/zapp-react-native-flow-types";
|
|
14
15
|
|
|
15
|
-
import {
|
|
16
|
+
import {
|
|
17
|
+
createZappReduxStore,
|
|
18
|
+
loadAppContextData,
|
|
19
|
+
} from "@applicaster/zapp-react-native-redux";
|
|
16
20
|
|
|
17
21
|
import { coreLogger } from "@applicaster/zapp-react-native-utils/logger";
|
|
18
22
|
|
|
@@ -31,7 +35,7 @@ import { isAndroidPlatform } from "@applicaster/zapp-react-native-utils/reactUti
|
|
|
31
35
|
/**
|
|
32
36
|
* Creates a Zapp App with the provided options
|
|
33
37
|
* @export
|
|
34
|
-
* @param
|
|
38
|
+
* @param ZappAppConfig configuration object for the zapp app
|
|
35
39
|
* @returns {React.ComponentType<any>}
|
|
36
40
|
*/
|
|
37
41
|
export function createZappApp(zappAppConfig: ZappAppConfig) {
|
package/helpers/index.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/quick-brick-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0-alpha.5643066061",
|
|
4
4
|
"description": "Core package for Applicaster's Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@applicaster/applicaster-types": "
|
|
34
|
-
"@applicaster/quick-brick-core-plugins": "
|
|
35
|
-
"@applicaster/zapp-pipes-v2-client": "
|
|
36
|
-
"@applicaster/zapp-react-native-bridge": "
|
|
37
|
-
"@applicaster/zapp-react-native-redux": "
|
|
38
|
-
"@applicaster/zapp-react-native-ui-components": "
|
|
39
|
-
"@applicaster/zapp-react-native-utils": "
|
|
33
|
+
"@applicaster/applicaster-types": "12.0.0-alpha.5643066061",
|
|
34
|
+
"@applicaster/quick-brick-core-plugins": "12.0.0-alpha.5643066061",
|
|
35
|
+
"@applicaster/zapp-pipes-v2-client": "12.0.0-alpha.5643066061",
|
|
36
|
+
"@applicaster/zapp-react-native-bridge": "12.0.0-alpha.5643066061",
|
|
37
|
+
"@applicaster/zapp-react-native-redux": "12.0.0-alpha.5643066061",
|
|
38
|
+
"@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.5643066061",
|
|
39
|
+
"@applicaster/zapp-react-native-utils": "12.0.0-alpha.5643066061",
|
|
40
40
|
"atob": "^2.1.2",
|
|
41
41
|
"axios": "^0.21.2",
|
|
42
42
|
"btoa": "^1.2.1",
|
package/renderZappApp/index.js
CHANGED
package/tsconfig.json
CHANGED