diff --git a/.changeset/brown-dryers-divide.md b/.changeset/brown-dryers-divide.md deleted file mode 100644 index 16c7f7e..0000000 --- a/.changeset/brown-dryers-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gw2api/types": patch ---- - -Add types for `/v2/account/wallet` diff --git a/.changeset/chatty-owls-stare.md b/.changeset/chatty-owls-stare.md deleted file mode 100644 index d4a9ebf..0000000 --- a/.changeset/chatty-owls-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gw2api/types": patch ---- - -Add types for `/v2/account/achievements` diff --git a/.changeset/khaki-wolves-swim.md b/.changeset/khaki-wolves-swim.md deleted file mode 100644 index 8c099e9..0000000 --- a/.changeset/khaki-wolves-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gw2api/types": patch ---- - -Fix model schema resolution diff --git a/.changeset/new-ants-push.md b/.changeset/new-ants-push.md deleted file mode 100644 index 43dd6b2..0000000 --- a/.changeset/new-ants-push.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@gw2api/types": patch ---- - -Add types for wizards vault endpoints -- `/v2/account/wizardsvault/daily` -- `/v2/account/wizardsvault/listings` -- `/v2/account/wizardsvault/special` -- `/v2/account/wizardsvault/weekly` -- `/v2/wizardsvault` -- `/v2/wizardsvault/listings` -- `/v2/wizardsvault/objectives` diff --git a/.changeset/seven-lizards-unite.md b/.changeset/seven-lizards-unite.md deleted file mode 100644 index b812321..0000000 --- a/.changeset/seven-lizards-unite.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"@gw2api/types": patch ---- - -Add types for account endpoints that return a list of ids: -- `/v2/account/dyes` -- `/v2/account/emotes` -- `/v2/account/gliders` -- `/v2/account/home/nodes` -- `/v2/account/jadebots` -- `/v2/account/mailcarriers` -- `/v2/account/mapchests` -- `/v2/account/minis` -- `/v2/account/mounts/skins` -- `/v2/account/mounts/types` -- `/v2/account/novelties` -- `/v2/account/outfits` -- `/v2/account/pvp/heroes` -- `/v2/account/raids` -- `/v2/account/recipes` -- `/v2/account/skiffs` -- `/v2/account/skins` -- `/v2/account/titles` -- `/v2/account/worldbosses` diff --git a/.changeset/tasty-scissors-check.md b/.changeset/tasty-scissors-check.md deleted file mode 100644 index b7cbc37..0000000 --- a/.changeset/tasty-scissors-check.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@gw2api/fetch": minor ---- - -Catch more invalid responses from the Guild Wars 2 API: -- Make sure the response is JSON -- Include `text` in thrown error if the error is a valid error response -- Catch `["v1", "v2"]` error diff --git a/packages/fetch/CHANGELOG.md b/packages/fetch/CHANGELOG.md index 16da68b..39a10b7 100644 --- a/packages/fetch/CHANGELOG.md +++ b/packages/fetch/CHANGELOG.md @@ -1,5 +1,14 @@ # @gw2api/fetch +## 0.1.0 + +### Minor Changes + +- Catch more invalid responses from the Guild Wars 2 API: ([#44](https://github.com/GW2Treasures/gw2api-ts/pull/44) by [@darthmaim](https://github.com/darthmaim)) + - Make sure the response is JSON + - Include `text` in thrown error if the error is a valid error response + - Catch `["v1", "v2"]` error + ## 0.0.8 ### Patch Changes diff --git a/packages/fetch/package.json b/packages/fetch/package.json index b65a27c..0b3d804 100644 --- a/packages/fetch/package.json +++ b/packages/fetch/package.json @@ -1,6 +1,6 @@ { "name": "@gw2api/fetch", - "version": "0.0.8", + "version": "0.1.0", "description": "Tiny wrapper around fetch that returns type-safe responses", "license": "MIT", "main": "dist/index.js", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 13087f5..bef31ff 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,41 @@ # @gw2api/types +## 0.0.6 + +### Patch Changes + +- Add types for `/v2/account/wallet` ([#43](https://github.com/GW2Treasures/gw2api-ts/pull/43) by [@darthmaim](https://github.com/darthmaim)) +- Add types for `/v2/account/achievements` ([#41](https://github.com/GW2Treasures/gw2api-ts/pull/41) by [@darthmaim](https://github.com/darthmaim)) +- Fix model schema resolution ([#39](https://github.com/GW2Treasures/gw2api-ts/pull/39) by [@darthmaim](https://github.com/darthmaim)) +- Add types for wizards vault endpoints ([#47](https://github.com/GW2Treasures/gw2api-ts/pull/47) by [@darthmaim](https://github.com/darthmaim)) + - `/v2/account/wizardsvault/daily` + - `/v2/account/wizardsvault/listings` + - `/v2/account/wizardsvault/special` + - `/v2/account/wizardsvault/weekly` + - `/v2/wizardsvault` + - `/v2/wizardsvault/listings` + - `/v2/wizardsvault/objectives` +- Add types for account endpoints that return a list of ids: ([#42](https://github.com/GW2Treasures/gw2api-ts/pull/42) by [@darthmaim](https://github.com/darthmaim)) + - `/v2/account/dyes` + - `/v2/account/emotes` + - `/v2/account/gliders` + - `/v2/account/home/nodes` + - `/v2/account/jadebots` + - `/v2/account/mailcarriers` + - `/v2/account/mapchests` + - `/v2/account/minis` + - `/v2/account/mounts/skins` + - `/v2/account/mounts/types` + - `/v2/account/novelties` + - `/v2/account/outfits` + - `/v2/account/pvp/heroes` + - `/v2/account/raids` + - `/v2/account/recipes` + - `/v2/account/skiffs` + - `/v2/account/skins` + - `/v2/account/titles` + - `/v2/account/worldbosses` + ## 0.0.5 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 2cdc4fc..1895ef0 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@gw2api/types", - "version": "0.0.5", + "version": "0.0.6", "description": "TypeScript types for all datastructures used by the Guild Wars 2 API", "license": "MIT", "repository": {