cs2-inventory-resolver 0.4.19 → 0.4.20

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/dist/types.d.ts CHANGED
@@ -48,7 +48,10 @@ export interface GcItemInput {
48
48
  def_index: number;
49
49
  /** The paint/skin index. Non-zero for weapon skins. */
50
50
  paint_index?: number;
51
- /** The item quality (3 = ★ knife/glove, 9 = StatTrak, 12 = Souvenir). */
51
+ /**
52
+ * The item quality. Only `3` (★ knife/glove) affects resolution; StatTrak™ and
53
+ * Souvenir are detected from attributes 80 and 140, not from this field.
54
+ */
52
55
  quality?: number;
53
56
  /** The paint wear float (0.0–1.0). Present only for skins. */
54
57
  paint_wear?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cs2-inventory-resolver",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
4
4
  "description": "Resolve CS2 Game Coordinator protobuf items into human-readable names, images, and categories",
5
5
  "keywords": [
6
6
  "cs2",