momentohq / client-sdk-javascript

Official JavaScript SDK for Momento Serverless Cache
Apache License 2.0
55 stars 20 forks source link

feat: add default credential providers to all clients #1419

Closed anitarua closed 2 months ago

anitarua commented 2 months ago

Work towards https://github.com/momentohq/dev-eco-issue-tracker/issues/975

Added a new function getDefaultCredentialProvider to the core package that's used in both node and web sdks when creating clients with optional credential providers (should be all 5 of them now: cache, topics, auth, leaderboard, storage)