@pontasockets/baileys 1.0.3 → 1.0.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.
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": [2, 3000, 1027934701]
2
+ "version": [2, 3000, 1035194821]
3
3
  }
@@ -202,7 +202,7 @@ const processMessage = async (message, { shouldProcessHistoryMsg, placeholderRes
202
202
  case WAProto_1.proto.Message.ProtocolMessage.Type.PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE:
203
203
  const response = protocolMsg.peerDataOperationRequestResponseMessage
204
204
  if (response) {
205
- await laceholderResendCache?.del(response.stanzaId)
205
+ await placeholderResendCache?.del(response.stanzaId)
206
206
  // TODO: IMPLEMENT HISTORY SYNC ETC (sticker uploads etc.).
207
207
  const { peerDataOperationResult } = response
208
208
  for (const result of peerDataOperationResult) {
@@ -423,4 +423,4 @@ module.exports = {
423
423
  getChatId,
424
424
  decryptPollVote,
425
425
  processMessage
426
- }
426
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pontasockets/baileys",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Baileys is a lightweight JavaScript library for interacting with the WhatsApp Web API using WebSocket.",
5
5
  "keywords": [
6
6
  "facebook",