react-native-wakeword 1.0.49 → 1.0.51

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 (17) 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/Headers/module.modulemap +4 -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 +218 -71
  8. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/module.modulemap +4 -0
  9. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  10. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  11. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  12. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +218 -71
  13. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +218 -71
  14. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +12 -12
  15. package/package.json +1 -1
  16. package/wakewords/KeyWordRNBridge.d.ts +1 -1
  17. package/wakewords/KeyWordRNBridge.js +1 -0
@@ -1123,6 +1123,55 @@
1123
1123
  "declKind": "Import",
1124
1124
  "moduleName": "KeyWordDetection"
1125
1125
  },
1126
+ {
1127
+ "kind": "Import",
1128
+ "name": "AVFoundation",
1129
+ "printedName": "AVFoundation",
1130
+ "declKind": "Import",
1131
+ "moduleName": "KeyWordDetection"
1132
+ },
1133
+ {
1134
+ "kind": "Import",
1135
+ "name": "ios_voice_processor",
1136
+ "printedName": "ios_voice_processor",
1137
+ "declKind": "Import",
1138
+ "moduleName": "KeyWordDetection"
1139
+ },
1140
+ {
1141
+ "kind": "Import",
1142
+ "name": "Foundation",
1143
+ "printedName": "Foundation",
1144
+ "declKind": "Import",
1145
+ "moduleName": "KeyWordDetection"
1146
+ },
1147
+ {
1148
+ "kind": "Import",
1149
+ "name": "AVFoundation",
1150
+ "printedName": "AVFoundation",
1151
+ "declKind": "Import",
1152
+ "moduleName": "KeyWordDetection"
1153
+ },
1154
+ {
1155
+ "kind": "Import",
1156
+ "name": "os.log",
1157
+ "printedName": "os.log",
1158
+ "declKind": "Import",
1159
+ "moduleName": "KeyWordDetection"
1160
+ },
1161
+ {
1162
+ "kind": "Import",
1163
+ "name": "onnxruntime_objc",
1164
+ "printedName": "onnxruntime_objc",
1165
+ "declKind": "Import",
1166
+ "moduleName": "KeyWordDetection"
1167
+ },
1168
+ {
1169
+ "kind": "Import",
1170
+ "name": "Foundation",
1171
+ "printedName": "Foundation",
1172
+ "declKind": "Import",
1173
+ "moduleName": "KeyWordDetection"
1174
+ },
1126
1175
  {
1127
1176
  "kind": "Import",
1128
1177
  "name": "CommonCrypto",
@@ -1226,27 +1275,6 @@
1226
1275
  "mangledName": "$ss28CustomDebugStringConvertibleP"
1227
1276
  }
1228
1277
  ]
1229
- },
1230
- {
1231
- "kind": "Import",
1232
- "name": "Foundation",
1233
- "printedName": "Foundation",
1234
- "declKind": "Import",
1235
- "moduleName": "KeyWordDetection"
1236
- },
1237
- {
1238
- "kind": "Import",
1239
- "name": "AVFoundation",
1240
- "printedName": "AVFoundation",
1241
- "declKind": "Import",
1242
- "moduleName": "KeyWordDetection"
1243
- },
1244
- {
1245
- "kind": "Import",
1246
- "name": "ios_voice_processor",
1247
- "printedName": "ios_voice_processor",
1248
- "declKind": "Import",
1249
- "moduleName": "KeyWordDetection"
1250
1278
  }
1251
1279
  ],
1252
1280
  "json_format_version": 8
@@ -1283,91 +1311,98 @@
1283
1311
  {
1284
1312
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1285
1313
  "kind": "IntegerLiteral",
1286
- "offset": 7420,
1314
+ "offset": 7425,
1287
1315
  "length": 1,
1288
1316
  "value": "0"
1289
1317
  },
1290
1318
  {
1291
1319
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1292
1320
  "kind": "IntegerLiteral",
1293
- "offset": 7561,
1321
+ "offset": 7566,
1294
1322
  "length": 2,
1295
1323
  "value": "10"
1296
1324
  },
1297
1325
  {
1298
1326
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1299
1327
  "kind": "IntegerLiteral",
1300
- "offset": 7566,
1328
+ "offset": 7571,
1301
1329
  "length": 2,
1302
1330
  "value": "97"
1303
1331
  },
1304
1332
  {
1305
1333
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1306
1334
  "kind": "IntegerLiteral",
1307
- "offset": 7600,
1308
- "length": 4,
1309
- "value": "1280"
1335
+ "offset": 7710,
1336
+ "length": 3,
1337
+ "value": "512"
1338
+ },
1339
+ {
1340
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1341
+ "kind": "IntegerLiteral",
1342
+ "offset": 7772,
1343
+ "length": 3,
1344
+ "value": "512"
1310
1345
  },
1311
1346
  {
1312
1347
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1313
1348
  "kind": "IntegerLiteral",
1314
- "offset": 7642,
1349
+ "offset": 7838,
1315
1350
  "length": 5,
1316
1351
  "value": "16000"
1317
1352
  },
1318
1353
  {
1319
1354
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1320
1355
  "kind": "IntegerLiteral",
1321
- "offset": 7699,
1356
+ "offset": 7895,
1322
1357
  "length": 2,
1323
1358
  "value": "10"
1324
1359
  },
1325
1360
  {
1326
1361
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1327
1362
  "kind": "IntegerLiteral",
1328
- "offset": 7781,
1363
+ "offset": 7977,
1329
1364
  "length": 2,
1330
1365
  "value": "80"
1331
1366
  },
1332
1367
  {
1333
1368
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1334
1369
  "kind": "IntegerLiteral",
1335
- "offset": 7817,
1370
+ "offset": 8013,
1336
1371
  "length": 2,
1337
1372
  "value": "16"
1338
1373
  },
1339
1374
  {
1340
1375
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1341
1376
  "kind": "BooleanLiteral",
1342
- "offset": 7849,
1377
+ "offset": 8045,
1343
1378
  "length": 5,
1344
1379
  "value": "false"
1345
1380
  },
1346
1381
  {
1347
1382
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1348
1383
  "kind": "IntegerLiteral",
1349
- "offset": 8299,
1384
+ "offset": 8495,
1350
1385
  "length": 2,
1351
1386
  "value": "10"
1352
1387
  },
1353
1388
  {
1354
1389
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1355
1390
  "kind": "IntegerLiteral",
1356
- "offset": 8356,
1391
+ "offset": 8552,
1357
1392
  "length": 1,
1358
1393
  "value": "0"
1359
1394
  },
1360
1395
  {
1361
1396
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1362
1397
  "kind": "IntegerLiteral",
1363
- "offset": 8402,
1398
+ "offset": 8598,
1364
1399
  "length": 1,
1365
1400
  "value": "0"
1366
1401
  },
1367
1402
  {
1368
1403
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/KeyWordsDetection.swift",
1369
1404
  "kind": "IntegerLiteral",
1370
- "offset": 8487,
1405
+ "offset": 8683,
1371
1406
  "length": 4,
1372
1407
  "value": "5000"
1373
1408
  },
@@ -1378,6 +1413,153 @@
1378
1413
  "length": 17,
1379
1414
  "value": "\"KeyWordDetection.KeyWordsDetection\""
1380
1415
  },
1416
+ {
1417
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1418
+ "kind": "BooleanLiteral",
1419
+ "offset": 139,
1420
+ "length": 5,
1421
+ "value": "false"
1422
+ },
1423
+ {
1424
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1425
+ "kind": "IntegerLiteral",
1426
+ "offset": 180,
1427
+ "length": 1,
1428
+ "value": "0"
1429
+ },
1430
+ {
1431
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1432
+ "kind": "FloatLiteral",
1433
+ "offset": 226,
1434
+ "length": 7,
1435
+ "value": "16000.0"
1436
+ },
1437
+ {
1438
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1439
+ "kind": "StringLiteral",
1440
+ "offset": 256,
1441
+ "length": 29,
1442
+ "value": "\"AudioProcessorFromVADOrFile\""
1443
+ },
1444
+ {
1445
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1446
+ "kind": "StringLiteral",
1447
+ "offset": 718,
1448
+ "length": 17,
1449
+ "value": "\"silero_vad.onnx\""
1450
+ },
1451
+ {
1452
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1453
+ "kind": "BooleanLiteral",
1454
+ "offset": 875,
1455
+ "length": 5,
1456
+ "value": "false"
1457
+ },
1458
+ {
1459
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1460
+ "kind": "FloatLiteral",
1461
+ "offset": 917,
1462
+ "length": 3,
1463
+ "value": "0.8"
1464
+ },
1465
+ {
1466
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1467
+ "kind": "FloatLiteral",
1468
+ "offset": 996,
1469
+ "length": 3,
1470
+ "value": "0.8"
1471
+ },
1472
+ {
1473
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1474
+ "kind": "FloatLiteral",
1475
+ "offset": 1086,
1476
+ "length": 3,
1477
+ "value": "0.0"
1478
+ },
1479
+ {
1480
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1481
+ "kind": "FloatLiteral",
1482
+ "offset": 1193,
1483
+ "length": 4,
1484
+ "value": "0.15"
1485
+ },
1486
+ {
1487
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1488
+ "kind": "IntegerLiteral",
1489
+ "offset": 1433,
1490
+ "length": 4,
1491
+ "value": "1024"
1492
+ },
1493
+ {
1494
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1495
+ "kind": "IntegerLiteral",
1496
+ "offset": 1487,
1497
+ "length": 1,
1498
+ "value": "0"
1499
+ },
1500
+ {
1501
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1502
+ "kind": "IntegerLiteral",
1503
+ "offset": 1534,
1504
+ "length": 4,
1505
+ "value": "1000"
1506
+ },
1507
+ {
1508
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1509
+ "kind": "IntegerLiteral",
1510
+ "offset": 1567,
1511
+ "length": 1,
1512
+ "value": "0"
1513
+ },
1514
+ {
1515
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1516
+ "kind": "IntegerLiteral",
1517
+ "offset": 1598,
1518
+ "length": 1,
1519
+ "value": "0"
1520
+ },
1521
+ {
1522
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1523
+ "kind": "IntegerLiteral",
1524
+ "offset": 1662,
1525
+ "length": 1,
1526
+ "value": "1"
1527
+ },
1528
+ {
1529
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1530
+ "kind": "IntegerLiteral",
1531
+ "offset": 1818,
1532
+ "length": 1,
1533
+ "value": "0"
1534
+ },
1535
+ {
1536
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromVADOrFile.swift",
1537
+ "kind": "StringLiteral",
1538
+ "offset": 72,
1539
+ "length": 27,
1540
+ "value": "\"KeyWordDetection.AudioProcessorFromVADOrFile\""
1541
+ },
1542
+ {
1543
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/VADModelWrapper.swift",
1544
+ "kind": "IntegerLiteral",
1545
+ "offset": 1161,
1546
+ "length": 1,
1547
+ "value": "0"
1548
+ },
1549
+ {
1550
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/VADModelWrapper.swift",
1551
+ "kind": "Array",
1552
+ "offset": 1207,
1553
+ "length": 2,
1554
+ "value": "[]"
1555
+ },
1556
+ {
1557
+ "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/VADModelWrapper.swift",
1558
+ "kind": "IntegerLiteral",
1559
+ "offset": 1454,
1560
+ "length": 3,
1561
+ "value": "512"
1562
+ },
1381
1563
  {
1382
1564
  "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/LicenseManager.swift",
1383
1565
  "kind": "StringLiteral",
@@ -1545,41 +1727,6 @@
1545
1727
  "offset": 811,
1546
1728
  "length": 3,
1547
1729
  "value": "\"s\""
1548
- },
1549
- {
1550
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromFile.swift",
1551
- "kind": "BooleanLiteral",
1552
- "offset": 134,
1553
- "length": 5,
1554
- "value": "false"
1555
- },
1556
- {
1557
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromFile.swift",
1558
- "kind": "IntegerLiteral",
1559
- "offset": 175,
1560
- "length": 1,
1561
- "value": "0"
1562
- },
1563
- {
1564
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromFile.swift",
1565
- "kind": "FloatLiteral",
1566
- "offset": 214,
1567
- "length": 7,
1568
- "value": "16000.0"
1569
- },
1570
- {
1571
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromFile.swift",
1572
- "kind": "StringLiteral",
1573
- "offset": 244,
1574
- "length": 24,
1575
- "value": "\"AudioProcessorFromFile\""
1576
- },
1577
- {
1578
- "filePath": "\/Users\/oferfryman\/projects\/VAD_WAKEWORD_FILES\/wakewords\/KeyWordLibraryIOS3\/Sources\/AudioProcessorFromFile.swift",
1579
- "kind": "StringLiteral",
1580
- "offset": 72,
1581
- "length": 22,
1582
- "value": "\"KeyWordDetection.AudioProcessorFromFile\""
1583
1730
  }
1584
1731
  ]
1585
1732
  }
@@ -18,15 +18,15 @@
18
18
  </data>
19
19
  <key>Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
20
20
  <data>
21
- 4b2OZGgND+LJZBJ/eMxN1cEqgvg=
21
+ T5Y6Ju93DHpVFc+tbAKQwW8sef4=
22
22
  </data>
23
23
  <key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
24
24
  <data>
25
- SevGFC4o+q3dn2Z/Nc6kCUiBbAg=
25
+ WnU4EQHu0VMvfq9Nrbzfq548Hbc=
26
26
  </data>
27
27
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
28
28
  <data>
29
- N2TzcF86Vts3j+BciZ9d5rJMiMo=
29
+ j5f5zkAWT9r9Vq84BhjBZBthSGA=
30
30
  </data>
31
31
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
32
32
  <data>
@@ -42,11 +42,11 @@
42
42
  </data>
43
43
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
44
44
  <data>
45
- hkLs+MGjd1v+5Bw1btbQRZBNwyk=
45
+ cmBo+mLq+Dtj9Xh0ImhKvUvkxQ0=
46
46
  </data>
47
47
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
48
48
  <data>
49
- N2TzcF86Vts3j+BciZ9d5rJMiMo=
49
+ j5f5zkAWT9r9Vq84BhjBZBthSGA=
50
50
  </data>
51
51
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
52
52
  <data>
@@ -62,7 +62,7 @@
62
62
  </data>
63
63
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
64
64
  <data>
65
- kO4MSb/jqebz2Xxpylkq9ZJ0+AY=
65
+ /+1TgByeltzLGPittZ+5Yrh08EU=
66
66
  </data>
67
67
  <key>Modules/module.modulemap</key>
68
68
  <data>
@@ -89,21 +89,21 @@
89
89
  <dict>
90
90
  <key>hash2</key>
91
91
  <data>
92
- nmg/A2oj2VzDJk/z8YbakQlO2E6u9ktW3zWO0OsVehU=
92
+ jEt68Hj143cNMzZJq+jjsdlyIe/q0SXUtFz0R6QC2Eg=
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
- ZhXKMEGAuBQPcuWmaJkekJ3/cZaGKzOO+Qbl7ooIvks=
99
+ +nBEpJ9DF8Vi4DBwhudeXdOpbEo4LdSU0eNzKdFtEDc=
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
- GkpBmrIOLq9YxhCjxAVmpMPeqZjQbKHTUGEDmeQSa3s=
106
+ TGuc1pgAD0mVkEuznsNprlS+YLtX4SraCX5E3JcRpwo=
107
107
  </data>
108
108
  </dict>
109
109
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
@@ -131,14 +131,14 @@
131
131
  <dict>
132
132
  <key>hash2</key>
133
133
  <data>
134
- uLu8cigg7QDQbFqTVnOSsr1tD7HpBeatT9BE4cYH1kc=
134
+ FjI432vddxGK+cmNj4/MrO8zQDtPTowMDwEcROEbPAE=
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
- GkpBmrIOLq9YxhCjxAVmpMPeqZjQbKHTUGEDmeQSa3s=
141
+ TGuc1pgAD0mVkEuznsNprlS+YLtX4SraCX5E3JcRpwo=
142
142
  </data>
143
143
  </dict>
144
144
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
@@ -166,7 +166,7 @@
166
166
  <dict>
167
167
  <key>hash2</key>
168
168
  <data>
169
- +wyA42TVFiNwFti6BNRWZuvApefMwfsvNYulXgxuh+Y=
169
+ j/JmlrpZm22o1Ic+eSbZpR+qQTG+jCTONIL8bbCUQIk=
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.49",
3
+ "version": "1.0.51",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",
@@ -11,7 +11,7 @@ export class KeyWordRNBridgeInstance {
11
11
  startKeywordDetection(threshold: any): Promise<any>;
12
12
  stopKeywordDetection(): Promise<any>;
13
13
  destroyInstance(): Promise<any>;
14
- onKeywordDetectionEvent(callback: any): void;
14
+ onKeywordDetectionEvent(callback: any): import("react-native").EmitterSubscription;
15
15
  removeListeners(): void;
16
16
  }
17
17
  export function removeAllRNBridgeListeners(): Promise<void>;
@@ -71,6 +71,7 @@ export class KeyWordRNBridgeInstance {
71
71
  }
72
72
  });
73
73
  this.listeners.push(listener);
74
+ return listener;
74
75
  }
75
76
 
76
77
  removeListeners() {