Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in method getAll #202

Open
koalex opened this issue Feb 25, 2023 · 0 comments
Open

Bug in method getAll #202

koalex opened this issue Feb 25, 2023 · 0 comments

Comments

@koalex
Copy link

koalex commented Feb 25, 2023

Method getAll return is not valid keys if key includes dot. Example:

storage.setSync('x-access-token.sig', { a: 1 }); // or async

storage.getAll((err, data) => {
  // data should be:  { 'x-access-token.sig': { a: 1 } };

  // but received: { sig: { a: 1 } }
});

Methods getSync & get works correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant