Builds sessionStorage wrapper.
Key used to store the persisted state.
Optional
Custom conversion from state object to string (default is JSON.stringify).
Custom conversion from string to state object (default is JSON.parse).
Outer - The Vuex state type.
Inner - The storage state type.
Builds sessionStorage wrapper.