make deps optional + bug fixes

This commit is contained in:
Adhiraj Singh
2021-07-18 17:27:23 +05:30
parent bd86f95a9c
commit 6751b5cc73
9 changed files with 122 additions and 212 deletions

View File

@@ -32,20 +32,18 @@
"url": "git@github.com:adiwajshing/baileys.git"
},
"dependencies": {
"@adiwajshing/keyed-db": "^0.2.2",
"@hapi/boom": "^9.1.3",
"curve25519-js": "^0.0.4",
"futoin-hkdf": "^1.3.2",
"got": "^11.8.1",
"https-proxy-agent": "^5.0.0",
"jimp": "^0.16.1",
"music-metadata": "^7.4.1",
"pino": "^6.7.0",
"pino-pretty": "^4.3.0",
"protobufjs": "^6.10.1",
"ws": "^7.3.1"
},
"optionalDependencies": {
"@adiwajshing/keyed-db": "^0.2.4",
"qrcode-terminal": "^0.12.0"
},
"files": [
@@ -53,11 +51,13 @@
"WAMessage/*"
],
"devDependencies": {
"@adiwajshing/keyed-db": "^0.2.4",
"@types/got": "^9.6.11",
"@types/jest": "^26.0.24",
"@types/node": "^14.6.2",
"@types/pino": "^6.3.2",
"@types/ws": "^7.2.6",
"https-proxy-agent": "^5.0.0",
"jest": "^27.0.6",
"qrcode-terminal": "^0.12.0",
"ts-jest": "^27.0.3",