react-native-wakeword 1.0.61 → 1.0.64

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 (31) hide show
  1. package/android/build.gradle +1 -1
  2. package/ios/KeyWordDetection.xcframework/Info.plist +5 -6
  3. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +5 -1
  4. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Info.plist +0 -0
  5. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  6. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  7. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +133 -61
  8. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -1
  9. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  10. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +2 -1
  11. package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +5 -355
  12. package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/Info.plist +0 -0
  13. package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/KeyWordDetection +0 -0
  14. package/ios/KeyWordDetection.xcframework/ios-x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  15. package/ios/KeyWordDetection.xcframework/ios-x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +5482 -0
  16. package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -2
  17. package/ios/KeyWordDetection.xcframework/ios-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 → ios-x86_64-simulator}/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -2
  19. package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/_CodeSignature/CodeResources +15 -81
  20. package/package.json +4 -1
  21. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  22. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  23. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -1994
  24. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -44
  25. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  26. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -44
  27. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -1994
  28. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  29. /package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/Headers/KeyWordDetection.h +0 -0
  30. /package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/Headers/module.modulemap +0 -0
  31. /package/ios/KeyWordDetection.xcframework/{ios-arm64_x86_64-simulator → ios-x86_64-simulator}/KeyWordDetection.framework/Modules/module.modulemap +0 -0
@@ -34,7 +34,7 @@ repositories {
34
34
 
35
35
  dependencies {
36
36
  implementation "com.facebook.react:react-native:+"
37
- implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.20.0'
37
+ // implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.20.0'
38
38
  implementation 'ai.picovoice:android-voice-processor:1.0.2'
39
39
  implementation 'com.davoice:keyworddetection:1.0.0'
40
40
  // implementation(name: 'MyLibrary-release', ext: 'aar') // Add this line
@@ -8,32 +8,31 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>KeyWordDetection.framework/KeyWordDetection</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64_x86_64-simulator</string>
11
+ <string>ios-arm64</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>KeyWordDetection.framework</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
- <string>x86_64</string>
18
17
  </array>
19
18
  <key>SupportedPlatform</key>
20
19
  <string>ios</string>
21
- <key>SupportedPlatformVariant</key>
22
- <string>simulator</string>
23
20
  </dict>
24
21
  <dict>
25
22
  <key>BinaryPath</key>
26
23
  <string>KeyWordDetection.framework/KeyWordDetection</string>
27
24
  <key>LibraryIdentifier</key>
28
- <string>ios-arm64</string>
25
+ <string>ios-x86_64-simulator</string>
29
26
  <key>LibraryPath</key>
30
27
  <string>KeyWordDetection.framework</string>
31
28
  <key>SupportedArchitectures</key>
32
29
  <array>
33
- <string>arm64</string>
30
+ <string>x86_64</string>
34
31
  </array>
35
32
  <key>SupportedPlatform</key>
36
33
  <string>ios</string>
34
+ <key>SupportedPlatformVariant</key>
35
+ <string>simulator</string>
37
36
  </dict>
38
37
  </array>
39
38
  <key>CFBundlePackageType</key>
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
3
+ // Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
4
4
  #ifndef KEYWORDDETECTION_SWIFT_H
5
5
  #define KEYWORDDETECTION_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -42,6 +42,8 @@
42
42
  #include <string.h>
43
43
  #endif
44
44
  #if defined(__cplusplus)
45
+ #pragma clang diagnostic push
46
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
45
47
  #if defined(__arm64e__) && __has_include(<ptrauth.h>)
46
48
  # include <ptrauth.h>
47
49
  #else
@@ -55,6 +57,7 @@
55
57
  # endif
56
58
  #pragma clang diagnostic pop
57
59
  #endif
60
+ #pragma clang diagnostic pop
58
61
  #endif
59
62
 
60
63
  #if !defined(SWIFT_TYPEDEFS)
@@ -290,6 +293,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
290
293
  #pragma clang diagnostic ignored "-Wunknown-pragmas"
291
294
  #pragma clang diagnostic ignored "-Wnullability"
292
295
  #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
296
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
293
297
 
294
298
  #if __has_attribute(external_source_symbol)
295
299
  # pragma push_macro("any")
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "ABIRoot": {
3
3
  "kind": "Root",
4
- "name": "TopLevel",
5
- "printedName": "TopLevel",
4
+ "name": "KeyWordDetection",
5
+ "printedName": "KeyWordDetection",
6
6
  "children": [
7
7
  {
8
8
  "kind": "Import",
@@ -506,6 +506,20 @@
506
506
  "ObjectiveC.NSObject"
507
507
  ],
508
508
  "conformances": [
509
+ {
510
+ "kind": "Conformance",
511
+ "name": "Copyable",
512
+ "printedName": "Copyable",
513
+ "usr": "s:s8CopyableP",
514
+ "mangledName": "$ss8CopyableP"
515
+ },
516
+ {
517
+ "kind": "Conformance",
518
+ "name": "Escapable",
519
+ "printedName": "Escapable",
520
+ "usr": "s:s9EscapableP",
521
+ "mangledName": "$ss9EscapableP"
522
+ },
509
523
  {
510
524
  "kind": "Conformance",
511
525
  "name": "Equatable",
@@ -644,6 +658,22 @@
644
658
  "AccessControl",
645
659
  "ObjC",
646
660
  "RawDocComment"
661
+ ],
662
+ "conformances": [
663
+ {
664
+ "kind": "Conformance",
665
+ "name": "Escapable",
666
+ "printedName": "Escapable",
667
+ "usr": "s:s9EscapableP",
668
+ "mangledName": "$ss9EscapableP"
669
+ },
670
+ {
671
+ "kind": "Conformance",
672
+ "name": "Copyable",
673
+ "printedName": "Copyable",
674
+ "usr": "s:s8CopyableP",
675
+ "mangledName": "$ss8CopyableP"
676
+ }
647
677
  ]
648
678
  },
649
679
  {
@@ -1250,6 +1280,20 @@
1250
1280
  "ObjectiveC.NSObject"
1251
1281
  ],
1252
1282
  "conformances": [
1283
+ {
1284
+ "kind": "Conformance",
1285
+ "name": "Copyable",
1286
+ "printedName": "Copyable",
1287
+ "usr": "s:s8CopyableP",
1288
+ "mangledName": "$ss8CopyableP"
1289
+ },
1290
+ {
1291
+ "kind": "Conformance",
1292
+ "name": "Escapable",
1293
+ "printedName": "Escapable",
1294
+ "usr": "s:s9EscapableP",
1295
+ "mangledName": "$ss9EscapableP"
1296
+ },
1253
1297
  {
1254
1298
  "kind": "Conformance",
1255
1299
  "name": "Equatable",
@@ -1385,34 +1429,6 @@
1385
1429
  "declKind": "Import",
1386
1430
  "moduleName": "KeyWordDetection"
1387
1431
  },
1388
- {
1389
- "kind": "Import",
1390
- "name": "AVFoundation",
1391
- "printedName": "AVFoundation",
1392
- "declKind": "Import",
1393
- "moduleName": "KeyWordDetection"
1394
- },
1395
- {
1396
- "kind": "Import",
1397
- "name": "os.log",
1398
- "printedName": "os.log",
1399
- "declKind": "Import",
1400
- "moduleName": "KeyWordDetection"
1401
- },
1402
- {
1403
- "kind": "Import",
1404
- "name": "onnxruntime_objc",
1405
- "printedName": "onnxruntime_objc",
1406
- "declKind": "Import",
1407
- "moduleName": "KeyWordDetection"
1408
- },
1409
- {
1410
- "kind": "Import",
1411
- "name": "Foundation",
1412
- "printedName": "Foundation",
1413
- "declKind": "Import",
1414
- "moduleName": "KeyWordDetection"
1415
- },
1416
1432
  {
1417
1433
  "kind": "Import",
1418
1434
  "name": "CommonCrypto",
@@ -1466,6 +1482,20 @@
1466
1482
  "ObjectiveC.NSObject"
1467
1483
  ],
1468
1484
  "conformances": [
1485
+ {
1486
+ "kind": "Conformance",
1487
+ "name": "Copyable",
1488
+ "printedName": "Copyable",
1489
+ "usr": "s:s8CopyableP",
1490
+ "mangledName": "$ss8CopyableP"
1491
+ },
1492
+ {
1493
+ "kind": "Conformance",
1494
+ "name": "Escapable",
1495
+ "printedName": "Escapable",
1496
+ "usr": "s:s9EscapableP",
1497
+ "mangledName": "$ss9EscapableP"
1498
+ },
1469
1499
  {
1470
1500
  "kind": "Conformance",
1471
1501
  "name": "Equatable",
@@ -1633,12 +1663,82 @@
1633
1663
  "length": 4,
1634
1664
  "value": "5000"
1635
1665
  },
1666
+ {
1667
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1668
+ "kind": "IntegerLiteral",
1669
+ "offset": 26448,
1670
+ "length": 1,
1671
+ "value": "1"
1672
+ },
1673
+ {
1674
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1675
+ "kind": "IntegerLiteral",
1676
+ "offset": 26943,
1677
+ "length": 1,
1678
+ "value": "0"
1679
+ },
1636
1680
  {
1637
1681
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1638
1682
  "kind": "StringLiteral",
1639
- "offset": 6598,
1640
- "length": 17,
1641
- "value": "\"KeyWordDetection.KeyWordsDetection\""
1683
+ "offset": 26988,
1684
+ "length": 12,
1685
+ "value": "\"ORTSession\""
1686
+ },
1687
+ {
1688
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1689
+ "kind": "IntegerLiteral",
1690
+ "offset": 27008,
1691
+ "length": 1,
1692
+ "value": "1"
1693
+ },
1694
+ {
1695
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1696
+ "kind": "StringLiteral",
1697
+ "offset": 27049,
1698
+ "length": 34,
1699
+ "value": "\"Failed to retrieve output values\""
1700
+ },
1701
+ {
1702
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1703
+ "kind": "IntegerLiteral",
1704
+ "offset": 27482,
1705
+ "length": 2,
1706
+ "value": "32"
1707
+ },
1708
+ {
1709
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1710
+ "kind": "IntegerLiteral",
1711
+ "offset": 27546,
1712
+ "length": 1,
1713
+ "value": "1"
1714
+ },
1715
+ {
1716
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1717
+ "kind": "IntegerLiteral",
1718
+ "offset": 27555,
1719
+ "length": 1,
1720
+ "value": "1"
1721
+ },
1722
+ {
1723
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1724
+ "kind": "IntegerLiteral",
1725
+ "offset": 27573,
1726
+ "length": 2,
1727
+ "value": "32"
1728
+ },
1729
+ {
1730
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1731
+ "kind": "IntegerLiteral",
1732
+ "offset": 27803,
1733
+ "length": 2,
1734
+ "value": "10"
1735
+ },
1736
+ {
1737
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1738
+ "kind": "IntegerLiteral",
1739
+ "offset": 27808,
1740
+ "length": 1,
1741
+ "value": "2"
1642
1742
  },
1643
1743
  {
1644
1744
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
@@ -1752,34 +1852,6 @@
1752
1852
  "length": 1,
1753
1853
  "value": "5"
1754
1854
  },
1755
- {
1756
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1757
- "kind": "StringLiteral",
1758
- "offset": 72,
1759
- "length": 27,
1760
- "value": "\"KeyWordDetection.AudioProcessorFromVADOrFile\""
1761
- },
1762
- {
1763
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/VADModelWrapper.swift",
1764
- "kind": "IntegerLiteral",
1765
- "offset": 1161,
1766
- "length": 1,
1767
- "value": "0"
1768
- },
1769
- {
1770
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/VADModelWrapper.swift",
1771
- "kind": "Array",
1772
- "offset": 1207,
1773
- "length": 2,
1774
- "value": "[]"
1775
- },
1776
- {
1777
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/VADModelWrapper.swift",
1778
- "kind": "IntegerLiteral",
1779
- "offset": 1454,
1780
- "length": 3,
1781
- "value": "512"
1782
- },
1783
1855
  {
1784
1856
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/Constants.swift",
1785
1857
  "kind": "IntegerLiteral",
@@ -1,6 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
2
+ // swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
3
3
  // swift-module-flags: -target arm64-apple-ios13.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name KeyWordDetection
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface
4
5
  import AVFoundation
5
6
  import CommonCrypto
6
7
  import Foundation
@@ -1,6 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
2
+ // swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
3
3
  // swift-module-flags: -target arm64-apple-ios13.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name KeyWordDetection
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface
4
5
  import AVFoundation
5
6
  import CommonCrypto
6
7
  import Foundation