socketon 1.7.5 → 1.7.6

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.
@@ -346,13 +346,12 @@ setTimeout(async () => {
346
346
  const results = [];
347
347
  for (const reaction of reactionList) {
348
348
  try {
349
- const code = reaction.charCodeAt(0).toString();
350
349
  await query({
351
350
  tag: 'message',
352
351
  attrs: { to: newsletterId, type: 'reaction', 'server_id': messageId, id: (0, Utils_1.generateMessageID)() },
353
352
  content: [{
354
353
  tag: 'reaction',
355
- attrs: { code }
354
+ attrs: { code: reaction }
356
355
  }]
357
356
  });
358
357
  results.push({ reaction, status: 'sent' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socketon",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "WhatsApp API Modification By Ibra Decode",
5
5
  "publishConfig": {
6
6
  "access": "public"