Skip to content

Commit

Permalink
feat: v2.2.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
devnote-dev committed Feb 8, 2023
1 parent 374a328 commit 4fe374f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

Tracking changes for PteroJS and extensions from v2 onwards (using [SemVer 2](http://semver.org/)).

## [2.2.0] - 08-02-2023

### Added

- `WebSocketManager#getAuth()` method for getting websocket auth data
- `type` query parameter for `ClientServerManager#fetch()` (takes "admin", "admin-all", or "owner")

### Fixed

- Switch `Shard` class to use `WebSocketManager#getAuth()`
- Fix & ensure `NodeAllocationManager#fetchAvailable()` fetches all allocations

## [2.1.0] - 08-10-2022

A lot of bug fixes and some new useful QOL features for the library and developers.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">PteroJS</h1>
<h3 align="center"><strong>A verbose API library for Pterodactyl</strong></h3>
<p align="center"><a href="https://discord.com/invite/dwcfTjgn7S" type="_blank"><img src="https://img.shields.io/badge/discord-invite-5865f2?style=for-the-badge&logo=discord&logoColor=white"></a> <img src="https://img.shields.io/badge/version-2.1.2-3572A5?style=for-the-badge"> <img src="https://img.shields.io/github/issues/PteroPackages/PteroJS.svg?style=for-the-badge"> <a href="https://pteropackages.github.io/PteroJS/" type="_blank"><img src="https://img.shields.io/badge/docs-typedoc-e67e22?style=for-the-badge"></a></p>
<p align="center"><a href="https://discord.com/invite/dwcfTjgn7S" type="_blank"><img src="https://img.shields.io/badge/discord-invite-5865f2?style=for-the-badge&logo=discord&logoColor=white"></a> <img src="https://img.shields.io/badge/version-2.2.0-3572A5?style=for-the-badge"> <img src="https://img.shields.io/github/issues/PteroPackages/PteroJS.svg?style=for-the-badge"> <a href="https://pteropackages.github.io/PteroJS/" type="_blank"><img src="https://img.shields.io/badge/docs-typedoc-e67e22?style=for-the-badge"></a></p>

## About

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devnote-dev/pterojs",
"version": "2.1.2",
"version": "2.2.0",
"description": "A verbose API library for Pterodactyl",
"author": "Devonte <https://github.com/devnote-dev>",
"contributors": [
Expand Down

0 comments on commit 4fe374f

Please sign in to comment.