workers-rcon 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,11 +12,11 @@ npm install workers-rcon
12
12
  ## Использование в Cloudflare Workers
13
13
 
14
14
  ```javascript
15
- import { MinecraftRCON } from 'workers-rcon';
15
+ import { RCON } from 'workers-rcon';
16
16
 
17
17
  export default {
18
18
  async fetch(request, env) {
19
- const rcon = new MinecraftRCON({
19
+ const rcon = new RCON({
20
20
  host: 'your-server-ip.com',
21
21
  port: 25575,
22
22
  password: 'your_rcon_password'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workers-rcon",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "author": "fjk-dev",
5
5
  "repository": {
6
6
  "type": "git",