Releases: Lightspots/StorageProvider
Releases · Lightspots/StorageProvider
2.0.1: Fix "0" becomes undefined
2.0.0: Updated typings
Updated typings
object
=> Record<string, unknown>
any
=> StorageValue | StorageValue[]
type StorageValue = string | number | boolean | Record<string, unknown>;
2.0.0-beta.1
Updated typings
object
=> Record<string, unknown>
any
=> StorageValue | StorageValue[]
type StorageValue = string | number | boolean | Record<string, unknown>;
1.4.1: Decode "+" as space
Merge pull request #7 from Grisu118/fix-encoding-of-plus-sign :bug: [url] "+" is a space in url params, so we need to decode this a…
1.4.0: isEmtpy() and size()
Add size and isEmpty methods to Storage interface
1.3.0 Add support for transactions to url storage
- Adding set method which takes an
{ [index:string]: any }
object to set more than one key value pair in one call. An urlStorage withHistoryMode.PUSH
will only create one new history entry. - Support
del
method with an array argument to delete multiple keys at once. Same behavior like above
1.2.1 Support for HistoryMode
Create a urlStorage with two different Modes.
- REPLACE: Will replace the existing url on set and delete operations
- PUSH: Will push a the url with the new params to the history.
Initial Release
1.0.0 + Add gitignore and add repo url