zaileys 0.28.3-dev → 0.28.5-dev
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 +2 -23
- package/dist/index.d.mts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.js +32 -32
- package/dist/index.mjs +32 -32
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center"><img src="https://socialify.git.ci/zaadevofc/zaileys/image?description=1&descriptionEditable=Zaileys%20is%20a%20simplified%20version%20of%20the%20Baileys%20package%20%0Awhich%20is%20easier%20and%20faster.&font=KoHo&forks=1&issues=1&language=1&name=1&owner=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Auto" alt="project-image"></p>
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
if you want to build package :
|
|
7
|
-
```bash
|
|
8
|
-
yarn build
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
if you want to generate docs :
|
|
12
|
-
```bash
|
|
13
|
-
yarn build
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
if you want to publish :
|
|
17
|
-
```bash
|
|
18
|
-
yarn build
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
This is auto generating **Node Package Manager** by [setup-npm](https://www.npmjs.com/package/setup-npm) developing by [zaadevofc](https://instagram.com/zaadevofc)
|
|
24
|
-
|
|
3
|
+
<h1 align="center" id="title">Zaileys - Typescript/Javascript WhatsApp NodeJS API</h1>
|
package/dist/index.d.mts
CHANGED
|
@@ -9,12 +9,13 @@ declare class Client extends EventEmitter {
|
|
|
9
9
|
private spinner;
|
|
10
10
|
isRunning: boolean;
|
|
11
11
|
constructor();
|
|
12
|
-
private showBanner;
|
|
13
12
|
private start;
|
|
14
|
-
private
|
|
15
|
-
private initClient;
|
|
16
|
-
private setupPairingCode;
|
|
13
|
+
private restart;
|
|
17
14
|
private handleConnection;
|
|
15
|
+
private showBanner;
|
|
16
|
+
private setupClient;
|
|
17
|
+
private setupPairingCode;
|
|
18
|
+
private setupProcessHandlers;
|
|
18
19
|
private startLoading;
|
|
19
20
|
private stopLoading;
|
|
20
21
|
private handleMessages;
|
|
@@ -23,9 +24,6 @@ declare class Client extends EventEmitter {
|
|
|
23
24
|
private handleGroupsUpdate;
|
|
24
25
|
sendMessage(jid: string, content: baileys.AnyMessageContent, options?: baileys.MiscMessageGenerationOptions): Promise<baileys.WAProto.WebMessageInfo | undefined>;
|
|
25
26
|
on(eventName: EventName, callback: (...args: any[]) => void): this;
|
|
26
|
-
simulateMessage(data: any): void;
|
|
27
|
-
simulateClose(code: number, reason: string): void;
|
|
28
|
-
simulateError(error: Error): void;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
export { Client };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,12 +9,13 @@ declare class Client extends EventEmitter {
|
|
|
9
9
|
private spinner;
|
|
10
10
|
isRunning: boolean;
|
|
11
11
|
constructor();
|
|
12
|
-
private showBanner;
|
|
13
12
|
private start;
|
|
14
|
-
private
|
|
15
|
-
private initClient;
|
|
16
|
-
private setupPairingCode;
|
|
13
|
+
private restart;
|
|
17
14
|
private handleConnection;
|
|
15
|
+
private showBanner;
|
|
16
|
+
private setupClient;
|
|
17
|
+
private setupPairingCode;
|
|
18
|
+
private setupProcessHandlers;
|
|
18
19
|
private startLoading;
|
|
19
20
|
private stopLoading;
|
|
20
21
|
private handleMessages;
|
|
@@ -23,9 +24,6 @@ declare class Client extends EventEmitter {
|
|
|
23
24
|
private handleGroupsUpdate;
|
|
24
25
|
sendMessage(jid: string, content: baileys.AnyMessageContent, options?: baileys.MiscMessageGenerationOptions): Promise<baileys.WAProto.WebMessageInfo | undefined>;
|
|
25
26
|
on(eventName: EventName, callback: (...args: any[]) => void): this;
|
|
26
|
-
simulateMessage(data: any): void;
|
|
27
|
-
simulateClose(code: number, reason: string): void;
|
|
28
|
-
simulateError(error: Error): void;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
export { Client };
|