bonktools 2.0.0 → 2.0.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.
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.BonkConnection = void 0;
7
- const socket_io_client_1 = __importDefault(require("socket.io-client"));
8
7
  const events_1 = require("events");
9
- const axios_1 = __importDefault(require("axios"));
10
8
  const constants_1 = require("../utils/constants");
11
9
  const validation_1 = require("../utils/validation");
12
10
  const PacketBuilder_1 = require("./PacketBuilder");
13
11
  const PacketParser_1 = require("./PacketParser");
12
+ const socket_io_client_1 = __importDefault(require("socket.io-client"));
13
+ const axios_1 = __importDefault(require("axios"));
14
14
  /**
15
15
  * Gerencia a conexão WebSocket com o servidor Bonk.io e o estado do jogo.
16
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bonktools",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Advanced Bonk.io bot library with physics simulation and game state management",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -43,11 +43,12 @@
43
43
  "axios": "^1.6.0",
44
44
  "box2d-wasm": "^6.0.1",
45
45
  "eventemitter3": "^5.0.1",
46
- "socket.io-client": "^4.8.1"
46
+ "socket.io-client": "^2.3.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/jest": "^29.5.0",
50
50
  "@types/node": "^20.10.0",
51
+ "@types/socket.io-client": "^1.4.36",
51
52
  "@typescript-eslint/eslint-plugin": "^6.0.0",
52
53
  "@typescript-eslint/parser": "^6.0.0",
53
54
  "eslint": "^8.50.0",