tornapi-typescript 0.1.5 → 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.
Files changed (2) hide show
  1. package/README.md +3 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![NPM Version](https://img.shields.io/npm/v/tornapi-typescript)](https://www.npmjs.com/package/tornapi-typescript)
4
4
  [![NPM Downloads](https://img.shields.io/npm/d18m/tornapi-typescript)](https://www.npmjs.com/package/tornapi-typescript)
5
5
 
6
- Automatically generated type definition in Typescript for [torn.com](https://torn.com) API V2.
6
+ Automatically generated type definition in TypeScript for [torn.com](https://torn.com) API V2.
7
7
 
8
8
  ## Installation
9
9
 
@@ -14,9 +14,7 @@ Automatically generated type definition in Typescript for [torn.com](https://tor
14
14
  These types are generated in the following way:
15
15
 
16
16
  * load [openapi specification](https://www.torn.com/swagger/openapi.json)
17
- * clean the specification for better types
18
- * remove `type` when `oneOf` is present, for improved types
19
- * convert the specification to Typescript definitions using [typeconv](https://github.com/grantila/typeconv)
17
+ * convert the specification to TypeScript definitions using [typeconv](https://github.com/grantila/typeconv)
20
18
  * clean the type definitions
21
19
  * remove all "[key: string]: any;", because typeconv adds it everywhere for some reason
22
20
  * remove all empty objects (caused by the above cleaning)
@@ -25,4 +23,4 @@ These types are generated in the following way:
25
23
  ## Contact
26
24
 
27
25
  You can join the community in [our Discord server](https://discord.gg/2wb7GKN). There you can discuss anything related
28
- to the Torn API, or other tools related to Torn. Issues can also be reported there, or as GitHub issue.
26
+ to the Torn API or other tools related to Torn. Issues can also be reported there, or as GitHub issue.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "0.1.5",
4
+ "version": "0.2.0",
5
5
  "scripts": {
6
6
  "generate-types": "tsc && node build/index.js"
7
7
  },