angularsockets 1.0.2 → 1.0.3
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/README.md +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# <div align='center'>WhatsApp Web API</div>
|
|
1
|
+
# <div align='center'>Angular Sockets |WhatsApp Web API</div>
|
|
2
2
|
|
|
3
3
|
<div align='center'>
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
|
-
**
|
|
9
|
+
**AngularSockets** is a WebSockets-based TypeScript library for interacting with the WhatsApp Web API.
|
|
10
10
|
This is **not the official Baileys library**, but a **modified and extended version** developed independently to add functionalities that many developers have requested. These enhancements aim to improve flexibility, offer better developer experience, and provide tools that are missing from the original version.
|
|
11
11
|
|
|
12
12
|
# Disclaimer
|
|
@@ -22,7 +22,7 @@ This project is provided **as-is** and should be used with **extreme caution**.
|
|
|
22
22
|
## Example
|
|
23
23
|
|
|
24
24
|
Here is an example you can use: [example.ts](Example/example.ts) or here is a tutorial for running the Baileys WhatsApp API code
|
|
25
|
-
1. ``` cd path/to/
|
|
25
|
+
1. ``` cd path/to/Angularsockets ```
|
|
26
26
|
2. ``` npm install```
|
|
27
27
|
3. ``` node example.js```
|
|
28
28
|
|
|
@@ -30,17 +30,17 @@ Here is an example you can use: [example.ts](Example/example.ts) or here is a tu
|
|
|
30
30
|
|
|
31
31
|
Use the stable version:
|
|
32
32
|
```bash
|
|
33
|
-
npm install
|
|
33
|
+
npm install angularsockets
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
Use the edge version (no guarantee of stability, but latest fixes + features)
|
|
37
37
|
```bash
|
|
38
|
-
yarn add
|
|
38
|
+
yarn add angularsockets@latest
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
Then import your code using:
|
|
42
42
|
```javascript
|
|
43
|
-
const { default: makeWASocket } = require("
|
|
43
|
+
const { default: makeWASocket } = require("angularsockets")
|
|
44
44
|
```
|
|
45
45
|
# Links
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ const { default: makeWASocket } = require("baileys-pro")
|
|
|
48
48
|
- [Discord](https://discord.gg/WeJM5FP9GG)
|
|
49
49
|
- [Docs](https://guide.whiskeysockets.io/)
|
|
50
50
|
|
|
51
|
-
####
|
|
51
|
+
#### AngularSockets
|
|
52
52
|
- [WhatsApp](https://whatsapp.com/channel/0029Vb89ifxH5JM0fh2VvM2U)
|
|
53
53
|
|
|
54
54
|
# Index
|
|
@@ -1897,4 +1897,4 @@ sock.ws.on('CB:edge_routing,id:abcd,routing_info', (node: BinaryNode) => { })
|
|
|
1897
1897
|
```
|
|
1898
1898
|
|
|
1899
1899
|
> [!NOTE]
|
|
1900
|
-
> Also, this repo is now licenced under GPL 3 since it uses [libsignal-node](https://git.questbook.io/backend/service-coderunner/-/merge_requests/1)
|
|
1900
|
+
> Also, this repo is now licenced under GPL 3 since it uses [libsignal-node](https://git.questbook.io/backend/service-coderunner/-/merge_requests/1)
|