@itsliaaa/starcore 0.0.0-alpha.2 → 0.0.0-alpha.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/package.json CHANGED
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "name": "@itsliaaa/starcore",
3
- "version": "0.0.0-alpha.2",
3
+ "version": "0.0.0-alpha.3",
4
4
  "description": "A lightweight yet powerful Baileys wrapper designed to simplify development while extending support for additional message types and WhatsApp features.",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
7
- "scripts": {
8
- "preinstall": "node ./engine-requirements.js"
9
- },
10
7
  "exports": {
11
8
  ".": {
12
9
  "import": "./lib/index.js",
@@ -14,8 +11,7 @@
14
11
  }
15
12
  },
16
13
  "files": [
17
- "lib/**/*",
18
- "engine-requirements.js"
14
+ "lib/**/*"
19
15
  ],
20
16
  "engines": {
21
17
  "node": ">=20.0.0"
@@ -43,7 +39,7 @@
43
39
  "cheerio": "^1.2.0",
44
40
  "fflate": "^0.8.3",
45
41
  "file-type": "^22.0.1",
46
- "qrcode": "~1.5.4"
42
+ "qrcode": "^1.5.4"
47
43
  },
48
44
  "packageManager": "yarn@1.22.22"
49
45
  }
@@ -1,12 +0,0 @@
1
- const major = parseInt(
2
- process.versions.node.split('.')[0],
3
- 10
4
- );
5
- if (major < 20) {
6
- console.error(
7
- `\n❌ This package requires Node.js 20+ to run reliably.\n` +
8
- ` You are using Node.js ${process.versions.node}.\n` +
9
- ` Please upgrade to Node.js 20+ to proceed.\n`
10
- );
11
- process.exit(1);
12
- }