@ryuu-reinzz/haruka-lib 4.0.0-beta.2 → 4.0.0-beta.3

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 +8 -6
  2. package/package.json +1 -1
package/main/socket.js CHANGED
@@ -1538,6 +1538,10 @@ function addProperty(socket, baileys) {
1538
1538
  };
1539
1539
  }
1540
1540
  }
1541
+ global.Button = Button;
1542
+ global.ButtonV2 = ButtonV2;
1543
+ global.Carousel = Carousel;
1544
+ global.AIRich = AIRich;
1541
1545
  Object.assign(socket, {
1542
1546
  sendMessage: async (jid, content, options = {}) => {
1543
1547
  let {
@@ -2440,9 +2444,7 @@ function addProperty(socket, baileys) {
2440
2444
  };
2441
2445
 
2442
2446
  export default addProperty;
2443
- export {
2444
- Button,
2445
- ButtonV2,
2446
- Carousel,
2447
- AIRich
2448
- };
2447
+ export const Button = global.Button;
2448
+ export const ButtonV2 = global.ButtonV2;
2449
+ export const Carousel = global.Carousel;
2450
+ export const AIRich = global.AIRich;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuu-reinzz/haruka-lib",
3
- "version": "4.0.0-beta.2",
3
+ "version": "4.0.0-beta.3",
4
4
  "description": "Library extra for bot WhatsApp",
5
5
  "main": "main/index.js",
6
6
  "type": "module",