Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Support `id` on web Local storage does not have a concept of separate stores in user code, this change emulates that behaviour by prefixing the keys in local storage with `id`. This retains backwards compatibility with existing web MMKV stores by treating the the default `mmkv.default` id is as prefixless. Fixes #520 * feat: Adds a check to key and id values to reject our wildcard character on web (a backslash) (#1) * feat: Adds a check to key and id values to reject our wildcard character on web (a backslash) --------- Co-authored-by: Jonathan Jacobs <jonathan@yoco.co.za> Co-authored-by: CannibalKush <45557293+CannibalKush@users.noreply.github.com>
- Loading branch information