@aboutdisz/baileys 1.0.0 → 1.0.3

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/lib/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ console.log("");
2
+ console.log(chalk.cyan.bold(" ✦ DISZXYNC ✦"));
3
+ console.log(chalk.gray(" Modified Baileys by @alwaysdis"));
4
+ console.log(chalk.gray(" ─────────────────────────"));
5
+ console.log(chalk.green(" ✅ Baileys connected successfully"));
6
+ console.log("");
1
7
  "use strict";
2
8
 
3
9
  const chalk = require("chalk");
package/package.json CHANGED
@@ -1,12 +1,30 @@
1
1
  {
2
2
  "name": "@aboutdisz/baileys",
3
- "version": "1.0.0",
4
- "description": "Fork Baileys by aboutdisz",
5
- "main": "index.js",
3
+ "version": "1.0.3",
4
+ "description": "WhatsApp API in JavaScript - Fork by aboutdisz",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "files": [
8
+ "lib/*",
9
+ "WAProto/*.js",
10
+ "engine-requirements.js"
11
+ ],
6
12
  "scripts": {
7
- "start": "node index.js"
13
+ "build": "tsc",
14
+ "preinstall": "node ./engine-requirements.js",
15
+ "prepare": "",
16
+ "postinstall": "npm run build"
8
17
  },
9
- "keywords": ["baileys", "whatsapp"],
10
- "author": "aboutdisz",
11
- "license": "MIT"
18
+ "dependencies": {
19
+ "@hapi/boom": "^10.0.1",
20
+ "pino": "^8.17.2",
21
+ "qrcode-terminal": "^0.12.0",
22
+ "sharp": "^0.32.6"
23
+ },
24
+ "devDependencies": {
25
+ "typescript": "^5.0.0"
26
+ },
27
+ "engines": {
28
+ "node": ">=18.0.0"
29
+ }
12
30
  }
@@ -1,4 +0,0 @@
1
- yarn pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto;
2
- yarn pbts -o ./WAProto/index.d.ts ./WAProto/index.js;
3
-
4
- #protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=env=node,useOptionals=true,forceLong=long --ts_proto_out=. ./src/Binary/WAMessage.proto;