@awangxcode/qiro-baileys 7.0.0-rc25.3 → 7.0.0-rc25.5
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/MIGRASI-QIRO-BAILEYS-RC25.md +102 -0
- package/QIRO-BAILEYS-RC25.md +168 -0
- package/README.md +73 -31
- package/THIRD_PARTY_NOTICES.md +49 -0
- package/package.json +4 -3
- package/CHANGELOG.md +0 -84
- package/proto-extract/README.md +0 -10
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Migration Guide — Qiro Baileys RC25
|
|
2
|
+
|
|
3
|
+
This guide covers moving an application to the Qiro Baileys RC25 prerelease channel. The inspected package version for this guide is `7.0.0-rc25.4`.
|
|
4
|
+
|
|
5
|
+
> RC25 is a prerelease. Review the changelog and validate your application in a controlled environment before upgrading production workloads.
|
|
6
|
+
|
|
7
|
+
## 1. Install the intended release channel
|
|
8
|
+
|
|
9
|
+
The project uses npm dist-tags to separate release channels. Install RC25 explicitly:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @awangxcode/qiro-baileys@next
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Do not assume that `npm install @awangxcode/qiro-baileys` selects RC25. The project may maintain a different version under the `latest` tag.
|
|
16
|
+
|
|
17
|
+
## 2. Update package imports deliberately
|
|
18
|
+
|
|
19
|
+
Use the Qiro package name in application imports:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import makeWASocket, {
|
|
23
|
+
MessageBuilder,
|
|
24
|
+
A2UI,
|
|
25
|
+
sendImagePoll,
|
|
26
|
+
sendScheduledMessage,
|
|
27
|
+
} from "@awangxcode/qiro-baileys";
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Only import symbols that your application actually uses. Check the installed `lib/index.d.ts` for the exact exported names and call signatures of the version you installed. Do not copy source-relative imports such as `../src` from repository examples into an installed application.
|
|
31
|
+
|
|
32
|
+
## 3. Preserve and protect authentication state
|
|
33
|
+
|
|
34
|
+
Before upgrading:
|
|
35
|
+
|
|
36
|
+
1. Stop the running client cleanly.
|
|
37
|
+
2. Make a private backup of the existing authentication directory or database.
|
|
38
|
+
3. Keep credentials out of source control, logs, screenshots, and public issue reports.
|
|
39
|
+
4. Upgrade the package without deleting the existing auth state.
|
|
40
|
+
5. Test reconnection with a controlled account before deploying the updated application.
|
|
41
|
+
|
|
42
|
+
Changing the package version does not itself require deleting or regenerating authentication credentials. Do not delete auth data as a generic troubleshooting step.
|
|
43
|
+
|
|
44
|
+
## 4. Review custom extensions separately
|
|
45
|
+
|
|
46
|
+
RC25 exposes additional functionality in three broad areas:
|
|
47
|
+
|
|
48
|
+
### MessageBuilder
|
|
49
|
+
|
|
50
|
+
The current source exports `Button`, `ButtonV2`, `Carousel`, `AIRich`, `Toolkit`, `MessageBuilder`, and `MB`, along with native-flow validation and rich-message reading helpers.
|
|
51
|
+
|
|
52
|
+
Review the declaration signatures for your exact builder usage. Do not assume a payload from one builder version is interchangeable with another.
|
|
53
|
+
|
|
54
|
+
### Advanced extensions
|
|
55
|
+
|
|
56
|
+
The advanced module includes album and classic interactive-message helpers, rich-link helpers, message readers, in-memory storage, authentication adapters, and media utilities.
|
|
57
|
+
|
|
58
|
+
If you use database-backed auth adapters, confirm that your application passes a compatible client, pool, or adapter. Database drivers and services may need to be installed and configured separately.
|
|
59
|
+
|
|
60
|
+
### Experimental extensions
|
|
61
|
+
|
|
62
|
+
RC25 includes WebUI/A2UI, Rich Menu, image poll, scheduled-message, modern status/question, newsletter, scheduled-call, and poll-add-option helpers. These are experimental and may be affected by protocol or client-side support changes.
|
|
63
|
+
|
|
64
|
+
Enable experimental functionality only where needed. Test it independently from your normal message flow and maintain a fallback path for unsupported clients.
|
|
65
|
+
|
|
66
|
+
## 5. VoIP adapter contract
|
|
67
|
+
|
|
68
|
+
The RC25 changelog describes an explicit VoIP adapter contract and states that the engine is not bundled. Applications that use this interface must supply and maintain a compatible adapter/engine. Do not treat the presence of `makeVoipClient` as proof that a working VoIP engine is installed.
|
|
69
|
+
|
|
70
|
+
## 6. Validate after the upgrade
|
|
71
|
+
|
|
72
|
+
Recommended application-level checks:
|
|
73
|
+
|
|
74
|
+
- Confirm that the application resolves `@awangxcode/qiro-baileys` to the expected prerelease version.
|
|
75
|
+
- Confirm that the existing auth state can be loaded and credentials can be saved.
|
|
76
|
+
- Confirm basic connection and ordinary send/receive flows.
|
|
77
|
+
- Exercise each Qiro extension used by the application independently.
|
|
78
|
+
- Test media helpers in the target operating environment.
|
|
79
|
+
- Test experimental features only with a separate or non-critical account.
|
|
80
|
+
- Monitor logs for protocol, authentication, or dependency errors.
|
|
81
|
+
|
|
82
|
+
Do not infer that every RC25 feature has been fully validated merely because it is exported. The RC25 changelog itself records that the source-level integration was not fully type-checked or runtime-tested at the time of that changelog entry.
|
|
83
|
+
|
|
84
|
+
## 7. Rollback
|
|
85
|
+
|
|
86
|
+
If the prerelease causes an application regression:
|
|
87
|
+
|
|
88
|
+
1. Stop the application.
|
|
89
|
+
2. Restore the previously recorded package version in your project manifest/lockfile.
|
|
90
|
+
3. Reinstall dependencies from that known-good lockfile.
|
|
91
|
+
4. Restore the auth-state backup only if the application has actually damaged or migrated it; do not overwrite a valid, current session without reason.
|
|
92
|
+
5. Re-test ordinary connection and messaging flows.
|
|
93
|
+
|
|
94
|
+
Record the exact previous package version before upgrading so rollback is deterministic.
|
|
95
|
+
|
|
96
|
+
## 8. Release notes and support references
|
|
97
|
+
|
|
98
|
+
- Project documentation: <https://awangxoffc.github.io/qiro-baileys-docs/>
|
|
99
|
+
- npm package: <https://www.npmjs.com/package/@awangxcode/qiro-baileys>
|
|
100
|
+
- Upstream project: <https://github.com/WhiskeySockets/Baileys>
|
|
101
|
+
|
|
102
|
+
For exact changes, consult the corresponding release entry in `CHANGELOG.md` in the source repository.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Qiro Baileys RC25 — Developer Guide
|
|
2
|
+
|
|
3
|
+
**Package:** `@awangxcode/qiro-baileys`
|
|
4
|
+
**Inspected package version:** `7.0.0-rc25.4`
|
|
5
|
+
**Documentation:** <https://awangxoffc.github.io/qiro-baileys-docs/>
|
|
6
|
+
**Status:** Release candidate; experimental APIs are not guaranteed to work across all WhatsApp clients or server-side capabilities.
|
|
7
|
+
|
|
8
|
+
Qiro Baileys is an unofficial TypeScript toolkit based on the WhiskeySockets Baileys project, with additional Qiro extensions. It is not affiliated with WhatsApp or Meta.
|
|
9
|
+
|
|
10
|
+
## 1. Installation
|
|
11
|
+
|
|
12
|
+
The project currently distributes its RC25 prereleases through the npm `next` dist-tag. Install that channel explicitly:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @awangxcode/qiro-baileys@next
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
The `latest` dist-tag is maintained separately. Do not omit `@next` when you intend to install the RC25 prerelease channel.
|
|
19
|
+
|
|
20
|
+
Use Node.js 20 or newer, matching the compatibility target documented by this project. Keep your authentication data private and never commit session credentials to a public repository.
|
|
21
|
+
|
|
22
|
+
## 2. Basic connection pattern
|
|
23
|
+
|
|
24
|
+
The package exports `makeWASocket` as both the default export and a named export. Authentication helpers are re-exported from the package entry point.
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import makeWASocket, {
|
|
28
|
+
useMultiFileAuthState,
|
|
29
|
+
} from "@awangxcode/qiro-baileys";
|
|
30
|
+
|
|
31
|
+
async function main() {
|
|
32
|
+
const { state, saveCreds } = await useMultiFileAuthState("./auth");
|
|
33
|
+
const socket = makeWASocket({ auth: state });
|
|
34
|
+
|
|
35
|
+
socket.ev.on("creds.update", saveCreds);
|
|
36
|
+
return socket;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
void main();
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
This is a minimal connection pattern, not a complete production deployment. Review the upstream Baileys guidance and the examples shipped with the source before deploying a long-running service. Add appropriate logging, reconnect handling, shutdown handling, and secure storage for credentials in your own application.
|
|
43
|
+
|
|
44
|
+
## 3. Package entry points and exports
|
|
45
|
+
|
|
46
|
+
The package metadata identifies `lib/index.js` as the JavaScript entry point and `lib/index.d.ts` as the TypeScript declaration entry point.
|
|
47
|
+
|
|
48
|
+
The root entry point exports the default and named `makeWASocket` factory, WAProto exports, shared utilities, types, defaults, and these Qiro-facing modules:
|
|
49
|
+
|
|
50
|
+
- `MessageBuilder`
|
|
51
|
+
- Advanced extensions
|
|
52
|
+
- Experimental extensions
|
|
53
|
+
|
|
54
|
+
The root entry point also invokes the Qiro terminal welcome display when it is imported.
|
|
55
|
+
|
|
56
|
+
## 4. MessageBuilder toolkit
|
|
57
|
+
|
|
58
|
+
The MessageBuilder module exports the following principal classes and helpers:
|
|
59
|
+
|
|
60
|
+
| Export | Purpose |
|
|
61
|
+
|:--|:--|
|
|
62
|
+
| `Button` | Button-oriented message builder |
|
|
63
|
+
| `ButtonV2` | Newer button builder interface |
|
|
64
|
+
| `Carousel` | Carousel message builder |
|
|
65
|
+
| `AIRich` | Rich/AI-oriented message builder |
|
|
66
|
+
| `Toolkit` | Deterministic helper utilities |
|
|
67
|
+
| `MessageBuilder` | Object grouping the builders and helper functions |
|
|
68
|
+
| `MB` | Alias for `MessageBuilder` |
|
|
69
|
+
| `checkNativeFlowButtons` | Native-flow button validation |
|
|
70
|
+
| `isWebSupportedNativeFlowButton` | Checks web-supported native-flow button names |
|
|
71
|
+
| `readRichMessage` | Reads rich-message content |
|
|
72
|
+
| `readSocialPreview` | Reads social-preview content |
|
|
73
|
+
|
|
74
|
+
The precise constructor options and supported payload shapes are defined by the installed TypeScript declarations. Consult those declarations rather than assuming that all interactive formats are accepted by every WhatsApp client.
|
|
75
|
+
|
|
76
|
+
## 5. Advanced extensions
|
|
77
|
+
|
|
78
|
+
The advanced module includes the following exported capabilities:
|
|
79
|
+
|
|
80
|
+
### Message and content helpers
|
|
81
|
+
|
|
82
|
+
- `unwrapMessage`
|
|
83
|
+
- `readRichMessage`
|
|
84
|
+
- `readSocialPreview`
|
|
85
|
+
- `normalizeUserJid`
|
|
86
|
+
- `buildButtonsMessage`
|
|
87
|
+
- `buildListMessage`
|
|
88
|
+
- `sendClassicMessage`
|
|
89
|
+
- `sendAlbum`
|
|
90
|
+
- `richLink`
|
|
91
|
+
- `inspectMessageContent`
|
|
92
|
+
|
|
93
|
+
### Socket and in-memory helpers
|
|
94
|
+
|
|
95
|
+
- `attachAdvancedSocketMethods`
|
|
96
|
+
- `makeInMemoryStore`
|
|
97
|
+
|
|
98
|
+
### Authentication adapters
|
|
99
|
+
|
|
100
|
+
- `useSingleFileAuthState`
|
|
101
|
+
- `useSqliteAuthState`
|
|
102
|
+
- `usePostgresAuthState`
|
|
103
|
+
- `useMySQLAuthState`
|
|
104
|
+
- `useMongoAuthState`
|
|
105
|
+
- `useRedisAuthState`
|
|
106
|
+
- `useCacheManagerAuthState`
|
|
107
|
+
- `useNekoDBAuth`
|
|
108
|
+
- `useAdapterAuthState`
|
|
109
|
+
- `makeCacheManagerAuthState`
|
|
110
|
+
|
|
111
|
+
Database-specific helpers expect compatible database clients, pools, or adapter objects supplied by the application. Install and configure the corresponding database driver separately when required; these adapters do not mean that every database server or driver is bundled with Qiro.
|
|
112
|
+
|
|
113
|
+
### Media helpers
|
|
114
|
+
|
|
115
|
+
- `probeMedia`
|
|
116
|
+
- `convertToWhatsAppVideo`
|
|
117
|
+
- `convertToOpusAudio`
|
|
118
|
+
- `getVideoThumbnail`
|
|
119
|
+
- `resizeImage`
|
|
120
|
+
- `getMp4Duration`
|
|
121
|
+
|
|
122
|
+
Review the TypeScript declarations and your environment requirements before using media conversion helpers. Availability can depend on external media tooling and platform support.
|
|
123
|
+
|
|
124
|
+
## 6. Experimental extensions
|
|
125
|
+
|
|
126
|
+
The experimental module contains APIs for newer or less-established message structures and integrations. The RC25 changelog lists additions including:
|
|
127
|
+
|
|
128
|
+
- WebUI and A2UI message builders and socket helpers
|
|
129
|
+
- Rich Menu builders and helpers
|
|
130
|
+
- Image-poll message helpers
|
|
131
|
+
- Scheduled-message primitives and helpers
|
|
132
|
+
- Question, status, Add Yours, comment, and status-link-preview helpers
|
|
133
|
+
- Newsletter invitation helpers
|
|
134
|
+
- Scheduled-call message helpers
|
|
135
|
+
- Poll-add-option helpers
|
|
136
|
+
- An explicit VoIP client adapter contract
|
|
137
|
+
|
|
138
|
+
Some named exports visible in the source include `A2UI`, `buildWebuiMessage`, `sendInlineWebUI`, `sendA2UIWidget`, `buildRichMenuMessage`, `sendRichMenu`, `sendImagePoll`, `sendScheduledMessage`, `sendPollAddOption`, `sendNewsletterAdminInvite`, `sendNewsletterFollowerInvite`, and `makeVoipClient`.
|
|
139
|
+
|
|
140
|
+
**Experimental means experimental.** Server support, WhatsApp client versions, account eligibility, payload restrictions, and protocol changes may affect behavior. Test with a separate account and non-critical data. Do not promise delivery or universal compatibility for these message types.
|
|
141
|
+
|
|
142
|
+
The VoIP feature is exposed through an adapter contract; the VoIP engine is not bundled by this package. Applications must provide a compatible adapter/engine where required.
|
|
143
|
+
|
|
144
|
+
## 7. Source examples
|
|
145
|
+
|
|
146
|
+
The source repository contains:
|
|
147
|
+
|
|
148
|
+
- `Example/example.ts` — standard socket example
|
|
149
|
+
- `Example/experimental-features.ts` — examples of selected experimental APIs
|
|
150
|
+
|
|
151
|
+
Treat these files and the installed `.d.ts` declarations as the reference for exact call signatures. Example files in the source repository are not necessarily included in the published npm tarball.
|
|
152
|
+
|
|
153
|
+
## 8. Release and compatibility notes
|
|
154
|
+
|
|
155
|
+
- `7.0.0-rc25.4` is a prerelease, not a stable release.
|
|
156
|
+
- Install the RC25 channel with `@next` explicitly.
|
|
157
|
+
- Interactive and experimental protocol features may change between prereleases.
|
|
158
|
+
- Review `CHANGELOG.md` for release-by-release notes in the source repository.
|
|
159
|
+
- Keep authentication state secure and maintain backups before changing persistence adapters.
|
|
160
|
+
- Do not generate or modify WAProto files unless you intentionally maintain the protocol schema and understand the consequences.
|
|
161
|
+
|
|
162
|
+
## 9. Credits and disclaimer
|
|
163
|
+
|
|
164
|
+
Qiro Baileys is derived from [WhiskeySockets/Baileys](https://github.com/WhiskeySockets/Baileys). The project retains the upstream MIT license notice in its `LICENSE` file. Preserve upstream copyright and license notices when redistributing applicable source portions.
|
|
165
|
+
|
|
166
|
+
This is an unofficial community project and is not affiliated with WhatsApp or Meta. WhatsApp is a trademark of its respective owner.
|
|
167
|
+
|
|
168
|
+
For project documentation, see <https://awangxoffc.github.io/qiro-baileys-docs/>.
|
package/README.md
CHANGED
|
@@ -1,75 +1,117 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
+
<p align="center"><img src="https://raw.githubusercontent.com/AwangXoffc/qiro-baileys-assets/main/qiro-banner.png" alt="Qiro Baileys — AwangXCode" width="100%" /></p>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<img src="https://raw.githubusercontent.com/AwangXoffc/qiro-baileys-assets/main/qiro-mark.png" alt="Qiro Baileys Emblem" width="104" />
|
|
7
|
+
</p>
|
|
8
|
+
|
|
3
9
|
# ⚡ QIRO BAILEYS
|
|
4
10
|
|
|
5
11
|
**AWANGXCODE · WHATSAPP WEB TOOLKIT**
|
|
6
12
|
|
|
7
|
-
A Baileys-based TypeScript
|
|
13
|
+
A Baileys-based TypeScript toolkit with additional Qiro extensions.
|
|
8
14
|
|
|
9
|
-
<
|
|
10
|
-
<a href="https://www.npmjs.com/package/@awangxcode/qiro-baileys
|
|
11
|
-
<a href="https://www.npmjs.com/package/@awangxcode/qiro-baileys"><img alt="
|
|
15
|
+
<p>
|
|
16
|
+
<a href="https://www.npmjs.com/package/@awangxcode/qiro-baileys"><img alt="Latest release" src="https://img.shields.io/npm/v/%40awangxcode%2Fqiro-baileys?label=LATEST&style=for-the-badge&color=64748b" /></a>
|
|
17
|
+
<a href="https://www.npmjs.com/package/@awangxcode/qiro-baileys?activeTab=versions"><img alt="Next release" src="https://img.shields.io/npm/v/%40awangxcode%2Fqiro-baileys/next?label=NEXT&style=for-the-badge&color=7c3aed" /></a>
|
|
18
|
+
<a href="https://www.npmjs.com/package/@awangxcode/qiro-baileys"><img alt="Weekly downloads" src="https://img.shields.io/npm/dw/%40awangxcode%2Fqiro-baileys?style=for-the-badge&color=0891b2" /></a>
|
|
19
|
+
<img alt="Node.js 20+" src="https://img.shields.io/badge/Node.js-20%2B-339933?style=for-the-badge&logo=node.js&logoColor=white" />
|
|
20
|
+
<img alt="License MIT" src="https://img.shields.io/badge/license-MIT-2563eb?style=for-the-badge" />
|
|
21
|
+
</p>
|
|
12
22
|
|
|
13
23
|
**BUILD · CONNECT · AUTOMATE**
|
|
14
24
|
|
|
25
|
+
[ NPM PACKAGE ](https://www.npmjs.com/package/@awangxcode/qiro-baileys) · [ UPSTREAM PROJECT ](https://github.com/WhiskeySockets/Baileys) · [ VISUAL ASSETS ](https://github.com/AwangXoffc/qiro-baileys-assets)
|
|
26
|
+
|
|
15
27
|
</div>
|
|
16
28
|
|
|
17
29
|
---
|
|
18
30
|
|
|
19
|
-
##
|
|
31
|
+
## ◈ What is Qiro Baileys?
|
|
32
|
+
|
|
33
|
+
Qiro Baileys is an unofficial distribution based on [WhiskeySockets/Baileys](https://github.com/WhiskeySockets/Baileys), maintained and extended by **AwangXCode**. It brings the Baileys WhatsApp Web toolkit together with additional Qiro experiments in one package.
|
|
20
34
|
|
|
21
|
-
|
|
35
|
+
> Qiro is an independent community fork. It is not affiliated with WhatsApp, Meta, or the upstream maintainers.
|
|
22
36
|
|
|
23
|
-
|
|
37
|
+
## ⚡ Toolkit at a glance
|
|
38
|
+
|
|
39
|
+
| BAILEYS CORE | QIRO EXTENSIONS |
|
|
24
40
|
|:--|:--|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
41
|
+
| WhatsApp Web connection and event workflows | Additional interactive-message helpers |
|
|
42
|
+
| Messaging, media, groups, and authentication APIs | MessageBuilder, Button, ButtonV2, Carousel, and AIRich* |
|
|
43
|
+
| TypeScript declarations and Node.js runtime | Experimental features documented separately |
|
|
44
|
+
|
|
45
|
+
<sub>*Experimental helpers may have client-side limitations and can change between prereleases. Check the exports in the version you install before using them in production.</sub>
|
|
28
46
|
|
|
29
|
-
## 🚀
|
|
47
|
+
## 🚀 Installation
|
|
30
48
|
|
|
31
|
-
|
|
49
|
+
Choose the release channel that matches your needs:
|
|
50
|
+
|
|
51
|
+
**Prerelease channel — receives the `next` tag**
|
|
32
52
|
|
|
33
53
|
```bash
|
|
34
54
|
npm install @awangxcode/qiro-baileys@next
|
|
35
55
|
```
|
|
36
56
|
|
|
37
|
-
**Default
|
|
57
|
+
**Default channel — receives the `latest` tag**
|
|
38
58
|
|
|
39
59
|
```bash
|
|
40
60
|
npm install @awangxcode/qiro-baileys
|
|
41
61
|
```
|
|
42
62
|
|
|
43
|
-
|
|
63
|
+
The `latest` and `next` tags are independent. The badges at the top show the version currently assigned to each channel.
|
|
64
|
+
|
|
65
|
+
## ⌘ Quick start
|
|
44
66
|
|
|
45
|
-
|
|
67
|
+
The package follows the Baileys API model. Start with the connection and authentication guide in the API index below, then explore the Qiro extension notes for experimental helpers.
|
|
46
68
|
|
|
47
69
|
```ts
|
|
48
|
-
import makeWASocket
|
|
49
|
-
Button,
|
|
50
|
-
ButtonV2,
|
|
51
|
-
Carousel,
|
|
52
|
-
AIRich
|
|
53
|
-
} from "@awangxcode/qiro-baileys"
|
|
70
|
+
import makeWASocket from '@awangxcode/qiro-baileys'
|
|
54
71
|
```
|
|
55
72
|
|
|
56
|
-
|
|
73
|
+
See **[Connecting Account](#connecting-account)** and **[Save Auth Info](#saving--restoring-sessions)** in the guide below for the complete setup flow.
|
|
74
|
+
|
|
75
|
+
## 🧩 Qiro feature showcase
|
|
76
|
+
|
|
77
|
+
| Extension | Purpose | Availability |
|
|
78
|
+
|:--|:--|:--|
|
|
79
|
+
| MessageBuilder | Helper for composing message payloads | Experimental |
|
|
80
|
+
| Button / ButtonV2 | Interactive button helpers | Experimental |
|
|
81
|
+
| Carousel | Carousel-style interactive content helper | Experimental |
|
|
82
|
+
| AIRich | Rich interactive-message helper | Experimental |
|
|
83
|
+
|
|
84
|
+
The exact API and compatibility depend on the installed release and the receiving WhatsApp client. Use the examples included with the project and test experimental formats with a separate account before production use.
|
|
57
85
|
|
|
58
|
-
##
|
|
86
|
+
## 🛠 Compatibility
|
|
59
87
|
|
|
60
|
-
|
|
88
|
+
- **Runtime:** Node.js 20 or newer.
|
|
89
|
+
- **Language:** TypeScript declarations are included with the package.
|
|
90
|
+
- **Platform behavior:** WhatsApp client support for experimental interactive messages may vary.
|
|
61
91
|
|
|
62
|
-
##
|
|
92
|
+
## 📚 Documentation & resources
|
|
63
93
|
|
|
64
|
-
| Resource |
|
|
94
|
+
| Resource | Description |
|
|
65
95
|
|:--|:--|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
96
|
+
| [API index below](#index) | Inherited Baileys connection, authentication, events, messaging, media, and utility guide |
|
|
97
|
+
| [Official Qiro documentation](https://awangxoffc.github.io/qiro-baileys-docs/) | Developer documentation and project guides |
|
|
98
|
+
| [RC25 Developer Guide](https://unpkg.com/@awangxcode/qiro-baileys@next/QIRO-BAILEYS-RC25.md) | Complete Qiro feature and usage guide |
|
|
99
|
+
| [Migration Guide](https://unpkg.com/@awangxcode/qiro-baileys@next/MIGRASI-QIRO-BAILEYS-RC25.md) | Upgrade, compatibility and rollback guidance |
|
|
100
|
+
| [Third-Party Notices](https://unpkg.com/@awangxcode/qiro-baileys@next/THIRD_PARTY_NOTICES.md) | Dependency licenses and upstream attribution |
|
|
101
|
+
| [npm package](https://www.npmjs.com/package/@awangxcode/qiro-baileys) | Published versions and installation details |
|
|
102
|
+
| [Upstream Baileys](https://github.com/WhiskeySockets/Baileys) | Original project and upstream context |
|
|
103
|
+
| [Qiro visual assets](https://github.com/AwangXoffc/qiro-baileys-assets) | Public banners and project artwork |
|
|
104
|
+
| `Example/` | TypeScript usage examples included in the source repository |
|
|
105
|
+
|
|
106
|
+
## ⚠️ Experimental features & responsible use
|
|
107
|
+
|
|
108
|
+
Qiro's additional interactive-message helpers are experimental. Their behavior may differ across WhatsApp clients and may change between prereleases. Do not assume universal device support. Use a separate test account while evaluating experimental formats, and comply with applicable laws and platform terms.
|
|
109
|
+
|
|
110
|
+
## 🤝 Credits & disclaimer
|
|
69
111
|
|
|
70
|
-
|
|
112
|
+
Qiro Baileys is derived from [WhiskeySockets/Baileys](https://github.com/WhiskeySockets/Baileys). Credit and respect the upstream project's license and contributors when using or redistributing this fork.
|
|
71
113
|
|
|
72
|
-
|
|
114
|
+
This project is unofficial and is not affiliated with WhatsApp or Meta. WhatsApp is a trademark of its respective owner.
|
|
73
115
|
|
|
74
116
|
---
|
|
75
117
|
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
This file records the declared license metadata for the **direct runtime dependencies** of `@awangxcode/qiro-baileys` as inspected for package version `7.0.0-rc25.4` on 2026-10-30.
|
|
4
|
+
|
|
5
|
+
Qiro Baileys declares its own project license as MIT. The repository `LICENSE` file contains the upstream MIT notice and copyright attribution to Rajeh Taher/WhiskeySockets. This notice does not replace that `LICENSE` file.
|
|
6
|
+
|
|
7
|
+
## Direct runtime dependency inventory
|
|
8
|
+
|
|
9
|
+
| Dependency | Inspected version | Declared license metadata |
|
|
10
|
+
|:--|:--:|:--|
|
|
11
|
+
| `@cacheable/node-cache` | `1.6.0` | MIT |
|
|
12
|
+
| `@hapi/boom` | `9.1.4` | BSD-3-Clause |
|
|
13
|
+
| `async-mutex` | `0.5.0` | MIT |
|
|
14
|
+
| `axios` | `1.20.0` | MIT |
|
|
15
|
+
| `fluent-ffmpeg` | `2.1.3` | MIT |
|
|
16
|
+
| `libsignal` | `6.0.0` | GPL-3.0 |
|
|
17
|
+
| `long` | `5.3.2` | Apache-2.0 |
|
|
18
|
+
| `lru-cache` | `11.2.1` | ISC |
|
|
19
|
+
| `music-metadata` | `11.12.3` | MIT |
|
|
20
|
+
| `p-queue` | `9.0.0` | MIT |
|
|
21
|
+
| `pino` | `9.7.0` | MIT |
|
|
22
|
+
| `protobufjs` | `7.5.6` | BSD-3-Clause |
|
|
23
|
+
| `whatsapp-rust-bridge` | `0.5.4` | MIT |
|
|
24
|
+
| `ws` | `8.18.3` | MIT |
|
|
25
|
+
|
|
26
|
+
The values above were read from the installed dependency package metadata through the project Yarn Plug'n'Play environment. They are metadata labels, not a substitute for reviewing the full license files and notices distributed by each dependency.
|
|
27
|
+
|
|
28
|
+
## Important license review item: libsignal
|
|
29
|
+
|
|
30
|
+
The installed metadata for `libsignal@6.0.0` declares `GPL-3.0`. This is materially different from the MIT labels shown for most of the other direct dependencies.
|
|
31
|
+
|
|
32
|
+
Before redistributing or publishing a release, the project maintainer should review the exact `libsignal` package license, its source and distribution model, how the package is used, and the obligations that apply to the combined distribution and downstream applications. Do not describe this dependency as MIT, do not remove its license notices, and do not assume that the package-level `license: MIT` field resolves third-party obligations. This notice is informational and is not legal advice.
|
|
33
|
+
|
|
34
|
+
## Scope and limitations
|
|
35
|
+
|
|
36
|
+
- This table covers the 14 direct runtime dependencies listed in the inspected `package.json` only.
|
|
37
|
+
- It does not claim to be a complete software bill of materials (SBOM).
|
|
38
|
+
- It does not enumerate transitive dependencies, development dependencies, optional platform packages, or tools installed outside npm/Yarn.
|
|
39
|
+
- Dependency versions and license metadata can change. Re-run the inventory whenever the lockfile or dependency set changes.
|
|
40
|
+
- Review each dependency's full license text, copyright notices, attribution requirements, and any bundled third-party notices before redistribution.
|
|
41
|
+
- Where a dependency is distributed separately by the package manager, its own license and notices continue to apply to that dependency.
|
|
42
|
+
|
|
43
|
+
## Upstream project attribution
|
|
44
|
+
|
|
45
|
+
Qiro Baileys is derived from [WhiskeySockets/Baileys](https://github.com/WhiskeySockets/Baileys). The root `LICENSE` file must be preserved with its existing copyright and permission notice. Do not remove or replace upstream attribution when preparing source or package distributions.
|
|
46
|
+
|
|
47
|
+
## Trademarks and affiliation
|
|
48
|
+
|
|
49
|
+
WhatsApp and Meta are trademarks of their respective owners. Qiro Baileys is an unofficial project and is not endorsed by, affiliated with, or sponsored by WhatsApp or Meta.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awangxcode/qiro-baileys",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-rc25.
|
|
4
|
+
"version": "7.0.0-rc25.5",
|
|
5
5
|
"description": "Unofficial Baileys fork by AwangXCode with experimental extensions",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"whatsapp",
|
|
@@ -146,5 +146,6 @@
|
|
|
146
146
|
"packageManager": "yarn@4.9.2",
|
|
147
147
|
"engines": {
|
|
148
148
|
"node": ">=20.0.0"
|
|
149
|
-
}
|
|
150
|
-
|
|
149
|
+
},
|
|
150
|
+
"homepage": "https://awangxoffc.github.io/qiro-baileys-docs/"
|
|
151
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
## [7.0.0-rc25] - 2026-10-23
|
|
2
|
-
|
|
3
|
-
### Added
|
|
4
|
-
- Experimental WebUI/A2UI/Rich Menu builders and socket helpers.
|
|
5
|
-
- Experimental image poll, scheduled message primitives, modern question/status/Add Yours/comment/link-preview helpers, newsletter invites, scheduled-call messages and poll-add-option helpers.
|
|
6
|
-
- WAProto schema/runtime declarations for BloksWidget, conditional reveal scheduling, poll option messages and modern metadata.
|
|
7
|
-
- Low-memory opt-in behavior and explicit VoIP adapter contract (engine not bundled).
|
|
8
|
-
|
|
9
|
-
### Validation
|
|
10
|
-
- Source-only integration. Not built, not fully type-checked, not runtime-tested and not published.
|
|
11
|
-
|
|
12
|
-
## [7.0.0-rc24] - 2026-10-23
|
|
13
|
-
|
|
14
|
-
### Added
|
|
15
|
-
- Add Qiro advanced extension exports: rich-message and social-preview readers, classic button/list builders, rich-link sender, high-level album sender, status sender, and bounded in-memory store.
|
|
16
|
-
- Add single-file, built-in SQLite, PostgreSQL, MySQL/MariaDB, MongoDB, Redis, cache-manager, and generic key-value auth-state adapters with Buffer-safe serialization.
|
|
17
|
-
- Add a shared media helper pipeline for FFmpeg/ffprobe inspection, WhatsApp-oriented MP4/Opus conversion, video thumbnails, image resizing, and MP4/MOV duration reading.
|
|
18
|
-
- Add `viewOnceV2` and `viewOnceV2Extension` generation options, opt-in low-memory configuration, a WhatsApp-Web-shaped `<biz>` compatibility stanza for classic list/buttons and supported native-flow payloads, device-targeting options, wrapped-message media type resolution (including device-sent, bot-forwarded/invoked, group-mentioned, and nested wrapper shapes supported by Qiro WAProto), and full-quality profile-picture options.
|
|
19
|
-
|
|
20
|
-
### Safety and compatibility
|
|
21
|
-
- Keep low-memory mode opt-in to preserve existing behavior.
|
|
22
|
-
- Require explicit recipients for the new status helper.
|
|
23
|
-
- Reject conflicting device-targeting flags and refuse to silently recreate unreadable single-file auth state.
|
|
24
|
-
- Leave WhatsApp-internal WebUI/A2UI/RichMenu and experimental image-poll, status/question, scheduled-message, and VoIP payloads out until their proto/client behavior can be validated for Qiro's current WAProto.
|
|
25
|
-
|
|
26
|
-
## [7.0.0-rc23] - 2026-10-22
|
|
27
|
-
|
|
28
|
-
### Fixed
|
|
29
|
-
- Align the contact card's right border with the icon's observed single-cell width in the mobile/Pterodactyl console.
|
|
30
|
-
- Add a clearly visible gap between the icon and the bold “Baileys By” label.
|
|
31
|
-
- Preserve the compact 46-column banner, original wording, footer, pairing behavior, and bundled Qiro extensions.
|
|
32
|
-
|
|
33
|
-
## [7.0.0-rc22] - 2026-10-22
|
|
34
|
-
|
|
35
|
-
- Restored compact 46-column terminal welcome layout.
|
|
36
|
-
- Replaced custom mathematical-bold glyphs with terminal bold styling.
|
|
37
|
-
- Fixed contact-card border alignment and removed the decorative footer frame.
|
|
38
|
-
- Reduced published documentation files while retaining core README and third-party notices.
|
|
39
|
-
|
|
40
|
-
## [7.0.0-rc21] - 2026-10-22
|
|
41
|
-
|
|
42
|
-
### Improved
|
|
43
|
-
- Restore the compact RC19 console banner layout, with a fully closed footer frame and consistent line spacing.
|
|
44
|
-
- Bundle three Qiro JavaScript extensions byte-for-byte into `lib/extensions/`, copied during the package build.
|
|
45
|
-
- Add explicit package dependencies for the copied rich builder and carousel extensions.
|
|
46
|
-
|
|
47
|
-
## [7.0.0-rc20] - 2026-10-22
|
|
48
|
-
|
|
49
|
-
### Improved
|
|
50
|
-
- Give the mobile Pterodactyl console banner more horizontal and vertical spacing; keep all original welcome/contact wording and artwork.
|
|
51
|
-
- Use single-line box borders and a fully closed footer frame to reduce misalignment in browser terminals.
|
|
52
|
-
- Use `AXCODEID` as the default custom pairing code; callers can provide their own 8-character uppercase alphanumeric code or pass `null` for a random code.
|
|
53
|
-
|
|
54
|
-
## [7.0.0-rc19] - 2026-10-22
|
|
55
|
-
|
|
56
|
-
### Fixed
|
|
57
|
-
- Preserve the supplied Braille artwork without downsampling it, avoiding a distorted logo in console output.
|
|
58
|
-
- Use a fixed 46-column banner layout rather than trusting mobile Pterodactyl PTY width reports, keeping cards and borders from overflowing.
|
|
59
|
-
- Render the artwork in one consistent color instead of per-row color bands.
|
|
60
|
-
|
|
61
|
-
## [7.0.0-rc18] - Unreleased
|
|
62
|
-
|
|
63
|
-
### Fixed
|
|
64
|
-
- Add explicit `.js` extensions to all deep `libsignal/src/*` ESM imports so Node.js can resolve Curve, crypto, and protobuf modules after installation.
|
|
65
|
-
- Prevent startup-time `ERR_MODULE_NOT_FOUND` errors caused by extensionless package subpath imports.
|
|
66
|
-
|
|
67
|
-
## [7.0.0-rc17] - 2026-10-22
|
|
68
|
-
|
|
69
|
-
### Added
|
|
70
|
-
- Print an aesthetic, colorized AXCODE iD / Baileys welcome before the consuming bot's startup banner.
|
|
71
|
-
- Use the supplied full art on wide terminals and a compact logo on narrower terminals.
|
|
72
|
-
- Wrap the welcome copy in terminal-width-aware cards to avoid line overlap on smaller panels.
|
|
73
|
-
- Add `QIRO_BAILEYS_WELCOME=0` to suppress the import-time banner when needed.
|
|
74
|
-
|
|
75
|
-
## [7.0.0-rc16] - 2026-10-22
|
|
76
|
-
|
|
77
|
-
### Fixed
|
|
78
|
-
- Harden native-flow validation against malformed JavaScript inputs.
|
|
79
|
-
- Reject unsafe credential-bearing URLs during builder input.
|
|
80
|
-
- Return clear serialization errors for circular native-flow button parameters.
|
|
81
|
-
- Prevent partial mutation when adding a batch of carousel cards containing an invalid card.
|
|
82
|
-
- Add regression coverage for the validation fixes.
|
|
83
|
-
|
|
84
|
-
# 7.0.0-rc14 (2026-07-29)
|
package/proto-extract/README.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# Proto Extract
|
|
2
|
-
|
|
3
|
-
Derived initially from `whatseow`'s proto extract, this version generates a predictable diff friendly protobuf. It also does not rely on a hardcoded set of modules to look for but finds all proto modules on its own and extracts the proto from there.
|
|
4
|
-
|
|
5
|
-
Thanks to [wppconnect-team](https://github.com/wppconnect-team) for the script update to make it work with the latest version of whatsapp.
|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
1. Install dependencies with `yarn` (or `npm install`)
|
|
9
|
-
2. `yarn start`
|
|
10
|
-
3. The script will update `../WAProto/WAProto.proto` (except if something is broken)
|