tf2-static-schema 1.89.1 → 1.89.2
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 +24 -22
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,28 +19,30 @@ npm install tf2-static-schema
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
`require('tf2-static-schema/static/*')`, * can be:
|
|
25
|
-
|
|
26
|
-
`
|
|
27
|
-
`
|
|
28
|
-
`
|
|
29
|
-
`items
|
|
30
|
-
`
|
|
31
|
-
`
|
|
32
|
-
`
|
|
33
|
-
`
|
|
34
|
-
`
|
|
35
|
-
`
|
|
36
|
-
`
|
|
37
|
-
`sets`,
|
|
22
|
+
All parts are required through node resolver.
|
|
23
|
+
|
|
24
|
+
`require('tf2-static-schema/static/*')`, * can be one of:
|
|
25
|
+
- `attributes`
|
|
26
|
+
- `effects`
|
|
27
|
+
- `item-names`
|
|
28
|
+
- `items`
|
|
29
|
+
- `items-game`
|
|
30
|
+
- `levels`
|
|
31
|
+
- `lookups`
|
|
32
|
+
- `origins`
|
|
33
|
+
- `paint-kits`
|
|
34
|
+
- `parts`
|
|
35
|
+
- `qualities`
|
|
36
|
+
- `sets`
|
|
38
37
|
|
|
39
38
|
`require('tf2-static-schema/core')` provides:
|
|
40
39
|
|
|
41
|
-
`fetchAll` - fetches all schemas
|
|
42
|
-
`update` - updates static files
|
|
43
|
-
`getItemsGame` - fetches game metadata
|
|
44
|
-
`getPaintKits` - fetchs paint kits
|
|
45
|
-
`getSchemaItems` - fetches the items with API Key
|
|
46
|
-
`getSchemaOverview` - fetches the overview with API Key
|
|
40
|
+
- `fetchAll` - fetches all schemas
|
|
41
|
+
- `update` - updates static files
|
|
42
|
+
- `getItemsGame` - fetches game metadata
|
|
43
|
+
- `getPaintKits` - fetchs paint kits
|
|
44
|
+
- `getSchemaItems` - fetches the items with API Key
|
|
45
|
+
- `getSchemaOverview` - fetches the overview with API Key
|
|
46
|
+
|
|
47
|
+
This package is used as a sister package to [tf2-item-format](https://github.com/danocmx/node-tf2-item-format), a
|
|
48
|
+
parsing/builder library for different TF2 item formats used across the community.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tf2-static-schema",
|
|
3
|
-
"version": "1.89.
|
|
3
|
+
"version": "1.89.2",
|
|
4
4
|
"description": "Updates TF2 schema into temporary files that you can lazy load in your app.",
|
|
5
5
|
"main": "./index",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"semantic-release": "^24.0.0"
|
|
18
18
|
},
|
|
19
19
|
"optionalDependencies": {
|
|
20
|
-
"axios": "^1.
|
|
20
|
+
"axios": "^1.10.0",
|
|
21
21
|
"vdf": "0.0.2"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|