@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 +2 -1
- package/dist/data/colors_xiv.json +272 -136
- package/dist/data/locales/de.json +3 -1
- package/dist/data/locales/en.json +3 -1
- package/dist/data/locales/fr.json +3 -1
- package/dist/data/locales/ja.json +3 -1
- package/dist/services/dye/DyeDatabase.d.ts +23 -0
- package/dist/services/dye/DyeDatabase.d.ts.map +1 -1
- package/dist/services/dye/DyeDatabase.js +34 -0
- package/dist/services/dye/DyeDatabase.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
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
|