@wppconnect/wa-js 2.15.2 → 2.16.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/dist/chat/defaultSendMessageOptions.d.ts +1 -1
  3. package/dist/chat/functions/editMessage.d.ts +30 -0
  4. package/dist/chat/functions/index.d.ts +2 -0
  5. package/dist/chat/functions/prepareMessageButtons.d.ts +1 -1
  6. package/dist/chat/functions/requestPhoneNumber.d.ts +28 -0
  7. package/dist/chat/functions/sendTextMessage.d.ts +1 -1
  8. package/dist/chat/patch.d.ts +0 -5
  9. package/dist/chat/types.d.ts +1 -1
  10. package/dist/conn/events/eventTypes.d.ts +11 -0
  11. package/dist/conn/events/index.d.ts +1 -0
  12. package/dist/conn/events/registerNeedsUpdateEvent.d.ts +16 -0
  13. package/dist/conn/functions/index.d.ts +1 -0
  14. package/dist/conn/functions/needsUpdate.d.ts +24 -0
  15. package/dist/conn/types.d.ts +1 -1
  16. package/dist/eventEmitter/eventEmitter.d.ts +1 -1
  17. package/dist/eventEmitter/eventTypes.d.ts +1 -1
  18. package/dist/status/defaultSendStatusOptions.d.ts +1 -1
  19. package/dist/status/functions/sendImageStatus.d.ts +1 -1
  20. package/dist/status/functions/sendVideoStatus.d.ts +1 -1
  21. package/dist/util/types.d.ts +11 -11
  22. package/dist/webpack/index.d.ts +1 -1
  23. package/dist/whatsapp/functions/canEditMessage.d.ts +20 -0
  24. package/dist/whatsapp/functions/getHistorySyncProgress.d.ts +19 -0
  25. package/dist/whatsapp/functions/index.d.ts +2 -0
  26. package/dist/whatsapp/misc/EventEmitter.d.ts +2 -2
  27. package/dist/whatsapp/misc/Features.d.ts +1 -1
  28. package/dist/whatsapp/misc/Wid.d.ts +4 -0
  29. package/dist/whatsapp/models/HistorySyncProgressModel.d.ts +40 -0
  30. package/dist/whatsapp/models/Model.d.ts +2 -2
  31. package/dist/whatsapp/models/index.d.ts +1 -0
  32. package/dist/wppconnect-wa.js +1 -1
  33. package/package.json +10 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-js",
3
- "version": "2.15.2",
3
+ "version": "2.16.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": {
@@ -42,20 +42,20 @@
42
42
  "@commitlint/cli": "^17.2.0",
43
43
  "@commitlint/config-conventional": "^17.2.0",
44
44
  "@commitlint/prompt-cli": "^17.2.0",
45
- "@playwright/test": "^1.27.1",
45
+ "@playwright/test": "^1.28.0",
46
46
  "@types/debug": "^4.1.7",
47
47
  "@types/node": "^16.18.3",
48
48
  "@types/parse-data-url": "^3.0.0",
49
49
  "@types/prettier": "^2.7.1",
50
50
  "@types/shelljs": "^0.8.11",
51
- "@typescript-eslint/eslint-plugin": "^5.42.1",
52
- "@typescript-eslint/parser": "^5.42.1",
53
- "@wppconnect/wa-version": "^1.1.191",
51
+ "@typescript-eslint/eslint-plugin": "^5.43.0",
52
+ "@typescript-eslint/parser": "^5.43.0",
53
+ "@wppconnect/wa-version": "^1.1.199",
54
54
  "buffer": "^6.0.3",
55
55
  "compressorjs": "^1.1.1",
56
56
  "conventional-changelog-cli": "^2.2.2",
57
57
  "debug": "^4.3.4",
58
- "eslint": "^8.27.0",
58
+ "eslint": "^8.28.0",
59
59
  "eslint-config-prettier": "^8.5.0",
60
60
  "eslint-plugin-header": "^3.1.1",
61
61
  "eslint-plugin-import": "^2.26.0",
@@ -65,7 +65,7 @@
65
65
  "file-type": "~16.5.4",
66
66
  "husky": "^8.0.2",
67
67
  "parse-data-url": "^4.0.1",
68
- "playwright-chromium": "^1.27.1",
68
+ "playwright-chromium": "^1.28.0",
69
69
  "prettier": "^2.7.1",
70
70
  "pretty-quick": "^3.1.3",
71
71
  "release-it": "^15.5.0",
@@ -73,15 +73,15 @@
73
73
  "ts-loader": "^9.4.1",
74
74
  "ts-morph": "^16.0.0",
75
75
  "ts-node": "^10.9.1",
76
- "typedoc": "^0.23.20",
76
+ "typedoc": "^0.23.21",
77
77
  "typedoc-plugin-mdn-links": "^2.0.0",
78
78
  "typedoc-plugin-missing-exports": "^1.0.0",
79
- "typescript": "^4.8.4",
79
+ "typescript": "^4.9.3",
80
80
  "typescript-debounce-decorator": "^0.0.18",
81
81
  "webpack": "^5.75.0",
82
82
  "webpack-cli": "^4.10.0"
83
83
  },
84
84
  "engines": {
85
- "whatsapp-web": ">=2.2212.4-beta"
85
+ "whatsapp-web": ">=2.2230.9-beta"
86
86
  }
87
87
  }