zaileys 3.3.0 → 4.0.1
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/README.md +271 -0
- package/dist/index.cjs +30 -0
- package/dist/index.d.cts +1670 -0
- package/dist/index.d.ts +1642 -1656
- package/dist/index.mjs +29 -18
- package/package.json +86 -31
- package/README.MD +0 -1280
- package/dist/index.d.mts +0 -1684
- package/dist/index.js +0 -19
package/package.json
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zaileys",
|
|
3
3
|
"description": "Zaileys - Simplified WhatsApp Node.js TypeScript/JavaScript API",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.1",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"require": "./dist/index.js",
|
|
13
|
-
"import": "./dist/index.mjs"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
16
10
|
"files": [
|
|
17
11
|
"dist"
|
|
18
12
|
],
|
|
19
13
|
"author": "zaadevofc",
|
|
14
|
+
"homepage": "https://zeative.github.io/zaileys/",
|
|
20
15
|
"repository": {
|
|
21
16
|
"url": "git+https://github.com/zeative/zaileys.git"
|
|
22
17
|
},
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/zeative/zaileys/issues"
|
|
20
|
+
},
|
|
23
21
|
"keywords": [
|
|
24
22
|
"baileys",
|
|
25
23
|
"zaileys",
|
|
@@ -34,43 +32,100 @@
|
|
|
34
32
|
"nodejs",
|
|
35
33
|
"javascript-typescript"
|
|
36
34
|
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"dev": "tsx --watch examples/quickstart-connect.ts",
|
|
37
|
+
"build": "tsup",
|
|
38
|
+
"typecheck": "tsgo --noEmit",
|
|
39
|
+
"typecheck:legacy": "tsc --noEmit",
|
|
40
|
+
"typecheck:audit": "tsx scripts/audit-tsgo-compat.ts",
|
|
41
|
+
"audit:comments": "tsx scripts/audit-comments.ts",
|
|
42
|
+
"audit:any": "tsx scripts/audit-no-any.ts",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"test:watch": "vitest",
|
|
45
|
+
"smoke:baileys": "tsx scripts/smoke-baileys.mts",
|
|
46
|
+
"docs:dev": "npm --prefix docs run dev",
|
|
47
|
+
"docs:build": "npm --prefix docs run build",
|
|
48
|
+
"docs:deploy": "bash docs/deploy.sh",
|
|
49
|
+
"skill:sync": "node scripts/sync-skill.mjs",
|
|
50
|
+
"changeset": "changeset",
|
|
51
|
+
"release:version": "changeset version && pnpm install",
|
|
52
|
+
"release:publish": "pnpm run build && changeset publish",
|
|
53
|
+
"prepare": "husky",
|
|
54
|
+
"size": "size-limit"
|
|
55
|
+
},
|
|
37
56
|
"devDependencies": {
|
|
38
57
|
"@changesets/cli": "^2.30.0",
|
|
39
58
|
"@commitlint/cli": "^20.5.0",
|
|
40
59
|
"@commitlint/config-conventional": "^20.5.0",
|
|
60
|
+
"@size-limit/file": "^12.1.0",
|
|
61
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
62
|
+
"@types/express": "^5.0.6",
|
|
41
63
|
"@types/node": "^24.10.1",
|
|
64
|
+
"@types/pg": "^8.20.0",
|
|
42
65
|
"@types/qrcode-terminal": "^0.12.2",
|
|
66
|
+
"@typescript/native-preview": "7.0.0-dev.20260527.2",
|
|
67
|
+
"@vitest/coverage-v8": "4.1.7",
|
|
68
|
+
"better-sqlite3": "^11.10.0",
|
|
69
|
+
"express": "^5.2.1",
|
|
43
70
|
"husky": "^9.1.7",
|
|
71
|
+
"pg": "8.21.0",
|
|
72
|
+
"pg-mem": "^3.0.14",
|
|
73
|
+
"redis": "^4.7.0",
|
|
74
|
+
"size-limit": "^12.1.0",
|
|
44
75
|
"tsup": "^8.5.1",
|
|
45
76
|
"tsx": "^4.21.0",
|
|
46
|
-
"typescript": "^
|
|
77
|
+
"typescript": "^6.0.3",
|
|
78
|
+
"vitest": "^4.1.7"
|
|
47
79
|
},
|
|
48
80
|
"dependencies": {
|
|
49
|
-
"@
|
|
81
|
+
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
82
|
+
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
50
83
|
"async-mutex": "^0.5.0",
|
|
51
84
|
"audio-decode": "^2.2.3",
|
|
52
|
-
"baileys": "^7.0.0-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
85
|
+
"baileys": "^7.0.0-rc13",
|
|
86
|
+
"file-type": "^21.1.1",
|
|
87
|
+
"jimp": "^1.6.0",
|
|
55
88
|
"lru-cache": "^11.2.7",
|
|
56
89
|
"nanospinner": "^1.2.2",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"valibot": "^1.2.0"
|
|
61
|
-
"@zaileys/media-process": "2.5.0"
|
|
62
|
-
},
|
|
63
|
-
"optionalDependencies": {
|
|
64
|
-
"lmdb": "^3.5.2"
|
|
90
|
+
"node-webpmux": "^3.2.1",
|
|
91
|
+
"pino": "10.3.1",
|
|
92
|
+
"qrcode-terminal": "0.12.0",
|
|
93
|
+
"valibot": "^1.2.0"
|
|
65
94
|
},
|
|
95
|
+
"packageManager": "pnpm@10.24.0",
|
|
66
96
|
"engines": {
|
|
67
97
|
"node": ">=20.0.0"
|
|
68
98
|
},
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
99
|
+
"peerDependencies": {
|
|
100
|
+
"better-sqlite3": "^11.0.0",
|
|
101
|
+
"convex": "^1.0.0",
|
|
102
|
+
"pg": "^8.11.0",
|
|
103
|
+
"redis": "^4.7.0"
|
|
104
|
+
},
|
|
105
|
+
"peerDependenciesMeta": {
|
|
106
|
+
"better-sqlite3": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"convex": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"redis": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"pg": {
|
|
116
|
+
"optional": true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"pnpm": {
|
|
120
|
+
"onlyBuiltDependencies": [
|
|
121
|
+
"better-sqlite3"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"exports": {
|
|
125
|
+
".": {
|
|
126
|
+
"types": "./dist/index.d.ts",
|
|
127
|
+
"import": "./dist/index.mjs",
|
|
128
|
+
"require": "./dist/index.cjs"
|
|
129
|
+
}
|
|
75
130
|
}
|
|
76
|
-
}
|
|
131
|
+
}
|