@ryuu-reinzz/haruka-lib 1.0.5 → 1.0.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.
- package/main/socket.js +2 -4
- 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) {
|