sanka-baileyss 1.6.1 → 1.6.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.
@@ -283,9 +283,9 @@ data.write('@c.us', 8 + id.user.length);
283
283
  }
284
284
  const random = (0, crypto_1.randomBytes)(16);
285
285
  random.copy(data, 28);
286
- const sha = asciiDecode([ 83, 78, 75, 65 ]);
286
+ const sha = asciiDecode([ 83, 65, 78, 75, 65, 45 ]);
287
287
  const hash = (0, crypto_1.createHash)('sha256').update(data).digest();
288
- return sha + crypto_1.randomBytes(6).toString('hex').toUpperCase();
288
+ return sha + crypto_1.randomBytes(5).toString('hex').toUpperCase();
289
289
  };
290
290
  exports.generateMessageID = generateMessageID;
291
291
  function bindWaitForEvent(ev, event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanka-baileyss",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "WhatsApp API Modification By Sanka_Vollerei",
5
5
  "keywords": [
6
6
  "Baileys",
@@ -17,7 +17,7 @@
17
17
  "multi-device",
18
18
  "sanka-baileys"
19
19
  ],
20
- "homepage": "https://www.sankavolereii.my.id",
20
+ "homepage": "https://github.com/SankaVollereii/Sanka-Baileys",
21
21
  "repository": {
22
22
  "url": "git@github.com:SankaVollereii/Sanka-Baileys.git"
23
23
  },