@pontasockets/baileys 0.2.7 → 0.2.9

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/README.md +8 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -486,7 +486,10 @@ await sock.sendMessage(jid, {
486
486
 
487
487
  > **Tipe yang valid di dalam `items`:**
488
488
  > - `{ text: 'string' }` — teks / markdown
489
- > -
489
+ > - `{ code: 'string', language: 'string' }` — code block
490
+ > - `{ table: { title?, headers?, rows } }` — tabel
491
+
492
+ </details>
490
493
 
491
494
  <details>
492
495
  <summary><b>🔗 Inline Citation Message <kbd>NEW</kbd></b></summary>
@@ -599,8 +602,7 @@ await sock.sendMessage(jid, {
599
602
  }]
600
603
  },
601
604
  {
602
- code: 'curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
603
- apt-get install -y nodejs',
605
+ code: 'curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -\napt-get install -y nodejs',
604
606
  language: 'bash'
605
607
  },
606
608
  {
@@ -611,12 +613,11 @@ apt-get install -y nodejs',
611
613
  ```
612
614
 
613
615
  > **Tipe yang valid di dalam `richResponse`:**
614
- > - `{ text, inlineEntities? }` — teks/markdown, dengan optional citation
615
- > - `{ code, language }` — code block (tokenized)
616
+ > - `{ text, inlineEntities? }` — teks / markdown dengan optional citation
617
+ > - `{ code, language }` — code block
616
618
  > - `{ table, title? }` — tabel, `table` berupa `[{ items: string[], isHeading?: bool }, ...]`
617
619
 
618
- </details>`{ code: 'string', language: 'string' }` — code block
619
- > - `{ table: { title?, headers?, rows } }` — tabel
620
+ </details>
620
621
 
621
622
  </details>
622
623
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pontasockets/baileys",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Baileys is a lightweight JavaScript library for interacting with the WhatsApp Web API using WebSocket.",
5
5
  "keywords": [
6
6
  "facebook",