@awangxcode/qiro-baileys 7.0.0-rc20 → 7.0.0-rc21
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/QIRO-BAILEYS-RC16.md +25 -0
- package/QIRO-BAILEYS-RC17.md +20 -0
- package/QIRO-BAILEYS-RC18.md +13 -0
- package/QIRO-BAILEYS-RC19.md +12 -0
- package/QIRO-BAILEYS-RC20.md +14 -0
- package/QIRO-BAILEYS-RC21.md +19 -0
- package/README.md +13 -0
- package/lib/Utils/terminal-welcome.d.ts.map +1 -1
- package/lib/Utils/terminal-welcome.js +19 -26
- package/lib/Utils/terminal-welcome.js.map +1 -1
- package/lib/extensions/awang-MessageBuilder.js +3257 -0
- package/lib/extensions/awang-ai-rich.js +658 -0
- package/lib/extensions/awang-carousel.js +275 -0
- package/package.json +6 -3
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Qiro Baileys RC16 — MessageBuilder hardening (historical release notes)
|
|
2
|
+
|
|
3
|
+
RC16 was published as `@awangxcode/qiro-baileys@7.0.0-rc16` under the `next` dist-tag. It builds on the RC15 source line based on WhiskeySockets/Baileys `7.0.0-rc14`.
|
|
4
|
+
|
|
5
|
+
## Scope of this candidate
|
|
6
|
+
|
|
7
|
+
This candidate focuses on local payload construction and validation. The socket, session, pairing, reconnect, and message transport source files are not modified by the RC16 changes; no production session needs to be migrated to adopt these builder refinements.
|
|
8
|
+
|
|
9
|
+
- Make `checkNativeFlowButtons` handle malformed JavaScript/untyped inputs without throwing while inspecting them. It reports invalid list, item, name, platform, or `params` shapes as validation errors.
|
|
10
|
+
- Validate native-flow `params` as plain records and validate section titles, row shapes, and optional row text fields before serialization.
|
|
11
|
+
- Convert circular/non-serializable button parameters into a clear `TypeError` rather than exposing a low-level `JSON.stringify` exception.
|
|
12
|
+
- Reject malformed absolute URLs and URLs containing embedded credentials when `Button.addUrl` is called, before a payload is built.
|
|
13
|
+
- Make carousel batch additions atomic: if any supplied card is invalid, none of the cards from that batch are added.
|
|
14
|
+
- Make text guard helpers reject non-string runtime values with a consistent, descriptive error.
|
|
15
|
+
- Add regression tests for malformed runtime inputs, unsafe URL credentials, serialization failures, and carousel batch atomicity.
|
|
16
|
+
|
|
17
|
+
## Compatibility and scope limits
|
|
18
|
+
|
|
19
|
+
These changes harden local payload assembly. They do not change the core Socket/session/pairing implementation from RC15 and do not claim that WhatsApp will accept or render every native-flow, carousel, or AIRich variant. Server-side feature flags and device/client support remain outside this library's control.
|
|
20
|
+
|
|
21
|
+
## Verification status
|
|
22
|
+
|
|
23
|
+
The user built RC16 with `BUILD_EXIT_CODE=0`, ran five focused MessageBuilder optimization checks with no failures, and published it using the `next` dist-tag. A prior full Jest run on the user's Termux environment hit `illegal hardware instruction`; that environment limitation is distinct from the passing focused checks.
|
|
24
|
+
|
|
25
|
+
RC16 was published under `next`, preserving `latest` for existing consumers.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Qiro Baileys RC17 — Responsive terminal welcome
|
|
2
|
+
|
|
3
|
+
RC17 builds on the published RC16 package and adds the requested AXCODE iD / Baileys welcome banner. Because RC16 is already published, this change uses the next immutable release version, `7.0.0-rc17`.
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
- Print a colorized welcome banner during package entrypoint evaluation, before a consuming ESM application's startup body prints its own Qiro banner.
|
|
8
|
+
- Show the supplied full terminal art only when its measured display width fits; use a compact logo on narrower consoles.
|
|
9
|
+
- Render the welcome title, thank-you message, and developer contact information inside responsive boxes with a maximum width of 72 columns and wrapped text.
|
|
10
|
+
- Correct the WhatsApp contact link to `https://wa.me/556184127506`.
|
|
11
|
+
- Add `QIRO_BAILEYS_WELCOME=0` as an opt-out for consumers who do not want library import to print a banner.
|
|
12
|
+
- Keep Socket, pairing, reconnect, session/auth-state, and message-transport files unchanged for this feature.
|
|
13
|
+
|
|
14
|
+
## Output order
|
|
15
|
+
|
|
16
|
+
The root package entrypoint calls `printQiroBaileysWelcome()` while the package is being evaluated. In applications with static ESM imports such as Qiro Ai, this completes before the application's top-level bootstrap function runs, so the Baileys welcome appears before `printBanner()` is called by Qiro's bootstrap.
|
|
17
|
+
|
|
18
|
+
## Verification
|
|
19
|
+
|
|
20
|
+
The RC16 baseline had a successful build and five focused checks for the MessageBuilder hardening. RC17's primary code change is console rendering; rebuild the source tree to generate the RC17 `lib/` files before publishing. The banner is designed to avoid external runtime dependencies, and can be suppressed with `QIRO_BAILEYS_WELCOME=0`.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Qiro Baileys RC18 — ESM libsignal import fix
|
|
2
|
+
|
|
3
|
+
RC18 fixes a runtime packaging issue discovered after installing RC17 from npm. The compiled ESM entrypoint could attempt to resolve deep dependency imports such as `libsignal/src/curve` without the file extension. Node.js ESM resolution requires the explicit `.js` suffix for these package subpath imports in this environment.
|
|
4
|
+
|
|
5
|
+
## Changes
|
|
6
|
+
|
|
7
|
+
- Updated all source imports from `libsignal/src/curve`, `libsignal/src/crypto`, and `libsignal/src/protobufs` to their explicit `.js` paths.
|
|
8
|
+
- Preserved the RC17 welcome banner and other previously released features.
|
|
9
|
+
- Bumped the immutable package version to `7.0.0-rc18`; RC17 cannot be overwritten on npm.
|
|
10
|
+
|
|
11
|
+
## Build and publish
|
|
12
|
+
|
|
13
|
+
Build with `corepack yarn build`, then publish the resulting package as `@awangxcode/qiro-baileys@7.0.0-rc18` using the repository owner's authenticated npm publishing setup. The recommended prerelease distribution tag is `next`.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Qiro Baileys RC19 — Fixed-width terminal welcome
|
|
2
|
+
|
|
3
|
+
RC19 improves the terminal welcome added in RC17. The supplied Braille artwork is emitted without downsampling, so the face/logo keeps its original shape. The welcome cards use a fixed 46-column layout instead of trusting the terminal's reported width, which can be inaccurate in mobile Pterodactyl web consoles and cause borders or text to wrap incorrectly.
|
|
4
|
+
|
|
5
|
+
## Preserved fixes
|
|
6
|
+
|
|
7
|
+
- Keeps RC18's explicit `.js` extensions for deep `libsignal/src/*` ESM imports.
|
|
8
|
+
- Keeps the previous MessageBuilder validation improvements and original AXCODE iD wording/artwork.
|
|
9
|
+
|
|
10
|
+
## Runtime note
|
|
11
|
+
|
|
12
|
+
If the consuming bot crashes with `NODE_MODULE_VERSION 120` while Node.js requires `127` inside `better-sqlite3`, that is a native addon ABI mismatch in the bot application's `better-sqlite3` installation, not an import in this Baileys package. Rebuild/reinstall `better-sqlite3` using the same Node.js runtime configured for the bot before starting it.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Qiro Baileys RC20 — Console spacing and custom pairing code
|
|
2
|
+
|
|
3
|
+
RC20 makes the mobile Pterodactyl terminal welcome more readable without changing the user's artwork or wording. The cards use a 58-column layout, extra horizontal padding, blank spacing between content lines, consistent single-line borders, and a fully closed footer decoration. The logo artwork is emitted unchanged.
|
|
4
|
+
|
|
5
|
+
## Pairing-code behavior
|
|
6
|
+
|
|
7
|
+
`requestPairingCode(phoneNumber)` uses `AXCODEID` by default in this distribution. The value is 8 uppercase alphanumeric characters, as required by the custom pairing-code implementation. Consumers can supply their own code via `requestPairingCode(phoneNumber, 'YOURCODE')`, or pass `null` as the second argument to use a randomly generated code.
|
|
8
|
+
|
|
9
|
+
**Security note:** `AXCODEID` is public and predictable. Applications serving multiple users should prefer a unique pairing code per session by supplying their own code or passing `null` for random generation. The user must still actively complete the pairing from the WhatsApp app.
|
|
10
|
+
|
|
11
|
+
## Preserved fixes
|
|
12
|
+
|
|
13
|
+
- Retains RC18's `.js` extensions for deep `libsignal/src/*` ESM imports.
|
|
14
|
+
- Retains RC19's mobile console logo preservation and the previous MessageBuilder validation fixes.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Qiro Baileys 7.0.0-rc21
|
|
2
|
+
|
|
3
|
+
## Console welcome
|
|
4
|
+
- Restore the compact 46-column console layout from RC19.
|
|
5
|
+
- Preserve the original ASCII/Braille artwork and original welcome/contact wording.
|
|
6
|
+
- Close the decorative footer using the same aligned border style as the cards.
|
|
7
|
+
- Keep text wrapping and padding compact to avoid oversized panels on mobile Pterodactyl consoles.
|
|
8
|
+
|
|
9
|
+
## Bundled Qiro extensions
|
|
10
|
+
The following user-provided JavaScript modules are included verbatim in the published package under `lib/extensions/`:
|
|
11
|
+
|
|
12
|
+
- `lib/extensions/awang-MessageBuilder.js`
|
|
13
|
+
- `lib/extensions/awang-ai-rich.js`
|
|
14
|
+
- `lib/extensions/awang-carousel.js`
|
|
15
|
+
|
|
16
|
+
The source files are copied byte-for-byte during `yarn build`. They are not imported by the package root; applications may load only the extension they need. The builder/carousel extensions use the public Baileys root API. The extensions require `axios`, `fluent-ffmpeg`, and `sharp` where imported.
|
|
17
|
+
|
|
18
|
+
## Pairing code
|
|
19
|
+
The RC20 default pairing behavior is preserved: `requestPairingCode(phoneNumber)` uses `AXCODEID` by default; pass a different eight-character uppercase alphanumeric code to customize it, or pass `null` for a generated code.
|
package/README.md
CHANGED
|
@@ -1340,3 +1340,16 @@ await message.send('15551234567@s.whatsapp.net')
|
|
|
1340
1340
|
```
|
|
1341
1341
|
|
|
1342
1342
|
`Button`, `ButtonV2`, `Carousel`, and `AIRich` are experimental helpers. Carousel cards require pre-prepared media metadata. The validator rejects malformed runtime inputs with descriptive errors, and carousel batch additions are atomic: an invalid card does not leave earlier cards from that batch attached. This improves local payload safety but does not confirm server acceptance or universal client rendering. Only use payload formats supported by the target WhatsApp clients.
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
### Qiro extensions (RC21)
|
|
1346
|
+
|
|
1347
|
+
The package ships the following optional extensions copied byte-for-byte from the Qiro project. Import only the extension you use:
|
|
1348
|
+
|
|
1349
|
+
```js
|
|
1350
|
+
import { AIRich } from '@awangxcode/qiro-baileys/lib/extensions/awang-MessageBuilder.js'
|
|
1351
|
+
import { QiroAIRich } from '@awangxcode/qiro-baileys/lib/extensions/awang-ai-rich.js'
|
|
1352
|
+
import { sendCarousel } from '@awangxcode/qiro-baileys/lib/extensions/awang-carousel.js'
|
|
1353
|
+
```
|
|
1354
|
+
|
|
1355
|
+
`awang-MessageBuilder.js` and `awang-carousel.js` use the public `@awangxcode/qiro-baileys` root API. `axios` and `fluent-ffmpeg` are dependencies for the bundled extensions, while `sharp` is a peer dependency.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-welcome.d.ts","sourceRoot":"","sources":["../../src/Utils/terminal-welcome.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"terminal-welcome.d.ts","sourceRoot":"","sources":["../../src/Utils/terminal-welcome.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAoKH,4FAA4F;AAC5F,wBAAgB,uBAAuB,IAAI,IAAI,CAiC9C"}
|
|
@@ -52,7 +52,7 @@ const ART_SEPARATOR = '▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
|
|
|
52
52
|
const FOOTER = '▒▒░░░░░░░░░░░░░░░░░░░░░▒▒';
|
|
53
53
|
// A fixed maximum width keeps Pterodactyl mobile consoles from wrapping borders.
|
|
54
54
|
// Braille art is kept verbatim instead of downsampling it, which distorted the face.
|
|
55
|
-
const BANNER_WIDTH =
|
|
55
|
+
const BANNER_WIDTH = 46;
|
|
56
56
|
function characterWidth(character) {
|
|
57
57
|
const codePoint = character.codePointAt(0) || 0;
|
|
58
58
|
if (codePoint === 0x200d ||
|
|
@@ -123,29 +123,22 @@ function center(value, width) {
|
|
|
123
123
|
const missing = Math.max(0, width - displayWidth(value));
|
|
124
124
|
return `${' '.repeat(Math.floor(missing / 2))}${value}${' '.repeat(Math.ceil(missing / 2))}`;
|
|
125
125
|
}
|
|
126
|
-
function drawBox(lines, width, accent, enabled
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
const
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
lines.forEach((value, index) => {
|
|
143
|
-
const wrappedLines = wrapText(value, innerWidth);
|
|
144
|
-
wrappedLines.forEach(line => output.push(contentRow(line)));
|
|
145
|
-
if (gapBetweenLines && index < lines.length - 1)
|
|
146
|
-
output.push(blankRow());
|
|
147
|
-
});
|
|
148
|
-
output.push(blankRow(), border('└', '┘'));
|
|
126
|
+
function drawBox(lines, width, accent, enabled) {
|
|
127
|
+
const innerWidth = Math.max(1, width - 4);
|
|
128
|
+
const border = (left, right) => paint(`${left}${'━'.repeat(Math.max(0, width - 2))}${right}`, accent, enabled);
|
|
129
|
+
const output = [border('╔', '╗')];
|
|
130
|
+
for (const value of lines) {
|
|
131
|
+
for (const line of wrapText(value, innerWidth)) {
|
|
132
|
+
const padding = Math.max(0, innerWidth - displayWidth(line));
|
|
133
|
+
output.push(paint('┃', accent, enabled) +
|
|
134
|
+
' ' +
|
|
135
|
+
paint(line, ANSI.white, enabled) +
|
|
136
|
+
' '.repeat(padding) +
|
|
137
|
+
' ' +
|
|
138
|
+
paint('┃', accent, enabled));
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
output.push(border('╚', '╝'));
|
|
149
142
|
return output;
|
|
150
143
|
}
|
|
151
144
|
/** Print the user-provided AXCODE iD welcome before the package's normal startup output. */
|
|
@@ -172,8 +165,8 @@ export function printQiroBaileysWelcome() {
|
|
|
172
165
|
output.push('');
|
|
173
166
|
output.push(...drawBox(CONTACT_LINES, BANNER_WIDTH, ANSI.pink, colorEnabled));
|
|
174
167
|
output.push('');
|
|
175
|
-
//
|
|
176
|
-
output.push(...drawBox([center(FOOTER, BANNER_WIDTH -
|
|
168
|
+
// Keep the compact RC19 width, but close the decorative footer with the same aligned border.
|
|
169
|
+
output.push(...drawBox([center(FOOTER, BANNER_WIDTH - 4)], BANNER_WIDTH, ANSI.cyan, colorEnabled));
|
|
177
170
|
output.push('');
|
|
178
171
|
process.stdout.write(`${output.join('\n')}\n`);
|
|
179
172
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-welcome.js","sourceRoot":"","sources":["../../src/Utils/terminal-welcome.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,QAAQ,GAAG;IACf,0BAA0B;IAC1B,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,qCAAqC;IACrC,0BAA0B;CAC3B,CAAA;AAED,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,WAAW;IAClB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,iBAAiB;IACvB,MAAM,EAAE,kBAAkB;IAC1B,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,cAAc;CACb,CAAA;AAEV,MAAM,aAAa,GAAG;IACpB,wCAAwC;IACxC,mDAAmD;IACnD,8CAA8C;CAC/C,CAAA;AAED,MAAM,YAAY,GAAG,iEAAiE,CAAA;AACtF,MAAM,YAAY,GAAG;IACnB,mDAAmD;IACnD,oDAAoD;IACpD,qDAAqD;CACtD,CAAA;AACD,MAAM,aAAa,GAAG,0BAA0B,CAAA;AAChD,MAAM,MAAM,GAAG,2BAA2B,CAAA;AAE1C,iFAAiF;AACjF,qFAAqF;AACrF,MAAM,YAAY,GAAG,EAAE,CAAA;AAEvB,SAAS,cAAc,CAAC,SAAiB;IACvC,MAAM,SAAS,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAE/C,IACE,SAAS,KAAK,MAAM;QACpB,SAAS,KAAK,MAAM;QACpB,SAAS,KAAK,MAAM;QACpB,CA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