@wppconnect/server 2.3.0 → 2.4.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 2.4.0 (2024-01-26)
2
+
3
+ ### Bug Fixes
4
+
5
+ - Replaced ts-node with tsx ([66ae213](https://github.com/wppconnect-team/wppconnect-server/commit/66ae213adab5cc6aeeab77e6ee422e2ad9ee0c22))
6
+
1
7
  # 2.3.0 (2023-11-15)
2
8
 
3
9
  ## 2.2.5 (2023-08-27)
package/README.md CHANGED
@@ -93,6 +93,16 @@ sudo dpkg -i google-chrome-stable_current_amd64.deb
93
93
 
94
94
  ```
95
95
 
96
+ ### Troubleshooting
97
+ If you encounter installation issues, please try the procedures below
98
+ . Error Sharp Runtime
99
+ ```sh
100
+ yarn add sharp
101
+ npm install --include=optional sharp
102
+ //or
103
+ yarn add sharp --ignore-engines
104
+ ```
105
+
96
106
  ## Run Server
97
107
 
98
108
  ```sh
@@ -250,7 +260,7 @@ To generate an access token, you must use your `SECRET_KEY`.
250
260
  Using the route:
251
261
 
252
262
  ```shell
253
- curl -X POST --location "http://localhost:21465/api/mySession/eUsouSeCreTo/generate-token"
263
+ curl -X POST --location "http://localhost:21465/api/mySession/THISISMYSECURETOKEN/generate-token"
254
264
  ```
255
265
 
256
266
  ### Response:
@@ -299,7 +309,7 @@ curl -X POST --location "http://localhost:21465/api/mySession/send-message" \
299
309
  -H "Accept: application/json" \
300
310
  -H "Authorization: Bearer \$2b\$10\$8aQFQxnWREtBEMZK_iHMe.u7NeoNkjL7s6NYai_83Pb31Ycss6Igm" \
301
311
  -d "{
302
- \"phone\": \"5511982743910\",
312
+ \"phone\": \"5511900000000\",
303
313
  \"message\": \"*Abner* Rodrigues\"
304
314
  }"
305
315
  ```