@momo-kits/foundation 0.81.10 → 0.81.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.
@@ -64,7 +64,8 @@ const Modal: React.FC<ModalParams> = props => {
64
64
  if (routesLength > 1) {
65
65
  screen_name = navigationRoutes[routesLength - 2]?.params?.screen?.name;
66
66
  }
67
- const error_code = (screen as Function)?.()?.props?.information;
67
+ const popup = screen?.({});
68
+ const error_code = popup?.props?.information;
68
69
  navigator?.maxApi?.trackEvent('service_component_displayed', {
69
70
  feature_code: navigator.trackingInfo.code,
70
71
  app_id: navigator.trackingInfo.appId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.81.10",
3
+ "version": "0.81.12",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {