bonktools 3.1.0 → 3.2.0

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,5 +1,5 @@
1
- const { createBot, LOG_LEVELS } = require("bonkbot");
2
- // const { createBot, LOG_LEVELS } = require("../src/index");
1
+ // const { createBot, LOG_LEVELS } = require("bonkbot");
2
+ const { createBot, LOG_LEVELS } = require("../src/index");
3
3
 
4
4
 
5
5
  // Create a bot instance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bonktools",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "Advanced Bonk.io bot library with physics simulation and game state management",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/bot.js CHANGED
@@ -26,8 +26,6 @@ const { LOG_LEVELS } = require("./utils/logger");
26
26
  // Create logger
27
27
  const logger = createLogger('BonkBot');
28
28
 
29
- // Create HTTPS agent for axios with certificate verification disabled
30
- // NOTE: bonk.io servers use Sectigo certificates with incomplete chains
31
29
  const httpsAgent = new https.Agent({
32
30
  rejectUnauthorized: false
33
31
  });
@@ -1307,25 +1305,6 @@ class BonkBot {
1307
1305
  return true
1308
1306
  }
1309
1307
 
1310
-
1311
-
1312
-
1313
- /**
1314
- *
1315
- * User callable methods (the bot api)
1316
- *
1317
- */
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
-
1325
- /**
1326
- * Clean up resources
1327
- * @private
1328
- */
1329
1308
  stopBot() {
1330
1309
  this.connected = false;
1331
1310
 
@@ -1341,13 +1320,6 @@ class BonkBot {
1341
1320
  }
1342
1321
 
1343
1322
 
1344
-
1345
-
1346
-
1347
- /**
1348
- * Send a chat message
1349
- * @param {string} message - Message to send
1350
- */
1351
1323
  async chat(message) {
1352
1324
  this.checkConnection();
1353
1325
  await this.sendMessage(CLIENT_MESSAGE_TYPES.CHAT_MESSAGE, {