guildwars2-ts 1.0.3 → 1.0.4
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 +3 -4
- package/dist/index.d.mts +11546 -5715
- package/dist/index.d.ts +11546 -5715
- package/dist/index.js +4527 -582
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4527 -582
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Typescript API Wrapper for GuildWars 2
|
|
2
2
|
|
|
3
3
|
[![NPM version][npm-image]][npm-link]
|
|
4
|
-
[![License][license]][
|
|
4
|
+
[![License][license]][license-file]
|
|
5
5
|
|
|
6
6
|
This project is a third-party package, and is strictly not affiliated with GuildWars2, ArenaNet, or NCSoft.
|
|
7
7
|
|
|
@@ -11,7 +11,6 @@ When used, no data is saved by, or sent to the developers, including but not lim
|
|
|
11
11
|
|
|
12
12
|
Full support of all endpoints listed in the [API:2 Wiki](https://wiki.guildwars2.com/wiki/API:2) page
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
## Request Example
|
|
16
15
|
|
|
17
16
|
```typescript
|
|
@@ -44,12 +43,12 @@ const api: GW2Api = new GW2Api({
|
|
|
44
43
|
If you find any kinds of errors in the program code, or wish to add/update any of the functionality provided by this project, please feel free to open a pull request. Validation error logs are extremely helpful, so please include them in the request
|
|
45
44
|
|
|
46
45
|
## Plans
|
|
47
|
-
- Conditional type validation for several endpoints - [Work in progress](https://gitlab.com/dinckelman/guildwars2-ts/-/tree/validation)
|
|
48
46
|
- Data caching for repeated requests
|
|
49
47
|
- Better logging
|
|
50
48
|
- Support for different schemas, when available
|
|
49
|
+
- Endpoint structure rework (backend only)
|
|
51
50
|
|
|
52
51
|
[npm-image]: https://img.shields.io/npm/v/guildwars2-ts
|
|
53
52
|
[npm-link]: https://www.npmjs.com/package/guildwars2-ts
|
|
54
53
|
[license]: https://img.shields.io/gitlab/license/dinckelman%2Fguildwars2-ts
|
|
55
|
-
|
|
54
|
+
[license-file]: ./LICENSE
|