@applicaster/quick-brick-core 15.1.23-alpha.9310284580 → 15.1.23-rc.1

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.
@@ -4,8 +4,8 @@ import { allSettled } from "promise";
4
4
  import { useActions } from "@applicaster/zapp-react-native-utils/reactHooks/actions";
5
5
 
6
6
  import * as React from "react";
7
- import { coreAppLogger } from "../logger";
8
- const logger = coreAppLogger.addSubsystem("AppLifeCycleManager");
7
+ import { subsystemLogger } from "@applicaster/zapp-react-native-utils/logger";
8
+ const logger = subsystemLogger("app/lifecycle", "AppLifeCycleManager");
9
9
 
10
10
  const debugActions = (actions) =>
11
11
  logger.debug({
@@ -8,7 +8,7 @@ import { createLogger } from "@applicaster/zapp-react-native-utils/logger";
8
8
  import { LegacyActionsRegistryAdapter } from "./LegacyActionsRegistryAdapter";
9
9
 
10
10
  const { log_debug } = createLogger({
11
- subsystem: "ActionsProvider",
11
+ subsystem: "core/actions",
12
12
  category: "ActionRegistration",
13
13
  });
14
14
 
@@ -5,7 +5,7 @@ import { uiActionsRegistry } from "@applicaster/zapp-react-native-utils/uiAction
5
5
  import { createLogger } from "@applicaster/zapp-react-native-utils/logger";
6
6
 
7
7
  const { log_debug, log_warning } = createLogger({
8
- subsystem: "LegacyActionsRegistryAdapter",
8
+ subsystem: "core/actions/legacy_registry",
9
9
  category: "ActionRegistration",
10
10
  });
11
11
 
@@ -5,6 +5,6 @@ import { coreAppLogger } from "../logger";
5
5
  export const { log_verbose, log_debug, log_warning, log_info, log_error } =
6
6
  createLogger({
7
7
  category: "AssetCache",
8
- subsystem: "quick-brick-core",
8
+ subsystem: "storage/asset_cache",
9
9
  parent: coreAppLogger,
10
10
  });
@@ -5,6 +5,6 @@ import { coreAppLogger } from "../logger";
5
5
  export const { log_verbose, log_debug, log_warning, log_info, log_error } =
6
6
  createLogger({
7
7
  category: "DeepLinking",
8
- subsystem: "General",
8
+ subsystem: "app/deep_linking",
9
9
  parent: coreAppLogger,
10
10
  });
@@ -1,13 +1,16 @@
1
1
  import * as React from "react";
2
2
  import pick from "lodash/pick";
3
3
 
4
- import { coreLogger } from "@applicaster/zapp-react-native-utils/logger";
4
+ import { subsystemLogger } from "@applicaster/zapp-react-native-utils/logger";
5
5
  import { ErrorScreen } from "@applicaster/zapp-react-native-ui-components/Components/ErrorScreen";
6
6
 
7
7
  import { useErrorStore } from "./store";
8
8
  import * as QuickBrickManager from "@applicaster/zapp-react-native-bridge/QuickBrick";
9
9
 
10
- const errorBoundaryLogger = coreLogger.addSubsystem("react_error-boundary");
10
+ const errorBoundaryLogger = subsystemLogger(
11
+ "crash/error_boundary",
12
+ "ErrorBoundary"
13
+ );
11
14
 
12
15
  type Props = {
13
16
  children: React.ReactNode;
@@ -48,7 +48,7 @@ import {
48
48
  lastEntrySelector,
49
49
  } from "./navigator/selectors";
50
50
 
51
- import { coreAppLogger } from "../logger";
51
+ import { subsystemLogger } from "@applicaster/zapp-react-native-utils/logger";
52
52
  import {
53
53
  getPlatform,
54
54
  isTV,
@@ -83,7 +83,7 @@ import { URLSchemeContext } from "../DeepLinking/URLSchemeListener/URLSchemeCont
83
83
 
84
84
  import { loadingOverlayManager } from "../LoadingOverlay";
85
85
 
86
- const logger = coreAppLogger.addSubsystem("Navigator");
86
+ const logger = subsystemLogger("ui/navigation", "Navigator");
87
87
 
88
88
  type Props = {
89
89
  children?: React.ReactChild;
@@ -7,16 +7,16 @@ import {
7
7
  } from "@applicaster/zapp-react-native-utils/navigationUtils";
8
8
  import { findPluginByType } from "@applicaster/zapp-react-native-utils/pluginUtils";
9
9
 
10
- import { coreAppLogger } from "../logger";
11
10
  import { isString } from "@applicaster/zapp-react-native-utils/stringUtils";
12
11
  import { SCREEN_TYPES } from "@applicaster/zapp-react-native-utils/navigationUtils/itemTypes";
13
12
  import { isNilOrEmpty } from "@applicaster/zapp-react-native-utils/reactUtils/helpers";
13
+ import { subsystemLogger } from "@applicaster/zapp-react-native-utils/logger";
14
14
 
15
15
  const EXTERNAL_URL_TYPE = "external_url";
16
16
  const EXTERNAL_URL_FLAG = "open_external_url";
17
17
  const WEBVIEW_SCREEN_IDENTIFIER = "webview_screen_qb";
18
18
 
19
- const logger = coreAppLogger.addSubsystem("Navigator");
19
+ const logger = subsystemLogger("ui/navigation", "Navigator");
20
20
 
21
21
  /**
22
22
  * Drops a leading `/hooks/<screen_id>` segment from a path.
@@ -12,13 +12,13 @@ import { isAndroidPlatform } from "@applicaster/zapp-react-native-utils/reactUti
12
12
  import { networkStatusReady } from "../NetworkStatusProvider/networkStatusReady";
13
13
  import { updateSessionNumber } from "../SessionCounter/sessionCounter";
14
14
 
15
- import { coreAppLogger } from "../logger";
16
15
  import { sessionStorage } from "@applicaster/zapp-react-native-bridge/ZappStorage/SessionStorage";
17
16
  import { isEmptyOrNil } from "@applicaster/zapp-react-native-utils/cellUtils";
18
17
  import { requiredSessionKeys } from "../../const";
19
18
  import { initializeActionSetters, useActionSetters } from "../ActionSetters";
19
+ import { subsystemLogger } from "@applicaster/zapp-react-native-utils/logger";
20
20
 
21
- const logger = coreAppLogger.addSubsystem("AppLifeCycleManager");
21
+ const logger = subsystemLogger("app/lifecycle", "AppLifeCycleManager");
22
22
 
23
23
  const isAndroid = isAndroidPlatform();
24
24
 
@@ -2,11 +2,11 @@ import * as React from "react";
2
2
 
3
3
  import { getRemoteContextData } from "../remoteContextReloader/getRemoteContextData";
4
4
 
5
- import { coreAppLogger } from "../logger";
5
+ import { subsystemLogger } from "@applicaster/zapp-react-native-utils/logger";
6
6
  import { AnyAction, Dispatch } from "@reduxjs/toolkit";
7
7
  import { isAndroidPlatform } from "@applicaster/zapp-react-native-utils/reactUtils";
8
8
 
9
- const logger = coreAppLogger.addSubsystem("AppRemoteDataLoader");
9
+ const logger = subsystemLogger("app/loading", "AppRemoteDataLoader");
10
10
 
11
11
  /**
12
12
  * adds a call to the QuickBrickManager to tell the app is ready, reloads remote
@@ -5,8 +5,8 @@ import { createLogger } from "@applicaster/zapp-react-native-utils/logger";
5
5
  import { coreAppLogger } from "../logger";
6
6
 
7
7
  const logger = createLogger({
8
- category: "PlayerController",
9
- subsystem: "RemoteDataLoader",
8
+ category: "RemoteDataLoader",
9
+ subsystem: "app/loading",
10
10
  parent: coreAppLogger,
11
11
  });
12
12
 
package/App/logger.js CHANGED
@@ -1,3 +1,3 @@
1
- import { coreLogger } from "@applicaster/zapp-react-native-utils/logger";
1
+ import { subsystemLogger } from "@applicaster/zapp-react-native-utils/logger";
2
2
 
3
- export const coreAppLogger = coreLogger.addSubsystem("app");
3
+ export const coreAppLogger = subsystemLogger("app");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "15.1.23-alpha.9310284580",
3
+ "version": "15.1.23-rc.1",
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.1.23-alpha.9310284580",
32
- "@applicaster/quick-brick-core-plugins": "15.1.23-alpha.9310284580",
33
- "@applicaster/zapp-pipes-v2-client": "15.1.23-alpha.9310284580",
34
- "@applicaster/zapp-react-native-bridge": "15.1.23-alpha.9310284580",
35
- "@applicaster/zapp-react-native-redux": "15.1.23-alpha.9310284580",
36
- "@applicaster/zapp-react-native-ui-components": "15.1.23-alpha.9310284580",
37
- "@applicaster/zapp-react-native-utils": "15.1.23-alpha.9310284580",
31
+ "@applicaster/applicaster-types": "15.1.23-rc.1",
32
+ "@applicaster/quick-brick-core-plugins": "15.1.23-rc.1",
33
+ "@applicaster/zapp-pipes-v2-client": "15.1.23-rc.1",
34
+ "@applicaster/zapp-react-native-bridge": "15.1.23-rc.1",
35
+ "@applicaster/zapp-react-native-redux": "15.1.23-rc.1",
36
+ "@applicaster/zapp-react-native-ui-components": "15.1.23-rc.1",
37
+ "@applicaster/zapp-react-native-utils": "15.1.23-rc.1",
38
38
  "atob": "^2.1.2",
39
39
  "axios": "^0.28.0",
40
40
  "btoa": "^1.2.1",