Skip to content

Commit

Permalink
Update ReadMe.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyBananaGAME committed Oct 15, 2024
1 parent 70d5dda commit 5f5cd5f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ npm i @sanctumterra/client
## 🚀 Usage Example

```typescript
const { Client, Logger } = require("@sanctumterra/client");
const { Client, Logger, DeviceOS } = require("@sanctumterra/client");

const client = new Client({
host: "127.0.0.1",
port: 19133,
port: 19132,
offline: true,
username: "SanctumTerra",
tokensFolder: "./cache/tokens",
version: "1.21.30",
loadPlugins: false
deviceOS: DeviceOS.Android
});

client.connect();
Expand Down Expand Up @@ -81,6 +81,9 @@ client.on("spawn", () => {

## 📜 Changelog

### 2.1.5
- Added DeviceOS to the Client.

### 2.1.3
- Removed Protocol Validation
- Added more debug logs
Expand Down

0 comments on commit 5f5cd5f

Please sign in to comment.