expo-speech-recognition 58.0.2 → 58.1.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.swift ADDED
@@ -0,0 +1,29 @@
1
+ // swift-tools-version: 6.2
2
+ import PackageDescription
3
+
4
+ // Expo's SwiftPM plugin builds this manifest through a symlink to this directory at
5
+ // `<app>/ios/build/generated/autolinking/expo/direct/expo-speech-recognition`. Relative package
6
+ // paths such as `../ExpoModulesCoreHeaders` resolve against that symlink, not against this directory.
7
+ let package = Package(
8
+ name: "expo-speech-recognition",
9
+ platforms: [
10
+ .iOS("16.4")
11
+ ],
12
+ products: [
13
+ .library(name: "ExpoSpeechRecognition", targets: ["ExpoSpeechRecognition"])
14
+ ],
15
+ dependencies: [
16
+ .package(path: "../ExpoModulesCoreHeaders")
17
+ ],
18
+ targets: [
19
+ .target(
20
+ name: "ExpoSpeechRecognition",
21
+ dependencies: [
22
+ .product(name: "ExpoModulesCoreHeaders", package: "ExpoModulesCoreHeaders")
23
+ ],
24
+ path: "ios",
25
+ exclude: ["ExpoSpeechRecognition.podspec"]
26
+ )
27
+ ],
28
+ swiftLanguageModes: [.v5]
29
+ )
@@ -1,4 +1,5 @@
1
1
  import ExpoModulesCore
2
+ import AVFoundation
2
3
 
3
4
  public class MicrophoneRequester: NSObject, EXPermissionsRequester {
4
5
  static public func permissionType() -> String {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-speech-recognition",
3
- "version": "58.0.2",
3
+ "version": "58.1.0",
4
4
  "description": "Speech Recognition for React Native Expo projects",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -44,11 +44,11 @@
44
44
  "@changesets/cli": "^2.31.0",
45
45
  "@types/dom-speech-recognition": "^0.0.11",
46
46
  "@types/react": "~19.3.0",
47
- "expo": "~58.0.11",
47
+ "expo": "~58.1.0",
48
48
  "expo-module-scripts": "^56.0.3",
49
49
  "globals": "17.6.0",
50
50
  "react": "^19.3.0",
51
- "react-native": "^0.88.0",
51
+ "react-native": "^0.88.1",
52
52
  "typescript": "~6.0.3",
53
53
  "typescript-eslint": "8.59.0"
54
54
  },