@ryuu-reinzz/haruka-lib 1.0.11 → 1.0.13

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +9 -4
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 ryuu-reinzz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -5,8 +5,10 @@
5
5
 
6
6
  <b>Powerful & Lightweight WhatsApp Bot Library Extension</b>
7
7
  </p>
8
+
8
9
  ## 1. Send Order
9
- Digunakan untuk membuat tampilan pesanan profesional atau sekedar prank orderan.
10
+ # Digunakan untuk membuat tampilan pesanan profesional atau sekedar prank orderan.
11
+
10
12
  ``` javascript
11
13
  conn.sendOrder(m.chat, {
12
14
  orderId: "ORDER-" + Date.now(),
@@ -25,7 +27,8 @@ Hasil Output:
25
27
  <img src="https://api.ryuu-dev.offc.my.id/src/assest/Haruhime/sendOrder.jpg" width="300" />
26
28
 
27
29
  ## 2. Send Album
28
- Cocok untuk mengirim katalog produk atau galeri foto tanpa memenuhi chat.
30
+ # Cocok untuk mengirim katalog produk atau galeri foto tanpa memenuhi chat.
31
+
29
32
  ``` javascript
30
33
  conn.sendAlbum(m.chat, [
31
34
  { image: { url: global.thumbnail }, caption: "Gambar 1" },
@@ -37,7 +40,8 @@ Hasil Output:
37
40
  <img src="https://api.ryuu-dev.offc.my.id/src/assest/Haruhime/sendAlbum.jpg" width="300" />
38
41
 
39
42
  ## 3. Send Card (Carousel)
40
- Fitur tercanggih untuk membuat menu bot yang bisa digeser (slide) ke samping.
43
+ # Fitur tercanggih untuk membuat menu bot yang bisa digeser (slide) ke samping.
44
+
41
45
  ``` javascript
42
46
  conn.sendCard(m.chat, {
43
47
  text: "Bot Thumbnail",
@@ -57,7 +61,8 @@ conn.sendCard(m.chat, {
57
61
  <img src="https://api.ryuu-dev.offc.my.id/src/assest/Haruhime/sendCard.jpg" width="300" />
58
62
 
59
63
  ## 4. Custom Sticker
60
- Buat stiker langsung dengan identitas bot kamu sendiri.
64
+ # Buat stiker langsung dengan identitas bot kamu sendiri.
65
+
61
66
  ``` javascript
62
67
  conn.sendSticker(m.chat, {
63
68
  sticker: "./stiker/apa-woi.webp",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuu-reinzz/haruka-lib",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Library extra for bot WhatsApp",
5
5
  "main": "main/index.js",
6
6
  "type": "module",