@langitdeveloper/baileys 2.1.3 → 2.1.4

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.
@@ -276,9 +276,6 @@ const jidToSignalProtocolAddress = (jid) => {
276
276
  }
277
277
  const signalUser = domainType !== WABinary_1.WAJIDDomains.WHATSAPP ? `${user}_${domainType}` : user;
278
278
  const finalDevice = device || 0;
279
- if (device === 99 && decoded.server !== 'hosted' && decoded.server !== 'hosted.lid') {
280
- throw new Error('Unexpected non-hosted device JID with device 99. This ID seems invalid. ID:' + jid);
281
- }
282
279
  return new libsignal.ProtocolAddress(signalUser, finalDevice);
283
280
  };
284
281
  const jidToSignalSenderKeyName = (group, user) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langitdeveloper/baileys",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "WhatsApp API Modification By Langit",
5
5
  "keywords": [
6
6
  "whatsapp",