Commit Graph

101 Commits (053622efc51fec2fa389d9ebeac37be26226eaf6)

Author SHA1 Message Date
Mingwei Samuel d26a9a290d fix: memory leak in `Notify`, fix #67
`notified()` future is now fused
2024-03-26 15:15:20 -07:00
Mingwei Samuel f4c75a421a test: add `Notify` memory leak test (failing)
ref #67
2024-03-26 14:59:53 -07:00
Mingwei Samuel 32bc68ed8c Regen for `match-v5.Participant` `riotIdName`/`riotIdGameName` descriptions 2024-03-23 22:24:29 -07:00
Mingwei Samuel e07b916a08 Add `match_v5::Participant::riot_id_game_name()` helper method 2024-03-23 22:24:29 -07:00
Mingwei Samuel 0b8477ffbb Regen for new `tft-match-v1.ParticipantMissionsDto` fields 2024-03-20 17:17:21 -07:00
Mingwei Samuel c0355495f5 Regen for previous commit, `ParticipantMissions` `x-alias`es 2024-03-20 16:49:14 -07:00
Mingwei Samuel 276da10930 Regen for insignificant `match-v5.MatchTimelineInfoFrameEvent.type` enum comment 2024-03-18 16:54:08 -07:00
Mingwei Samuel 071857b3d3 Regen for removal of `spectator-tft-v5` participant `bot` fields 2024-03-15 00:03:12 -07:00
Mingwei Samuel ed9eb0094e Regen for `spectator-tft-v5` 2024-03-14 23:26:27 -07:00
Mingwei Samuel 2dd6c83334 Regen for various updates
https://github.com/RiotGames/developer-relations/issues/749
https://github.com/RiotGames/developer-relations/issues/906
2024-03-13 14:59:24 -07:00
Jeffrey Dallatezza 181403c578
feat: retry networking errors (#64)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@Jeffreys-Laptop.local>
2024-03-06 12:32:07 -08:00
Mingwei Samuel c5810076fc fix: cleanup loose `GameType` serde code 2024-03-05 11:54:53 -08:00
Mingwei Samuel 95c3ccbe0b fix: regen, updates to fix bad match data
https://github.com/RiotGames/developer-relations/issues/898
2024-03-05 11:31:06 -08:00
Mingwei Samuel a33d6835db feat: regen for spectator-v5 2024-03-04 14:59:19 -08:00
Mingwei Samuel 554f1d6f57 refactor: avoid `Instant` underflow in wasm `web-time` (#63) 2024-02-24 21:42:06 -08:00
Mingwei Samuel 1d6b513aa7 feat: setup riven for wasm (nodejs) execution (#63)
+ use custom `Notify`
+ use different version of async sleep (tokio vs gloo-timers)
+ switch futures utils from `tokio` to `futures`
2024-02-24 21:42:06 -08:00
Mingwei Samuel 4faa8e83e4 style: cleanup `insert_only_chashmap.rs` (#63) 2024-02-24 21:42:06 -08:00
Mingwei Samuel 092ea34358 chore: replace `lazy_static` with std `OnceLock` 2024-02-24 09:46:11 -08:00
Mingwei Samuel e4af32288d Regen for new `endOfGameResult` fields 2024-02-16 15:57:59 -08:00
Mingwei Samuel 5e235e3c51 Regen for `tft-match-v1.InfoDto.queue_id` queue enum 2024-01-27 22:55:55 -08:00
Guillermo Lloret Talavera 0f5fae1193
Add TFT queue 6000 (Set 3.5 Revival) (#62)
PR MingweiSamuel/riotapi-schema#43
2024-01-27 17:43:03 -08:00
Mingwei Samuel 4cc241baac Regen 2024-01-25 11:29:58 -08:00
Mingwei Samuel 8d810ccca8 Add rustfmt.toml 2024-01-20 19:41:46 -08:00
Mingwei Samuel 33ef298039 Add `rustfmt_skip` to autogen preambles 2024-01-20 19:40:41 -08:00
Mingwei Samuel 25f41388f0 Regen for minor changes 2024-01-20 19:19:52 -08:00
Mingwei Samuel 4067b0cec7 Regen to fix #61
fix https://github.com/MingweiSamuel/Riven/issues/61

Also regen adds new `lor-match-v1.InfoDto.game_format` field.
2024-01-19 11:19:03 -08:00
Mingwei Samuel 1e136feaf3 Regen for myriad upstream changes from LoL 14.1 2024-01-15 12:01:32 -08:00
Mingwei Samuel 172bc84620 Add special parsing for `GameType`s missing `_GAME` suffix, add tests
https://github.com/RiotGames/developer-relations/issues/878
2024-01-15 11:58:24 -08:00
Mingwei Samuel 4265d7e3c9 Regen for `QueueType::CHERRY`, removed `champion-mastery-v4` summoner ID endpoints 2024-01-04 09:57:50 -08:00
Mingwei Samuel 13a06b224a Update champion-master-v4 tests to use puuid 2023-12-26 22:21:47 -08:00
Mingwei Samuel 904a6b083f Regen for `Hwei`, removal of `clash-v1.getPlayersByPUUID`, and changed/new `match-v5.ParticipantDto.riotIdGameName` field 2023-11-22 09:40:46 -08:00
Mingwei Samuel c7f5c59495 Regen for new `tournament-v5.getGames` endpoint, `match-v5.Participant` updates 2023-11-15 11:43:47 -08:00
Mingwei Samuel dc73fcbf46 update tests from tournament_v4 to tournament_v5 2023-10-17 23:03:21 -07:00
Mingwei Samuel 2661acf5e9 Regen for tournament-v5 endpoints, new `match-v5.ObjectivesDto.horde` field
`horde`: https://github.com/RiotGames/developer-relations/issues/829
2023-10-13 11:22:54 -07:00
Mingwei Samuel 512a7e9020 Regen for `tournament-stub-v5` and `val-content-v1.ContentDto.totem` 2023-09-21 23:43:22 -07:00
Mingwei Samuel 1ec4c18ae4 Regen for Briar, new `champion-mastery-v4.getChampionMasteryByPUUID` endpoint 2023-09-05 00:38:32 -07:00
Mingwei Samuel fc42abcbe2 update codegen to avoid `clippy::redundant_locals` 2023-08-11 11:42:46 -07:00
Mingwei Samuel 41a00d68f6 Regen for the Arena 2v2v2v2 `CHERRY` game mode 2023-07-22 22:07:55 -07:00
Mingwei Samuel 800f9c83f4 Add new Arena 2v2v2v2 `CHERRY` game mode, tests 2023-07-22 22:07:25 -07:00
Mingwei Samuel 7c0fff55ae
Add EMERALD tier, fix #55 (#56)
fix #55
2023-07-21 08:45:13 -07:00
Mingwei Samuel 2aa493abfe Regen for Naafiri, removed champion-mastery-v4 by-puuid endpoints, off-season nullables 2023-07-19 13:51:58 -07:00
Mingwei Samuel bf51ba0a83 Regenerate for new `champion-mastery-v4` PUUID methods, new `match-v5.ParticipantDto` fields
New `champion-mastery-v4` endpoints:
* `getAllChampionMasteriesByPUUID`
* `getChampionMasteryByPUUID`
* `getTopChampionMasteriesByPUUID`
* `getChampionMasteryScoreByPUUID`

New fields: `match-v5.ParticipantDto.playerAugment[1234],playerSubteamId,subteamPlacement`
2023-06-16 12:06:40 -07:00
Mingwei Samuel 3070216709 Regen for new `match-v5.ParticipantChallenges.twoWardsOneSweeperCount` field 2023-05-29 19:56:31 -07:00
Mingwei Samuel ad08632089 Regen for new `champion-mastery-v4.ChampionMasteryDto.puuid` field 2023-05-15 09:15:59 -07:00
Mingwei Samuel cb5bd58784 cargo clippy fixes, enable lints in CI 2023-05-10 13:10:58 -07:00
Mingwei Samuel e53d78c807 cargo fmt 2023-05-10 13:10:58 -07:00
Mingwei Samuel 3d1188b5c9 rustfmt ignore templated generated files 2023-05-10 13:10:58 -07:00
Mingwei Samuel 150566983e Regen, `val-match-v1.MatchlistEntryDto.queueId` 2023-05-10 11:51:30 -07:00
Mingwei Samuel 1567bae16e Update `FakeInstant`, token bucket test 2023-04-29 12:43:38 -07:00
Mingwei Samuel 94e0a0d1d3 Regen for `match-v5.ParticipantDto.totalAlly/EnemyJungleMinionsKilled` fields 2023-04-23 10:13:48 -07:00