Create camera wrapper around functions

This commit is contained in:
ICheered
2023-08-03 18:18:43 +02:00
parent 6358e6c7ef
commit 6e09c9d037
3 changed files with 148 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
"name": "web-gphoto2",
"version": "0.1.0",
"description": "WebAssembly implementation of gphoto2 and libusb to control DSLR cameras over USB on the Web",
"main": "ui/libapi.mjs",
"main": "ui/camera.js",
"types": "ui/libapi.mjs.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
@@ -23,7 +23,8 @@
},
"homepage": "https://github.com/GoogleChromeLabs/web-gphoto2#readme",
"files": [
"ui/libapi.*"
"ui/libapi.*",
"ui/camera.js"
],
"devDependencies": {
"@types/emscripten": "^1.39.5",