amazon-archives / amazon-cognito-js

Amazon Cognito Sync Manager for JavaScript
http://aws.amazon.com/cognito
Apache License 2.0
202 stars 83 forks source link

wipeData clears all localStorage, even keys not created by aws/cognito #35

Open andresgarza opened 8 years ago

andresgarza commented 8 years ago

local.wipeData() currently deletes all data in localStorage, whether it is created by amazon or not. This library should be a good citizen and only clear data that it created, not all data.