Enhance
When enhancing a storage adapter, it needs to be able to store additional information. It does this by wrapping the actual data inside an object, and adding more properties to this wrapper.
This interface defines the additional properties that need to be stored by a storage adapter that supports enhanced sessions.
Properties
v
ts
v?: number;
Version
__d
ts
__d: T;
Data
e
ts
e?: number;
Expiry date