All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
useJSON
was changed topersist.stringify
.- Exported typings.
- All functions that previously returns
-1
are now void.
- Previously only one store, now you can create self-contained stores by calling
createStore()
.
- Added typings by using TypeScript
- Added second argument to events callback, which is the name of the event that was emitted #4
- Linting, formatting, and some variable names #5
- Calls to
restore
oninitializeStore
will now mergeinitialStore
andsavedStore
;savedStore
will always take precedence overinitializeStore
. This is to allow for better defaults when adding new values torestore
#3