@blckrose/baileys 1.1.5 → 1.2.8

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blckrose/baileys",
3
3
  "type": "module",
4
- "version": "1.1.5",
4
+ "version": "1.2.8",
5
5
  "description": "A WebSockets library for interacting with WhatsApp Web",
6
6
  "keywords": [
7
7
  "whatsapp",
@@ -13,19 +13,48 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "author": "Black Rose",
16
- "main": "lib/index.js",
17
- "types": "lib/index.d.ts",
16
+ "main": "./index.cjs",
17
+ "module": "./lib/index.js",
18
+ "types": "./index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "import": {
22
+ "types": "./lib/index.d.ts",
23
+ "default": "./lib/index.js"
24
+ },
25
+ "require": {
26
+ "types": "./index.d.ts",
27
+ "default": "./index.cjs"
28
+ },
29
+ "default": "./lib/index.js"
30
+ }
31
+ },
32
+ "typesVersions": {
33
+ "*": {
34
+ "*": [
35
+ "./index.d.ts"
36
+ ]
37
+ }
38
+ },
18
39
  "files": [
19
40
  "lib/**/*",
20
41
  "WAProto/**/*",
21
- "engine-requirements.js"
42
+ "engine-requirements.js",
43
+ "index.cjs",
44
+ "index.d.ts"
22
45
  ],
23
46
  "scripts": {},
24
47
  "dependencies": {
25
48
  "@cacheable/node-cache": "^1.4.0",
26
49
  "@hapi/boom": "^9.1.3",
27
50
  "async-mutex": "^0.5.0",
51
+ "audio-decode": "^3.0.0",
52
+ "axios": "^1.13.6",
28
53
  "cache-manager": "^5.7.6",
54
+ "chalk": "^5.3.0",
55
+ "cheerio": "^1.2.0",
56
+ "fflate": "^0.8.2",
57
+ "gradient-string": "^3.0.0",
29
58
  "libsignal": "git+https://github.com/whiskeysockets/libsignal-node",
30
59
  "lru-cache": "^11.1.0",
31
60
  "music-metadata": "^11.7.0",
@@ -33,20 +62,14 @@
33
62
  "pino": "^9.6",
34
63
  "protobufjs": "^7.2.4",
35
64
  "whatsapp-rust-bridge": "0.5.2",
36
- "ws": "^8.13.0",
37
- "chalk": "^5.3.0",
38
- "fflate": "^0.8.2"
65
+ "ws": "^8.13.0"
39
66
  },
40
67
  "peerDependencies": {
41
- "audio-decode": "^2.1.3",
42
68
  "jimp": "^1.6.0",
43
69
  "link-preview-js": "^3.0.0",
44
70
  "sharp": "*"
45
71
  },
46
72
  "peerDependenciesMeta": {
47
- "audio-decode": {
48
- "optional": true
49
- },
50
73
  "jimp": {
51
74
  "optional": true
52
75
  },
@@ -58,4 +81,4 @@
58
81
  "engines": {
59
82
  "node": ">=20.0.0"
60
83
  }
61
- }
84
+ }