@guideai/react-native 0.1.0 → 0.3.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.1.0",
3
+ "version": "0.3.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": [
@@ -29,7 +35,9 @@
29
35
  "sideEffects": false,
30
36
  "peerDependencies": {
31
37
  "react": ">=18.0.0",
32
- "react-native": ">=0.73.0"
38
+ "react-native": ">=0.73.0",
39
+ "react-native-svg": ">=13.0.0",
40
+ "expo-audio": ">=0.4.0"
33
41
  },
34
42
  "peerDependenciesMeta": {
35
43
  "react-native": {
@@ -37,6 +45,12 @@
37
45
  },
38
46
  "react": {
39
47
  "optional": true
48
+ },
49
+ "react-native-svg": {
50
+ "optional": true
51
+ },
52
+ "expo-audio": {
53
+ "optional": true
40
54
  }
41
55
  },
42
56
  "devDependencies": {
@@ -56,7 +70,7 @@
56
70
  "access": "public"
57
71
  },
58
72
  "scripts": {
59
- "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})\"",
73
+ "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
74
  "test": "vitest run",
61
75
  "typecheck": "tsc -p tsconfig.json --noEmit"
62
76
  }