Releases: Luuk-Dev/ValueSaver
Releases · Luuk-Dev/ValueSaver
Release list
1.9.2
1.9.2
New features:
- Import ValueSaver from Map
- Convert ValueSaver to Map
Changes:
- Save function returns a Promise which will be fulfilled once the ValueSaver has successfully been saved
- Removing all saves function returns a Promise which will be fulfilled once all the ValueSaver have successfully been removed
- Import function returns a Promise which will be fulfilled once the ValueSaver has successfully been imported
Bugs patches:
- When an error was thrown while the ValueSaver was being saved would reset the save
- When a ValueSaver couldn't be found would throw an error when recreating it
- When importing a ValueSaver without a correct structure would throw an error
1.7.0
Version 1.7.0
Added:
concatfunction: Concats two ValueSavers together.firstfunction: Returns the first value of the ValueSaver.firstKeyfunction: Returns the first key of the ValueSaver.lastfunction: Returns the last key of the ValueSaver.lastKeyfunction: Returns the last key of the ValueSaver.
Changes:
- If there is already another ValueSaver saved with the same id it will not automatically concat the two ValueSavers together to one ValueSaver. If you still want this to happen, you can use the
concatparameter in thesavefunction. - If there failed something with saving a ValueSaver, it will automatically create an auto-save so the values don't get lost.
- Checks on startup if all saves are available and not are missing.
Install version 1.7.0 on NPMjs:
https://www.npmjs.com/package/valuesaver/v/1.7.0