@wppconnect/wa-js 2.28.1 → 3.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/README.md +2 -2
  3. package/dist/chat/events/eventTypes.d.ts +8 -0
  4. package/dist/chat/events/index.d.ts +1 -0
  5. package/dist/{whatsapp/misc/Locale.d.ts → chat/events/registerEditedMessageEvent.d.ts} +0 -8
  6. package/dist/chat/functions/index.d.ts +1 -0
  7. package/dist/chat/functions/sendGroupInviteMessage.d.ts +56 -0
  8. package/dist/conn/index.d.ts +1 -0
  9. package/dist/conn/patch.d.ts +16 -0
  10. package/dist/labels/functions/addNewLabel.d.ts +4 -3
  11. package/dist/labels/functions/deleteLabel.d.ts +1 -1
  12. package/dist/labels/functions/editLabel.d.ts +37 -0
  13. package/dist/labels/functions/getLabelColorPalette.d.ts +2 -2
  14. package/dist/labels/functions/index.d.ts +1 -0
  15. package/dist/labels/types.d.ts +1 -0
  16. package/dist/profile/functions/getMyProfileName.d.ts +26 -0
  17. package/dist/profile/functions/index.d.ts +1 -0
  18. package/dist/webpack/index.d.ts +9 -0
  19. package/dist/whatsapp/collections/LabelCollection.d.ts +1 -0
  20. package/dist/whatsapp/functions/colorIndexToHex.d.ts +20 -0
  21. package/dist/whatsapp/functions/getNextLabelId.d.ts +18 -0
  22. package/dist/whatsapp/functions/getPushname.d.ts +19 -0
  23. package/dist/whatsapp/functions/index.d.ts +5 -0
  24. package/dist/whatsapp/functions/labelAddAction.d.ts +20 -0
  25. package/dist/whatsapp/functions/setArchive.d.ts +9 -0
  26. package/dist/whatsapp/misc/IsOfficialClient.d.ts +22 -0
  27. package/dist/whatsapp/misc/index.d.ts +1 -1
  28. package/dist/whatsapp/models/MsgModel.d.ts +1 -0
  29. package/dist/wppconnect-wa.js +1 -1
  30. package/dist/wppconnect-wa.js.LICENSE.txt +16 -0
  31. package/package.json +24 -24
@@ -56,6 +56,22 @@
56
56
  * limitations under the License.
57
57
  */
58
58
 
59
+ /*!
60
+ * Copyright 2024 WPPConnect Team
61
+ *
62
+ * Licensed under the Apache License, Version 2.0 (the "License");
63
+ * you may not use this file except in compliance with the License.
64
+ * You may obtain a copy of the License at
65
+ *
66
+ * http://www.apache.org/licenses/LICENSE-2.0
67
+ *
68
+ * Unless required by applicable law or agreed to in writing, software
69
+ * distributed under the License is distributed on an "AS IS" BASIS,
70
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
71
+ * See the License for the specific language governing permissions and
72
+ * limitations under the License.
73
+ */
74
+
59
75
  /*!
60
76
  * EventEmitter2
61
77
  * https://github.com/hij1nx/EventEmitter2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-js",
3
- "version": "2.28.1",
3
+ "version": "3.0.1",
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": {
@@ -39,50 +39,50 @@
39
39
  "watch": "webpack watch --devtool inline-source-map --mode development"
40
40
  },
41
41
  "devDependencies": {
42
- "@commitlint/cli": "^18.4.3",
43
- "@commitlint/config-conventional": "^18.4.3",
44
- "@commitlint/prompt-cli": "^18.4.3",
45
- "@playwright/test": "^1.40.1",
42
+ "@commitlint/cli": "^19.2.1",
43
+ "@commitlint/config-conventional": "^19.1.0",
44
+ "@commitlint/prompt-cli": "^19.2.0",
45
+ "@playwright/test": "^1.42.1",
46
46
  "@types/debug": "^4.1.12",
47
- "@types/node": "^16.18.68",
48
- "@types/node-fetch": "^2.6.9",
47
+ "@types/node": "^16.18.91",
48
+ "@types/node-fetch": "^2.6.11",
49
49
  "@types/parse-data-url": "^3.0.2",
50
50
  "@types/prettier": "^2.7.3",
51
51
  "@types/shelljs": "^0.8.15",
52
- "@typescript-eslint/eslint-plugin": "^6.15.0",
53
- "@typescript-eslint/parser": "^6.15.0",
54
- "@wppconnect/wa-version": "^1.2.173",
52
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
53
+ "@typescript-eslint/parser": "^7.3.1",
54
+ "@wppconnect/wa-version": "^1.4.6",
55
55
  "buffer": "^6.0.3",
56
56
  "compare-versions": "^6.1.0",
57
57
  "compressorjs": "^1.2.1",
58
58
  "conventional-changelog-angular": "^7.0.0",
59
59
  "conventional-changelog-cli": "^4.1.0",
60
60
  "debug": "^4.3.4",
61
- "eslint": "^8.56.0",
61
+ "eslint": "^8.57.0",
62
62
  "eslint-config-prettier": "^9.1.0",
63
63
  "eslint-plugin-header": "^3.1.1",
64
64
  "eslint-plugin-import": "^2.29.1",
65
- "eslint-plugin-prettier": "^5.0.1",
66
- "eslint-plugin-simple-import-sort": "^10.0.0",
65
+ "eslint-plugin-prettier": "^5.1.3",
66
+ "eslint-plugin-simple-import-sort": "^12.0.0",
67
67
  "eventemitter2": "^6.4.9",
68
68
  "file-type": "~16.5.4",
69
- "husky": "^8.0.3",
70
- "lint-staged": "^15.2.0",
69
+ "husky": "^9.0.11",
70
+ "lint-staged": "^15.2.2",
71
71
  "node-fetch": "^2.7.0",
72
72
  "parse-data-url": "^6.0.0",
73
- "playwright-chromium": "^1.40.1",
74
- "prettier": "^3.1.1",
75
- "release-it": "^17.0.1",
73
+ "playwright-chromium": "^1.42.1",
74
+ "prettier": "^3.2.5",
75
+ "release-it": "^17.1.1",
76
76
  "shx": "^0.3.4",
77
77
  "ts-loader": "^9.5.1",
78
- "ts-morph": "^21.0.1",
78
+ "ts-morph": "^22.0.0",
79
79
  "ts-node": "^10.9.2",
80
- "typedoc": "^0.25.4",
81
- "typedoc-plugin-mdn-links": "^3.1.8",
82
- "typedoc-plugin-missing-exports": "^2.1.0",
83
- "typescript": "^5.3.3",
80
+ "typedoc": "^0.25.12",
81
+ "typedoc-plugin-mdn-links": "^3.1.18",
82
+ "typedoc-plugin-missing-exports": "^2.2.0",
83
+ "typescript": "^5.4.3",
84
84
  "typescript-debounce-decorator": "^0.0.18",
85
- "webpack": "^5.89.0",
85
+ "webpack": "^5.91.0",
86
86
  "webpack-cli": "^5.1.4"
87
87
  },
88
88
  "engines": {