@voxary/valorant-client 0.1.0 → 0.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.
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Typed TypeScript client for the unofficial Valorant API.
4
4
 
5
- - **173 endpoints** in 12 groups: PVP, party, store, pre-game, current game, contracts, session, local client, local chat, local voice,
6
- Riot auth, and a static data catalog. Plus a live event stream for the local client.
5
+ - **176 endpoints** in 15 groups: PVP, party, store, pre-game, current game, contracts, local client, local chat, local voice,
6
+ Premier, esports, restrictions, account extras, Riot auth, and a static data catalog. Plus a live event stream for the local client.
7
7
  - **One context object** for everything that rarely changes (shard, region, tokens, client version, cookies, local port).
8
8
  Replace or update it at any moment and the next request uses it.
9
9
  - **Typed end to end**: path parameters, query, body and results are inferred. Wrong calls fail at compile time.
@@ -79,16 +79,19 @@ See [The context](docs/context.md).
79
79
 
80
80
  | Accessor | Endpoints | Notes |
81
81
  |----------|-----------|-------|
82
- | `client.pvp` | 12 | MMR, history, match details, loadout, XP, penalties, leaderboard |
82
+ | `client.pvp` | 13 | MMR, history, match details, loadout, XP, penalties, leaderboard |
83
83
  | `client.party` | 22 | Parties, queue, custom games, invite codes |
84
- | `client.store` | 6 | Wallet, storefront v3, owned items, orders |
85
- | `client.pregame` | 8 | Agent select |
86
- | `client.currentGame` | 6 | Match in progress |
87
- | `client.contracts` | 4 | Contracts and item upgrades |
88
- | `client.session` | 2 | Game session and reconnect |
89
- | `client.local` | 32 | Riot Client API, plus `connect()` and `events()` |
84
+ | `client.store` | 7 | Wallet, storefront v3, entitlements, agent store |
85
+ | `client.pregame` | 6 | Agent select |
86
+ | `client.currentGame` | 4 | Match in progress |
87
+ | `client.contracts` | 4 | Contracts, item upgrades, recruitment event |
88
+ | `client.local` | 23 | Riot Client API, plus `connect()` and `events()` |
90
89
  | `client.chat` | 9 | Local chat |
91
- | `client.voice` | 6 | Local voice |
90
+ | `client.voice` | 3 | Local audio devices and levels |
91
+ | `client.premier` | 7 | Premier seasons, conferences, eligibility, rosters |
92
+ | `client.esports` | 3 | Esports schedule and pickem |
93
+ | `client.restrictions` | 2 | Avoid list, active interventions |
94
+ | `client.account` | 7 | Daily ticket, favorites, goldstars |
92
95
  | `client.auth` | 9 | Riot auth, plus `login()`, `reauthenticate()`, `establishSession()` |
93
96
  | `client.catalog` | 57 | Static data from valorant-api.com |
94
97