@momo-kits/foundation 0.92.2-tracking.1 → 0.92.2-tracking.2

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.
@@ -46,8 +46,6 @@ const StackScreen: React.FC<ScreenParams> = props => {
46
46
  * set options for screen
47
47
  */
48
48
  useLayoutEffect(() => {
49
- const host = (global as any).miniAppApi?.currentHost || {};
50
- host.screenName = screenName;
51
49
  if (options) {
52
50
  navigation.setOptions(options);
53
51
  }
@@ -85,6 +83,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
85
83
  screenName,
86
84
  componentName: 'Screen',
87
85
  state: 'load',
86
+ time: timeLoad.current,
88
87
  });
89
88
  navigator?.maxApi?.showToastDebug?.({
90
89
  appId: `auto - ${context.appId}`,
@@ -106,6 +105,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
106
105
  screenName,
107
106
  componentName: 'Screen',
108
107
  state: 'interaction',
108
+ time: timeInteraction.current,
109
109
  });
110
110
 
111
111
  navigator?.maxApi?.showToastDebug?.({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.2-tracking.1",
3
+ "version": "0.92.2-tracking.2",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {