react-native-wakeword 1.0.74 → 1.0.76

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.
Files changed (20) hide show
  1. package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar +0 -0
  2. package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.md5 +1 -1
  3. package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.sha1 +1 -1
  4. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  5. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  6. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +22 -12
  7. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  8. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  9. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  10. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  11. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +429 -599
  12. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -15
  13. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  14. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -15
  15. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +429 -599
  16. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -15
  17. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  18. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -15
  19. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +24 -24
  20. package/package.json +1 -1
@@ -3,6 +3,7 @@
3
3
  // swift-module-flags: -target x86_64-apple-ios13.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name KeyWordDetection
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
5
  import AVFoundation
6
+ import AudioToolbox
6
7
  import CommonCrypto
7
8
  import Foundation
8
9
  @_exported import KeyWordDetection
@@ -33,14 +34,14 @@ import os
33
34
  @objc public func getRecordingWav() -> Swift.String
34
35
  @objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
35
36
  @objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
36
- @objc public func callBack(frame: [Swift.Int16])
37
+ @objc public func callBack(frame: [Swift.Float])
37
38
  @objc public func startListening() -> Swift.Bool
38
39
  @objc public func stopListening()
39
40
  @objc deinit
40
41
  }
41
42
  public class AVAudioWrapperError : Foundation.LocalizedError {
42
43
  public init(_ message: Swift.String)
43
- public var errorDescription: Swift.String {
44
+ public var errorDescription: Swift.String? {
44
45
  get
45
46
  }
46
47
  public var name: Swift.String {
@@ -60,10 +61,17 @@ public class AVAudioWrapperError : Foundation.LocalizedError {
60
61
  override public init(_ message: Swift.String)
61
62
  @objc deinit
62
63
  }
63
- public typealias AVAudioWrapperFrameCallback = ([Swift.Int16]) -> Swift.Void
64
+ public class AVAudioWrapperBuffer {
65
+ public init(size: Swift.Int)
66
+ public func write(samples: [Swift.Float])
67
+ public func read(count: Swift.Int) -> [Swift.Float]
68
+ public func availableSamples() -> Swift.Int
69
+ @objc deinit
70
+ }
71
+ public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
64
72
  public class AVAudioWrapperFrameListener {
65
73
  public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
66
- public func onFrame(_ frame: [Swift.Int16])
74
+ public func onFrame(_ frame: [Swift.Float])
67
75
  @objc deinit
68
76
  }
69
77
  public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
@@ -86,7 +94,6 @@ public class AVAudioWrapperErrorListener {
86
94
  public var numFrameListeners: Swift.Int {
87
95
  get
88
96
  }
89
- public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
90
97
  public var numErrorListeners: Swift.Int {
91
98
  get
92
99
  }
@@ -95,24 +102,16 @@ public class AVAudioWrapperErrorListener {
95
102
  }
96
103
  public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
97
104
  public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
98
- public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
99
105
  public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
100
- public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
101
106
  public func clearFrameListeners()
102
107
  public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
103
108
  public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
104
109
  public func clearErrorListeners()
105
- public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32) throws
110
+ public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
111
+ public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
106
112
  public func stop() throws
107
113
  @objc deinit
108
114
  }
109
- public class AVAudioWrapperBuffer {
110
- public init(size: Swift.Int)
111
- public func write(samples: [Swift.Int16]) throws
112
- public func read(count: Swift.Int) -> [Swift.Int16]
113
- public func availableSamples() -> Swift.Int
114
- @objc deinit
115
- }
116
115
  @_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
117
116
  @objc override dynamic public init()
118
117
  @objc deinit
@@ -3,6 +3,7 @@
3
3
  // swift-module-flags: -target x86_64-apple-ios13.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name KeyWordDetection
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
5
  import AVFoundation
6
+ import AudioToolbox
6
7
  import CommonCrypto
7
8
  import Foundation
8
9
  @_exported import KeyWordDetection
@@ -33,14 +34,14 @@ import os
33
34
  @objc public func getRecordingWav() -> Swift.String
34
35
  @objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
35
36
  @objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
36
- @objc public func callBack(frame: [Swift.Int16])
37
+ @objc public func callBack(frame: [Swift.Float])
37
38
  @objc public func startListening() -> Swift.Bool
38
39
  @objc public func stopListening()
39
40
  @objc deinit
40
41
  }
41
42
  public class AVAudioWrapperError : Foundation.LocalizedError {
42
43
  public init(_ message: Swift.String)
43
- public var errorDescription: Swift.String {
44
+ public var errorDescription: Swift.String? {
44
45
  get
45
46
  }
46
47
  public var name: Swift.String {
@@ -60,10 +61,17 @@ public class AVAudioWrapperError : Foundation.LocalizedError {
60
61
  override public init(_ message: Swift.String)
61
62
  @objc deinit
62
63
  }
63
- public typealias AVAudioWrapperFrameCallback = ([Swift.Int16]) -> Swift.Void
64
+ public class AVAudioWrapperBuffer {
65
+ public init(size: Swift.Int)
66
+ public func write(samples: [Swift.Float])
67
+ public func read(count: Swift.Int) -> [Swift.Float]
68
+ public func availableSamples() -> Swift.Int
69
+ @objc deinit
70
+ }
71
+ public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
64
72
  public class AVAudioWrapperFrameListener {
65
73
  public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
66
- public func onFrame(_ frame: [Swift.Int16])
74
+ public func onFrame(_ frame: [Swift.Float])
67
75
  @objc deinit
68
76
  }
69
77
  public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
@@ -86,7 +94,6 @@ public class AVAudioWrapperErrorListener {
86
94
  public var numFrameListeners: Swift.Int {
87
95
  get
88
96
  }
89
- public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
90
97
  public var numErrorListeners: Swift.Int {
91
98
  get
92
99
  }
@@ -95,24 +102,16 @@ public class AVAudioWrapperErrorListener {
95
102
  }
96
103
  public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
97
104
  public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
98
- public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
99
105
  public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
100
- public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
101
106
  public func clearFrameListeners()
102
107
  public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
103
108
  public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
104
109
  public func clearErrorListeners()
105
- public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32) throws
110
+ public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
111
+ public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
106
112
  public func stop() throws
107
113
  @objc deinit
108
114
  }
109
- public class AVAudioWrapperBuffer {
110
- public init(size: Swift.Int)
111
- public func write(samples: [Swift.Int16]) throws
112
- public func read(count: Swift.Int) -> [Swift.Int16]
113
- public func availableSamples() -> Swift.Int
114
- @objc deinit
115
- }
116
115
  @_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
117
116
  @objc override dynamic public init()
118
117
  @objc deinit
@@ -18,51 +18,51 @@
18
18
  </data>
19
19
  <key>Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
20
20
  <data>
21
- Pq1XZWMffxnb3XeDvL95N1IhlVA=
21
+ lvlVUZP65/8mj5G+MZnlxQUSIm8=
22
22
  </data>
23
23
  <key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
24
24
  <data>
25
- fxh0U9dF1falJLKwjSSW9f9Qbu4=
25
+ bkmmMTnndKflOlOUf7h3rzNeHWQ=
26
26
  </data>
27
27
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
28
28
  <data>
29
- FsqJB25EkHsas9wRi2XEGpGycfI=
29
+ MTPXznQH9Zq2ky11CUOWtooBsZI=
30
30
  </data>
31
31
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
32
32
  <data>
33
- gqRQE3ku25E5PtAI3BKdo51sqcg=
33
+ dHDFtiKn6DFfRblLob6/SMElCj4=
34
34
  </data>
35
35
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
36
36
  <data>
37
- /O9fCgXMqipDfp8586MqmPmtR2g=
37
+ xM3arssezFxr9FRaCm+LNHDAqJk=
38
38
  </data>
39
39
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
40
40
  <data>
41
- gqRQE3ku25E5PtAI3BKdo51sqcg=
41
+ dHDFtiKn6DFfRblLob6/SMElCj4=
42
42
  </data>
43
43
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
44
44
  <data>
45
- ix0rAEoKHxveuo6kDTH7QNEFgQs=
45
+ W07kSn1okqmiEsYpvBdM+jJrj8A=
46
46
  </data>
47
47
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
48
48
  <data>
49
- FsqJB25EkHsas9wRi2XEGpGycfI=
49
+ MTPXznQH9Zq2ky11CUOWtooBsZI=
50
50
  </data>
51
51
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
52
52
  <data>
53
- jxc6lSTG+F0PdYC+KGWcoF6CeA0=
53
+ eeVnscCzVdrshiFYUFTY/Nenvww=
54
54
  </data>
55
55
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
56
56
  <data>
57
- YDRyLufsotptGKiG0wBAZqElA60=
57
+ r2xqk9ml6gS56Wbmbc8WNqjAsGk=
58
58
  </data>
59
59
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
60
60
  <data>
61
- jxc6lSTG+F0PdYC+KGWcoF6CeA0=
61
+ eeVnscCzVdrshiFYUFTY/Nenvww=
62
62
  </data>
63
63
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
64
64
  <data>
65
- WSWHvrX5MA4fBeuCkMmDhqixTUs=
65
+ 9VXWYPX+72Y+xmQcz1rBRxm7hnY=
66
66
  </data>
67
67
  <key>Modules/module.modulemap</key>
68
68
  <data>
@@ -89,84 +89,84 @@
89
89
  <dict>
90
90
  <key>hash2</key>
91
91
  <data>
92
- kFPiXjve2mDFzOO/R6l7gfO1IOOPBiEJ+wXk+XubH0c=
92
+ QEt4yuuwG6N79X3DgvToUJUjf5nVz6paIM+VVCY6+HY=
93
93
  </data>
94
94
  </dict>
95
95
  <key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
96
96
  <dict>
97
97
  <key>hash2</key>
98
98
  <data>
99
- cV49uoJK2YX98n4J97xBrOhNBbpPzvoJX3485G//HQk=
99
+ /15iMLFjDEmiCBFl+APee2xLK7O4NQZpxtSSsLBmxfw=
100
100
  </data>
101
101
  </dict>
102
102
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
103
103
  <dict>
104
104
  <key>hash2</key>
105
105
  <data>
106
- L/VhqCdrqe4magSInsFjDgi9phoXb1sRWqXdVBIiPkw=
106
+ /CmAidFs3nMQCK6xpSxrirQooQOoy+wzGTDoQrU1o2o=
107
107
  </data>
108
108
  </dict>
109
109
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
110
110
  <dict>
111
111
  <key>hash2</key>
112
112
  <data>
113
- n0SgvvBzbTbT3evyLwGka4vijUDBRM2r5Qf5T+ctlE4=
113
+ gPB7T30w3Z0GPx5b9yq83Tco+Gob3sCNCYCVcBjTx3A=
114
114
  </data>
115
115
  </dict>
116
116
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
117
117
  <dict>
118
118
  <key>hash2</key>
119
119
  <data>
120
- 3HIdrCoRLEgoA9POK+X7haT9lftAwcwIJmmWPsH2Ajc=
120
+ 1FbwbdA4Px4qNb4gKxo3mFgA7p6lOqAjpfXzbDh/7yQ=
121
121
  </data>
122
122
  </dict>
123
123
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
124
124
  <dict>
125
125
  <key>hash2</key>
126
126
  <data>
127
- n0SgvvBzbTbT3evyLwGka4vijUDBRM2r5Qf5T+ctlE4=
127
+ gPB7T30w3Z0GPx5b9yq83Tco+Gob3sCNCYCVcBjTx3A=
128
128
  </data>
129
129
  </dict>
130
130
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
131
131
  <dict>
132
132
  <key>hash2</key>
133
133
  <data>
134
- Mrn4HIsvtliSoCaHXPkfcyiDnw6pIdcci3AE+vxMm5U=
134
+ JzPW5YkTG9oHany67FMYODr0dRZdq2vqBFapSa/WAFw=
135
135
  </data>
136
136
  </dict>
137
137
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
138
138
  <dict>
139
139
  <key>hash2</key>
140
140
  <data>
141
- L/VhqCdrqe4magSInsFjDgi9phoXb1sRWqXdVBIiPkw=
141
+ /CmAidFs3nMQCK6xpSxrirQooQOoy+wzGTDoQrU1o2o=
142
142
  </data>
143
143
  </dict>
144
144
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
145
145
  <dict>
146
146
  <key>hash2</key>
147
147
  <data>
148
- 1dfpsOrt2V4XNlue4h1ydYONz60fwdOa8g2NbqBz+bY=
148
+ HhRzpb0LjnIDYncVvFu78aZAY4BHM/Ca1TMs+tlRMZ8=
149
149
  </data>
150
150
  </dict>
151
151
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
152
152
  <dict>
153
153
  <key>hash2</key>
154
154
  <data>
155
- d33t9hYmc7HRcvf0paktAP+OenC4cMX+B3YVbtEdf2g=
155
+ iKnW+jGNGYlK54W/nrP9XA2s5zoCgSbNhw3YXMacF1o=
156
156
  </data>
157
157
  </dict>
158
158
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
159
159
  <dict>
160
160
  <key>hash2</key>
161
161
  <data>
162
- 1dfpsOrt2V4XNlue4h1ydYONz60fwdOa8g2NbqBz+bY=
162
+ HhRzpb0LjnIDYncVvFu78aZAY4BHM/Ca1TMs+tlRMZ8=
163
163
  </data>
164
164
  </dict>
165
165
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
166
166
  <dict>
167
167
  <key>hash2</key>
168
168
  <data>
169
- q5FMUuKmydx778xWPBck+0dmENl61/cH53ywGDabn9k=
169
+ GA/bEIMuy9lJufg5cb3GfQhoxPcxX56uR8zaNTJXaCg=
170
170
  </data>
171
171
  </dict>
172
172
  <key>Modules/module.modulemap</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wakeword",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",