zaileys 1.1.40 → 2.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/LICENSE +1 -1
- package/README.MD +990 -0
- package/dist/index.d.mts +562 -1274
- package/dist/index.d.ts +562 -1274
- package/dist/index.js +24 -2033
- package/dist/index.mjs +24 -1986
- package/package.json +44 -69
- package/tsconfig.json +18 -0
- package/README.md +0 -718
package/package.json
CHANGED
|
@@ -1,88 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zaileys",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
3
|
+
"description": "Zaileys - Simplified WhatsApp Node.js TypeScript/JavaScript API",
|
|
4
|
+
"version": "2.0.1",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
10
12
|
"require": "./dist/index.js",
|
|
11
|
-
"import": "./dist/index.mjs"
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
+
"import": "./dist/index.mjs"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
|
-
"
|
|
16
|
-
"zaileys",
|
|
17
|
-
"whatsapp",
|
|
18
|
-
"wa-simplify",
|
|
19
|
-
"bot-zaileys",
|
|
20
|
-
"js-whatsapp",
|
|
21
|
-
"whatsapp-chat",
|
|
22
|
-
"whatsapp-api",
|
|
23
|
-
"whatsapp-web",
|
|
24
|
-
"whatsapp-group",
|
|
25
|
-
"automation",
|
|
26
|
-
"multi-device"
|
|
27
|
-
],
|
|
28
|
-
"license": "MIT",
|
|
29
|
-
"homepage": "https://github.com/zeative/zaileys",
|
|
30
|
-
"funding": "https://saweria.co/zaadevofc",
|
|
16
|
+
"author": "zaadevofc",
|
|
31
17
|
"repository": {
|
|
32
|
-
"url": "git+
|
|
33
|
-
},
|
|
34
|
-
"bugs": {
|
|
35
|
-
"url": "https://github.com/zeative/zaileys/issues"
|
|
36
|
-
},
|
|
37
|
-
"author": {
|
|
38
|
-
"name": "zaadevofc",
|
|
39
|
-
"email": "zaadevofc@gmail.com",
|
|
40
|
-
"url": "https://github.com/zeative"
|
|
18
|
+
"url": "git+https://github.com/zeative/zaileys.git"
|
|
41
19
|
},
|
|
42
20
|
"scripts": {
|
|
21
|
+
"test": "tsx --watch examples/test.ts",
|
|
43
22
|
"build": "tsup",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"dev": "tsx watch examples/test.ts",
|
|
48
|
-
"clean": "rm -rf dist sessions",
|
|
49
|
-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
50
|
-
"lint": "npx tsc --noEmit",
|
|
51
|
-
"lint:fix": "eslint src/ --ext .ts --fix"
|
|
23
|
+
"r:patch": "npm run build && npm version patch && npm publish",
|
|
24
|
+
"r:minor": "npm run build && npm version minor && npm publish",
|
|
25
|
+
"r:major": "npm run build && npm version major && npm publish"
|
|
52
26
|
},
|
|
53
|
-
"
|
|
54
|
-
"
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/lodash": "^4.17.21",
|
|
29
|
+
"@types/node": "^24.10.1",
|
|
30
|
+
"@types/qrcode-terminal": "^0.12.2",
|
|
31
|
+
"rolldown": "1.0.0-beta.52",
|
|
32
|
+
"rolldown-plugin-dts": "^0.18.1",
|
|
33
|
+
"tsup": "^8.5.1",
|
|
34
|
+
"tsx": "^4.21.0",
|
|
35
|
+
"typescript": "^5.9.3"
|
|
55
36
|
},
|
|
56
37
|
"dependencies": {
|
|
38
|
+
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
39
|
+
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
40
|
+
"async-mutex": "^0.5.0",
|
|
57
41
|
"audio-decode": "^2.2.3",
|
|
58
|
-
"baileys": "
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
42
|
+
"baileys": "7.0.0-rc.9",
|
|
43
|
+
"figlet": "^1.9.4",
|
|
44
|
+
"file-type": "^21.1.1",
|
|
45
|
+
"fluent-ffmpeg": "^2.1.3",
|
|
46
|
+
"gradient-string": "^3.0.0",
|
|
62
47
|
"lodash": "^4.17.21",
|
|
63
|
-
"lowdb": "
|
|
48
|
+
"lowdb": "^7.0.1",
|
|
64
49
|
"nanospinner": "^1.2.2",
|
|
65
50
|
"node-cache": "^5.1.2",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
"eslint": "^9.34.0",
|
|
79
|
-
"terser": "^5.43.1",
|
|
80
|
-
"tsup": "^8.5.0",
|
|
81
|
-
"typescript": "5.8.3",
|
|
82
|
-
"typescript-eslint": "^8.43.0"
|
|
83
|
-
},
|
|
84
|
-
"trustedDependencies": [
|
|
85
|
-
"baileys",
|
|
86
|
-
"protobufjs"
|
|
87
|
-
]
|
|
51
|
+
"node-webpmux": "^3.2.1",
|
|
52
|
+
"pino": "^10.1.0",
|
|
53
|
+
"qrcode-terminal": "^0.12.0",
|
|
54
|
+
"rate-limiter-flexible": "^9.0.0",
|
|
55
|
+
"sharp": "^0.34.5",
|
|
56
|
+
"thumbsupply": "^0.4.0",
|
|
57
|
+
"zod": "^4.1.13"
|
|
58
|
+
},
|
|
59
|
+
"packageManager": "pnpm@10.24.0",
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=20.0.0"
|
|
62
|
+
}
|
|
88
63
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"declarationMap": true,
|
|
7
|
+
"sourceMap": true,
|
|
8
|
+
"outDir": "dist",
|
|
9
|
+
"strict": false,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"moduleResolution": "bundler",
|
|
14
|
+
|
|
15
|
+
"typeRoots": ["node_modules/@types"]
|
|
16
|
+
},
|
|
17
|
+
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts", "node_modules/@types/lowdb"]
|
|
18
|
+
}
|