@momo-kits/foundation 0.92.6-rc.11 → 0.92.6-rc.12

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.
@@ -62,6 +62,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
62
62
  tracked.current.timeoutInteraction = setTimeout(() => {
63
63
  onScreenInteraction();
64
64
  }, 5000);
65
+
65
66
  return () => {
66
67
  onScreenLoad();
67
68
  onScreenInteraction();
@@ -80,7 +81,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
80
81
  screenName,
81
82
  componentName: 'Screen',
82
83
  state: 'load',
83
- time: timeLoad.current,
84
+ duration: timeLoad.current,
84
85
  });
85
86
  navigator?.maxApi?.showToastDebug?.({
86
87
  appId: `auto - ${context.appId}`,
@@ -102,7 +103,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
102
103
  screenName,
103
104
  componentName: 'Screen',
104
105
  state: 'interaction',
105
- time: timeInteraction.current,
106
+ duration: timeInteraction.current - timeLoad.current,
106
107
  });
107
108
 
108
109
  navigator?.maxApi?.showToastDebug?.({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.6-rc.11",
3
+ "version": "0.92.6-rc.12",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},