diff --git a/index.js b/index.js index 3135f87..d8787ed 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,8 @@ const mc = require('minecraft-protocol') const moment = require('moment-timezone') const crypto = require('crypto') const nbt = require('prismarine-nbt') +const net = require('net') +const axios = require('axios') const BRIDGE_PREFIX = 'function:' @@ -59,7 +61,9 @@ io.on('connection', async (socket) => { mc, moment, crypto, - nbt + nbt, + net, + axios } }) } diff --git a/package.json b/package.json index d77a5ed..3aa1354 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "license": "ISC", "dependencies": { "@n8n/vm2": "^3.9.25", + "axios": "^1.7.7", "minecraft-protocol": "^1.43.1", "moment": "^2.29.4", "moment-timezone": "^0.5.43",