guildwars2-ts 1.0.3 → 1.1.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/LICENSE CHANGED
@@ -1,16 +1,16 @@
1
- ISC License
2
-
3
- Copyright (c) 2023 Ivan Sosnov
4
- Copyright (c) 2021 Julio Sansossio (parts of request base code)
5
-
6
- Permission to use, copy, modify, and/or distribute this software for any
7
- purpose with or without fee is hereby granted, provided that the above
8
- copyright notice and this permission notice appear in all copies.
9
-
10
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16
- PERFORMANCE OF THIS SOFTWARE.
1
+ ISC License
2
+
3
+ Copyright (c) 2023 Ivan Sosnov
4
+ Copyright (c) 2021 Julio Sansossio (parts of request base code)
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted, provided that the above
8
+ copyright notice and this permission notice appear in all copies.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16
+ PERFORMANCE OF THIS SOFTWARE.
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]][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