@wppconnect/wa-js 3.23.4 → 4.0.0

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.
@@ -121,4 +121,4 @@
121
121
 
122
122
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
123
123
 
124
- /*! wppconnect-team/wa-js v3.23.4 */
124
+ /*! wppconnect-team/wa-js v4.0.0 */
package/eslint.config.mjs CHANGED
@@ -106,4 +106,18 @@ export default [
106
106
  '@typescript-eslint/no-unsafe-declaration-merging': 'off',
107
107
  },
108
108
  },
109
+
110
+ // CommonJS config files
111
+ {
112
+ files: ['**/*.cjs'],
113
+ languageOptions: {
114
+ globals: {
115
+ module: 'readonly',
116
+ require: 'readonly',
117
+ exports: 'readonly',
118
+ __dirname: 'readonly',
119
+ __filename: 'readonly',
120
+ },
121
+ },
122
+ },
109
123
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-js",
3
- "version": "3.23.4",
3
+ "version": "4.0.0",
4
4
  "description": "WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -22,9 +22,9 @@
22
22
  "scripts": {
23
23
  "build:dev": "webpack --devtool inline-source-map --mode development",
24
24
  "build:prd": "webpack",
25
- "changelog:last": "conventional-changelog -p angular -r 2",
26
- "changelog:preview": "conventional-changelog -p angular -u",
27
- "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
25
+ "changelog:last": "conventional-changelog -n ./changelog.config.cjs -r 2",
26
+ "changelog:preview": "conventional-changelog -n ./changelog.config.cjs -u",
27
+ "changelog:update": "conventional-changelog -n ./changelog.config.cjs -i CHANGELOG.md -s -r 0",
28
28
  "clean": "shx rm -rf dist",
29
29
  "commit": "cz",
30
30
  "docs:build": "npm run docs:clean && typedoc --gitRevision main",