@wppconnect/wa-js 2.24.8 → 2.26.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 (34) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/dist/chat/functions/forwardMessage.d.ts +1 -2
  3. package/dist/chat/functions/index.d.ts +1 -0
  4. package/dist/chat/functions/sendFileMessage.d.ts +22 -1
  5. package/dist/chat/functions/sendOrderMessage.d.ts +57 -0
  6. package/dist/eventEmitter/eventTypes.d.ts +3 -1
  7. package/dist/eventEmitter/index.d.ts +41 -41
  8. package/dist/index.d.ts +2 -1
  9. package/dist/order/events/eventTypes.d.ts +34 -0
  10. package/dist/order/events/index.d.ts +16 -0
  11. package/dist/order/events/registerUpdateOrderEvent.d.ts +16 -0
  12. package/dist/order/functions/get.d.ts +27 -0
  13. package/dist/order/functions/index.d.ts +16 -0
  14. package/dist/order/index.d.ts +17 -0
  15. package/dist/util/generateOrderUniqueId.d.ts +16 -0
  16. package/dist/util/index.d.ts +1 -0
  17. package/dist/util/linkPreview.d.ts +1 -1
  18. package/dist/webpack/eventTypes.d.ts +1 -0
  19. package/dist/webpack/index.d.ts +6 -2
  20. package/dist/whatsapp/collections/OrderCollection.d.ts +1 -0
  21. package/dist/whatsapp/enums/OUTWARD_TYPES.d.ts +1 -0
  22. package/dist/whatsapp/functions/addAndSendMessageEdit.d.ts +20 -0
  23. package/dist/whatsapp/functions/currencyForCountryShortcode.d.ts +19 -0
  24. package/dist/whatsapp/functions/getCountryShortcodeByPhone.d.ts +19 -0
  25. package/dist/whatsapp/functions/getOrderInfo.d.ts +20 -0
  26. package/dist/whatsapp/functions/index.d.ts +6 -0
  27. package/dist/whatsapp/functions/processRawAudioVideo.d.ts +28 -0
  28. package/dist/whatsapp/functions/processRawMedia.d.ts +26 -0
  29. package/dist/whatsapp/functions/products.d.ts +1 -1
  30. package/dist/whatsapp/functions/updateDBForGroupAction.d.ts +2 -0
  31. package/dist/whatsapp/models/MsgModel.d.ts +2 -0
  32. package/dist/whatsapp/models/OrderItemModel.d.ts +3 -0
  33. package/dist/wppconnect-wa.js +1 -1
  34. package/package.json +20 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-js",
3
- "version": "2.24.8",
3
+ "version": "2.26.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": {
@@ -39,47 +39,47 @@
39
39
  "watch": "webpack watch --devtool inline-source-map --mode development"
40
40
  },
41
41
  "devDependencies": {
42
- "@commitlint/cli": "^17.6.7",
43
- "@commitlint/config-conventional": "^17.6.7",
44
- "@commitlint/prompt-cli": "^17.6.7",
45
- "@playwright/test": "^1.36.2",
42
+ "@commitlint/cli": "^17.7.1",
43
+ "@commitlint/config-conventional": "^17.7.0",
44
+ "@commitlint/prompt-cli": "^17.7.1",
45
+ "@playwright/test": "^1.37.1",
46
46
  "@types/debug": "^4.1.8",
47
- "@types/node": "^16.18.39",
47
+ "@types/node": "^16.18.46",
48
48
  "@types/node-fetch": "^2.6.4",
49
49
  "@types/parse-data-url": "^3.0.0",
50
50
  "@types/prettier": "^2.7.3",
51
51
  "@types/shelljs": "^0.8.12",
52
52
  "@typescript-eslint/eslint-plugin": "^5.62.0",
53
53
  "@typescript-eslint/parser": "^5.62.0",
54
- "@wppconnect/wa-version": "^1.2.71",
54
+ "@wppconnect/wa-version": "^1.2.86",
55
55
  "buffer": "^6.0.3",
56
56
  "compare-versions": "^6.1.0",
57
57
  "compressorjs": "^1.2.1",
58
58
  "conventional-changelog-cli": "^3.0.0",
59
59
  "debug": "^4.3.4",
60
- "eslint": "^8.46.0",
61
- "eslint-config-prettier": "^8.10.0",
60
+ "eslint": "^8.48.0",
61
+ "eslint-config-prettier": "^9.0.0",
62
62
  "eslint-plugin-header": "^3.1.1",
63
- "eslint-plugin-import": "^2.28.0",
63
+ "eslint-plugin-import": "^2.28.1",
64
64
  "eslint-plugin-prettier": "^5.0.0",
65
65
  "eslint-plugin-simple-import-sort": "^10.0.0",
66
66
  "eventemitter2": "^6.4.9",
67
67
  "file-type": "~16.5.4",
68
68
  "husky": "^8.0.3",
69
- "lint-staged": "^13.2.3",
70
- "node-fetch": "^2.6.12",
71
- "parse-data-url": "^5.0.0",
72
- "playwright-chromium": "^1.36.2",
73
- "prettier": "^3.0.1",
74
- "release-it": "^16.1.3",
69
+ "lint-staged": "^14.0.1",
70
+ "node-fetch": "^2.7.0",
71
+ "parse-data-url": "^6.0.0",
72
+ "playwright-chromium": "^1.37.1",
73
+ "prettier": "^3.0.3",
74
+ "release-it": "^16.1.5",
75
75
  "shx": "^0.3.4",
76
76
  "ts-loader": "^9.4.4",
77
77
  "ts-morph": "^19.0.0",
78
78
  "ts-node": "^10.9.1",
79
- "typedoc": "^0.24.8",
80
- "typedoc-plugin-mdn-links": "^3.0.3",
81
- "typedoc-plugin-missing-exports": "^2.0.1",
82
- "typescript": "^5.1.6",
79
+ "typedoc": "^0.25.0",
80
+ "typedoc-plugin-mdn-links": "^3.1.0",
81
+ "typedoc-plugin-missing-exports": "^2.1.0",
82
+ "typescript": "^5.2.2",
83
83
  "typescript-debounce-decorator": "^0.0.18",
84
84
  "webpack": "^5.88.2",
85
85
  "webpack-cli": "^5.1.4"