itsmeeaizat-bailey 1.0.3 → 1.0.4

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
@@ -90,6 +90,10 @@ connectToWhatsApp();
90
90
 
91
91
  ## Changelog
92
92
 
93
+ ### 1.0.4
94
+
95
+ - README: simplified credits section
96
+
93
97
  ### 1.0.3
94
98
 
95
99
  - README: added GitHub badges pointing to the new maintainer account [@itsmeeaizat1](https://github.com/itsmeeaizat1)
@@ -101,7 +105,7 @@ connectToWhatsApp();
101
105
  ### 1.0.1
102
106
 
103
107
  - 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)
108
+ - Guarded `logger: undefined` in `makeWASocket` so an explicit `undefined` logger no longer wipes the default logger during reconnects
105
109
  - Reformatted README
106
110
 
107
111
  ### 1.0.0
@@ -121,7 +125,7 @@ This project follows [Semantic Versioning](https://semver.org/).
121
125
 
122
126
  ## Credits
123
127
 
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`.
128
+ 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
129
 
126
130
  ---
127
131
 
@@ -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.4",
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",