itsmeeaizat-bailey 1.0.3 → 1.0.5

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/README.md CHANGED
@@ -21,6 +21,10 @@ A performance-tuned build of the Baileys protocol stack — interactive messages
21
21
  [![maintained](https://img.shields.io/badge/maintained-yes-brightgreen?style=flat-square)](https://www.npmjs.com/~itsmee_aizat.id)
22
22
  [![GitHub](https://img.shields.io/badge/GitHub-%40itsmeeaizat1-181717?style=flat-square&logo=github&logoColor=white)](https://github.com/itsmeeaizat1)
23
23
  [![GitHub followers](https://img.shields.io/github/followers/itsmeeaizat1?style=flat-square&color=181717&label=followers)](https://github.com/itsmeeaizat1)
24
+ [![GitHub stars](https://img.shields.io/github/stars/itsmeeaizat1/itsmeeaizat-bailey?style=flat-square&color=181717&logo=github&logoColor=white)](https://github.com/itsmeeaizat1/itsmeeaizat-bailey/stargazers)
25
+ [![GitHub forks](https://img.shields.io/github/forks/itsmeeaizat1/itsmeeaizat-bailey?style=flat-square&color=181717&logo=github&logoColor=white)](https://github.com/itsmeeaizat1/itsmeeaizat-bailey/forks)
26
+ [![GitHub issues](https://img.shields.io/github/issues/itsmeeaizat1/itsmeeaizat-bailey?style=flat-square&color=181717&logo=github&logoColor=white)](https://github.com/itsmeeaizat1/itsmeeaizat-bailey/issues)
27
+ [![GitHub last commit](https://img.shields.io/github/last-commit/itsmeeaizat1/itsmeeaizat-bailey?style=flat-square&color=181717&logo=github&logoColor=white)](https://github.com/itsmeeaizat1/itsmeeaizat-bailey/commits)
24
28
 
25
29
  </div>
26
30
 
@@ -90,6 +94,14 @@ connectToWhatsApp();
90
94
 
91
95
  ## Changelog
92
96
 
97
+ ### 1.0.5
98
+
99
+ - README: added GitHub repo badges (stars, forks, issues, last commit)
100
+
101
+ ### 1.0.4
102
+
103
+ - README: simplified credits section
104
+
93
105
  ### 1.0.3
94
106
 
95
107
  - README: added GitHub badges pointing to the new maintainer account [@itsmeeaizat1](https://github.com/itsmeeaizat1)
@@ -101,7 +113,7 @@ connectToWhatsApp();
101
113
  ### 1.0.1
102
114
 
103
115
  - Updated reported WhatsApp Web version to `2.3000.1047970367`
104
- - Guarded `logger: undefined` in `makeWASocket` so an explicit `undefined` logger no longer wipes the default logger during reconnects (port of the upstream `@hiroosy/baileys-lite` fix)
116
+ - Guarded `logger: undefined` in `makeWASocket` so an explicit `undefined` logger no longer wipes the default logger during reconnects
105
117
  - Reformatted README
106
118
 
107
119
  ### 1.0.0
@@ -121,7 +133,7 @@ This project follows [Semantic Versioning](https://semver.org/).
121
133
 
122
134
  ## Credits
123
135
 
124
- Built on the open-source **Baileys** protocol stack (MIT) — WhiskeySockets and its maintainers. The original MIT license ships with this package in [`LICENSE`](./LICENSE). The reconnect logger guard in 1.0.1 is adapted from `@hiroosy/baileys-lite`.
136
+ Built on the open-source **Baileys** protocol stack (MIT) — WhiskeySockets and its maintainers. The original MIT license ships with this package in [`LICENSE`](./LICENSE).
125
137
 
126
138
  ---
127
139
 
@@ -6,7 +6,7 @@ const makeWASocket = (config) => {
6
6
  const newConfig = {
7
7
  ...DEFAULT_CONNECTION_CONFIG,
8
8
  ...config,
9
- // Guard (port @hiroosy/baileys-lite): object spread does NOT skip explicit
9
+ // Guard: object spread does NOT skip explicit
10
10
  // undefined/null values, so a caller passing logger: undefined (stale logger
11
11
  // ref on reconnect) would silently wipe the default logger and crash later
12
12
  // in makeNoiseHandler's logger.child(...). Guard once, here.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itsmeeaizat-bailey",
3
3
  "type": "module",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "description": "WhatsApp Web multi-device library for bots & automation \u2014 Aizat's build of Baileys v7: interactive messages, albums, newsletters, pairing codes",
6
6
  "license": "MIT",
7
7
  "main": "lib/index.js",