@guideai/react-native 0.2.0 → 0.6.0

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,8 +1,8 @@
1
1
  {
2
2
  "name": "@guideai/react-native",
3
- "version": "0.2.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
- "description": "GuideAI for React Native: assistant mode with your own login, your own chat UI (or ours), suggestions, pictures and push-to-talk.",
5
+ "description": "GuideAI for React Native: assistant mode with your own login, your own chat UI (or ours), suggestions, whiteboard, pictures and push-to-talk.",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
8
8
  "react-native": "./dist/index.cjs",
@@ -20,6 +20,12 @@
20
20
  "import": "./dist/ui.mjs",
21
21
  "require": "./dist/ui.cjs"
22
22
  },
23
+ "./voice": {
24
+ "types": "./dist/voice.d.ts",
25
+ "react-native": "./dist/voice.cjs",
26
+ "import": "./dist/voice.mjs",
27
+ "require": "./dist/voice.cjs"
28
+ },
23
29
  "./package.json": "./package.json"
24
30
  },
25
31
  "files": [
@@ -27,9 +33,18 @@
27
33
  "README.md"
28
34
  ],
29
35
  "sideEffects": false,
36
+ "scripts": {
37
+ "build": "pnpm --dir ../core build && vite build && tsc -p tsconfig.lib.json && rollup -c rollup.dts.config.mjs && node -e \"require('fs').rmSync('dist/types',{recursive:true,force:true})\"",
38
+ "test": "vitest run",
39
+ "typecheck": "tsc -p tsconfig.json --noEmit",
40
+ "prepublishOnly": "npm run build"
41
+ },
30
42
  "peerDependencies": {
31
43
  "react": ">=18.0.0",
32
- "react-native": ">=0.73.0"
44
+ "react-native": ">=0.73.0",
45
+ "react-native-svg": ">=13.0.0",
46
+ "expo-audio": ">=0.4.0",
47
+ "expo-file-system": ">=19.0.0"
33
48
  },
34
49
  "peerDependenciesMeta": {
35
50
  "react-native": {
@@ -37,9 +52,19 @@
37
52
  },
38
53
  "react": {
39
54
  "optional": true
55
+ },
56
+ "react-native-svg": {
57
+ "optional": true
58
+ },
59
+ "expo-audio": {
60
+ "optional": true
61
+ },
62
+ "expo-file-system": {
63
+ "optional": true
40
64
  }
41
65
  },
42
66
  "devDependencies": {
67
+ "@guideai/core": "workspace:*",
43
68
  "@types/react": "^19.1.0",
44
69
  "@types/react-test-renderer": "^19.0.0",
45
70
  "react": "19.1.0",
@@ -49,15 +74,9 @@
49
74
  "rollup-plugin-dts": "^6.5.1",
50
75
  "typescript": "^5.6.0",
51
76
  "vite": "^6.0.0",
52
- "vitest": "^2.1.0",
53
- "@guideai/core": "0.1.0"
77
+ "vitest": "^2.1.0"
54
78
  },
55
79
  "publishConfig": {
56
80
  "access": "public"
57
- },
58
- "scripts": {
59
- "build": "pnpm --dir ../core build && vite build && tsc -p tsconfig.lib.json && rollup -c rollup.dts.config.mjs && node -e \"require('fs').rmSync('dist/types',{recursive:true,force:true})\"",
60
- "test": "vitest run",
61
- "typecheck": "tsc -p tsconfig.json --noEmit"
62
81
  }
63
- }
82
+ }