@xivdyetools/core 1.5.5 → 1.6.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/README.md CHANGED
@@ -121,7 +121,8 @@ const dyeService = new DyeService(dyeDatabase);
121
121
 
122
122
  // Database access
123
123
  const allDyes = dyeService.getAllDyes(); // 136 dyes
124
- const dyeById = dyeService.getDyeById(5752); // Jet Black Dye
124
+ const dyeById = dyeService.getDyeById(5752); // By itemID - Jet Black Dye
125
+ const dyeByStain = dyeService.getByStainId(1); // By stainID - Snow White
125
126
  const categories = dyeService.getCategories(); // ['Neutral', 'Red', 'Blue', ...]
126
127
 
127
128
  // Color matching