whalibmob 5.1.10 → 5.1.11

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/lib/BinaryNode.js CHANGED
@@ -117,7 +117,7 @@ class NodeDecoder {
117
117
  this.compressed = (flags & 2) !== 0;
118
118
  if (this.compressed) {
119
119
  const zlib = require('zlib');
120
- this.buf = zlib.inflateRawSync(this.buf.slice(this.offset));
120
+ this.buf = zlib.inflateSync(this.buf.slice(this.offset));
121
121
  this.offset = 0;
122
122
  }
123
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whalibmob",
3
- "version": "5.1.10",
3
+ "version": "5.1.11",
4
4
  "description": "WhatsApp library for interaction with WhatsApp Mobile API no web",
5
5
  "author": "Kunboruto20",
6
6
  "main": "index.js",