When creating a new "Client" object, we check in the storage if there're some irrelevant acc.js.sdk cache items: containing other sdk versions or cache for other instances.
Related Issue
Motivation and Context
in the case of using localStorage, whose size is limited to 5Mb, the irrelevant caches take space
How Has This Been Tested?
A unit test has been added
Screenshots (if appropriate):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
When creating a new "Client" object, we check in the storage if there're some irrelevant acc.js.sdk cache items: containing other sdk versions or cache for other instances.
Related Issue
Motivation and Context
in the case of using localStorage, whose size is limited to 5Mb, the irrelevant caches take space
How Has This Been Tested?
A unit test has been added
Screenshots (if appropriate):
Types of changes
Checklist: