diff --git a/package-lock.json b/package-lock.json index fc53578..ccf7f63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.1.8", "license": "Apache-2.0", "dependencies": { + "react-native-ble-plx": "3.5.1", "tslib": "^2.8.1" }, "devDependencies": { @@ -37,7 +38,7 @@ "npm-run-all": "^4.1.5", "prettier": "^3.9.6", "react-native": "^0.87.1", - "react-native-ble-plx": "^2.0.3", + "react-native-ble-plx": ">=2.0.3", "react-native-device-info": "^10.4.0", "react-native-geolocation-service": "^5.3.1", "react-native-sensors": "^7.3.6", @@ -9115,11 +9116,18 @@ } }, "node_modules/react-native-ble-plx": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/react-native-ble-plx/-/react-native-ble-plx-2.0.3.tgz", - "integrity": "sha512-62LRDBPf/03K7sge+qq2ZuF8PWCGB782G+SBrpgNm5fA5Hs3FCY1ExTJZ1G0tB5ZhBPYEXcKRxPLuFegcDFrqA==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/react-native-ble-plx/-/react-native-ble-plx-3.5.1.tgz", + "integrity": "sha512-SxksmrUt9jG6DOarrrdkb5c/HBLSfZOKauo/9VQSSi3WJA4bmF78GkrtXrgSoGNk0m1ksacFTjB5DuL39xZq/g==", "dev": true, - "license": "Apache-2.0" + "license": "MIT", + "engines": { + "node": ">= 18.0.0" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + } }, "node_modules/react-native-device-info": { "version": "10.14.0", diff --git a/package.json b/package.json index 0e91566..21c371d 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "npm-run-all": "^4.1.5", "prettier": "^3.9.6", "react-native": "^0.87.1", - "react-native-ble-plx": "^2.0.3", + "react-native-ble-plx": "^3.5.1", "react-native-device-info": "^10.4.0", "react-native-geolocation-service": "^5.3.1", "react-native-sensors": "^7.3.6",