@ryuu-reinzz/haruka-lib 1.0.5 → 1.0.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.
Files changed (2) hide show
  1. package/main/socket.js +2 -4
  2. package/package.json +1 -1
package/main/socket.js CHANGED
@@ -498,8 +498,7 @@ Object.assign(socket, {
498
498
 
499
499
  return msg;
500
500
  },
501
- sendAlbum: {
502
- async (jid, items = [], options = {}) {
501
+ sendAlbum: async (jid, items = [], options = {}) => {
503
502
  if (!socket.user?.id) {
504
503
  throw new Error("User not authenticated");
505
504
  }
@@ -572,8 +571,7 @@ Object.assign(socket, {
572
571
  );
573
572
 
574
573
  return album;
575
- }
576
- },
574
+ },
577
575
 
578
576
  sendOrder: async (jid, orderData, options = {}) => {
579
577
  if (!socket.user?.id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuu-reinzz/haruka-lib",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Library extra for bot WhatsApp",
5
5
  "main": "main/index.js",
6
6
  "type": "module",