@mobileai/react-native 0.9.19 → 0.9.20
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobileai/react-native",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.20",
|
|
4
4
|
"description": "Build autonomous AI agents for React Native and Expo apps. Provides AI-native UI traversal, tool calling, and structured reasoning.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"lib",
|
|
24
|
+
"src/specs",
|
|
24
25
|
"bin",
|
|
25
26
|
"generate-map.js",
|
|
26
27
|
"android",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Codegen spec for MobileAIFloatingOverlay native view.
|
|
3
|
+
*
|
|
4
|
+
* This file is required by React Native's Codegen (New Architecture / Fabric).
|
|
5
|
+
* It defines the TypeScript interface for the native view. During the build,
|
|
6
|
+
* Codegen uses this spec to generate C++ glue code that bridges JS and native.
|
|
7
|
+
*
|
|
8
|
+
* Consumers don't use this directly — use FloatingOverlayWrapper.tsx instead.
|
|
9
|
+
*
|
|
10
|
+
* Naming convention: file must end in NativeComponent.ts (Codegen convention).
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { ViewProps } from 'react-native';
|
|
14
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
15
|
+
|
|
16
|
+
export interface NativeProps extends ViewProps {}
|
|
17
|
+
|
|
18
|
+
// Codegen reads this export to generate the native component interfaces.
|
|
19
|
+
export default codegenNativeComponent<NativeProps>('MobileAIFloatingOverlay');
|