Skip to content

Commit

Permalink
fix: WIP oa5
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt committed Sep 25, 2024
1 parent 1f71152 commit 4caa33f
Show file tree
Hide file tree
Showing 7 changed files with 1,225 additions and 2,610 deletions.
2 changes: 1 addition & 1 deletion demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ scanner.stopScanningForDevices();
*/

const device = new DjiDevice('id-of-device', DjiDeviceModel.osmoAction4);
console.log('Discovered device:', peripheral);
console.log('Device:', device);
await device.startLiveStream(
'Wi-Fi-Name', // wi-fi name
'Wi-Fi-Password', // wi-fi password
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"README.md"
],
"devDependencies": {
"@types/jest": "~29.5",
"@types/node": "~20",
"@typescript-eslint/eslint-plugin": "~7.6",
"@typescript-eslint/parser": "~7.6",
"eslint": "~8.56",
"eslint-config-prettier": "~9.1",
"eslint-plugin-jest": "~28.2",
"jest": "~29.7",
"prettier": "~3.2",
"rimraf": "~5.0",
"ts-api-utils": "~1.3",
"ts-jest": "~29.1",
"typescript": "~5.4"
"@types/jest": "~29.5.13",
"@types/node": "~20.16.7",
"@typescript-eslint/eslint-plugin": "~7.6.0",
"@typescript-eslint/parser": "~7.6.0",
"eslint": "~8.56.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-jest": "~28.2.0",
"jest": "~29.7.0",
"prettier": "~3.2.5",
"rimraf": "~5.0.10",
"ts-api-utils": "~1.3.0",
"ts-jest": "~29.1.5",
"typescript": "~5.4.5"
},
"scripts": {
"start": "node demo.js",
Expand All @@ -43,11 +43,11 @@
"author": "Thomas Lekanger <[email protected]>",
"license": "MIT",
"dependencies": {
"tslib": "~2.6",
"crc-full": "1.1.0",
"@abandonware/noble": "^1.9.2-25",
"@abandonware/noble": "1.9.2-25",
"bytebuf": "^1.2.0",
"node-osmo": "file:./"
"crc-full": "1.1.0",
"node-osmo": "file:",
"tslib": "~2.6.3"
},
"volta": {
"node": "20.15.1",
Expand Down
Loading

0 comments on commit 4caa33f

Please sign in to comment.