@d0v3riz/baileys 6.4.0 → 6.4.1

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.
@@ -1,4 +1,4 @@
1
- import WebSocket from 'ws';
1
+ import WebSocket from '@d0v3riz/ws';
2
2
  import { AbstractSocketClient } from './abstract-socket-client';
3
3
  export declare class WebSocketClient extends AbstractSocketClient {
4
4
  protected socket: WebSocket | null;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.WebSocketClient = void 0;
7
- const ws_1 = __importDefault(require("ws"));
7
+ const ws_1 = __importDefault(require("@d0v3riz/ws"));
8
8
  const Defaults_1 = require("../../Defaults");
9
9
  const abstract_socket_client_1 = require("./abstract-socket-client");
10
10
  class WebSocketClient extends abstract_socket_client_1.AbstractSocketClient {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d0v3riz/baileys",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "description": "WhatsApp API",
5
5
  "keywords": [
6
6
  "whatsapp",
@@ -43,6 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@adiwajshing/keyed-db": "^0.2.4",
46
+ "@d0v3riz/ws": "^8.13.0",
46
47
  "@hapi/boom": "^9.1.3",
47
48
  "audio-decode": "^2.1.3",
48
49
  "axios": "^1.3.3",
@@ -98,4 +99,4 @@
98
99
  }
99
100
  },
100
101
  "packageManager": "yarn@1.22.19"
101
- }
102
+ }