Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Humbly request to re-write this SDK in today's javascript standard #681

Open
musso opened this issue Feb 10, 2018 · 1 comment
Open

Humbly request to re-write this SDK in today's javascript standard #681

musso opened this issue Feb 10, 2018 · 1 comment

Comments

@musso
Copy link

musso commented Feb 10, 2018

Hi core team,

To minimise the headache of using this popular library( got over 4000 npm downloads everyday).

Here are some suggestions to improve code quality.

  1. Use promise instead of passing callback (http://callbackhell.com)
  2. Use TypeScript for type-checking
  3. Use lodash or similar library to deal with object / array instead of passing a raw object / array

Or please suggest the development roadmap so that we dont have to build our own layer of interface on top of this.

Seem to me that this library was developed / initialised by non-javascript/ modern javascript developers. For others having same thought, please share your difficulties / suggestions on using this library.

Many Thanks,

Musso

@itrestian
Copy link
Contributor

You might want to have a look at AWS Amplify that exposes a higher level interface for Auth over this library:

https://github.com/aws/aws-amplify

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

No branches or pull requests

2 participants