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

Update use case 4 in amazon-cognito-identity-js to use AWS SDK for JavaScript (v3) #13241

Open
2 tasks
trivikr opened this issue Apr 11, 2024 · 1 comment
Open
2 tasks
Assignees
Labels
amazon-cognito-identity-js Used for issues related to this specific package within the monorepo dependencies Pull requests that update a dependency file documentation Related to documentation feature requests V5

Comments

@trivikr
Copy link

trivikr commented Apr 11, 2024

Is this related to a new or existing framework?

No response

Is this related to a new or existing API?

No response

Is this related to another service?

Cognito

Describe the feature you'd like to request

The use case 4 on README shows an example using AWS SDK for JavaScript (v2)

Use case 4. Authenticating a user and establishing a user session with the Amazon Cognito Identity service.

import * as AWS from 'aws-sdk/global';

https://www.npmjs.com/package/amazon-cognito-identity-js/v/6.3.12

The AWS SDK for JavaScript (v2) will enter maintenance mode on September 8, 2024 and reach end-of-support on September 8, 2025.

Describe the solution you'd like

Replace the use case with equivalent code in AWS SDK for JavaScript (v3)

Describe alternatives you've considered

Continue using AWS SDK for JavaScript (v2) even if it's unsupported.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@trivikr trivikr added the pending-triage Issue is pending triage label Apr 11, 2024
@cwomack cwomack added dependencies Pull requests that update a dependency file amazon-cognito-identity-js Used for issues related to this specific package within the monorepo documentation Related to documentation feature requests and removed pending-triage Issue is pending triage labels Apr 11, 2024
@cwomack cwomack self-assigned this Apr 11, 2024
@cwomack
Copy link
Contributor

cwomack commented Apr 11, 2024

Hello, @trivikr 👋. Thanks for opening this issue and pointing this out. Looks like we need to update our code example to use the new version.

@cwomack cwomack added the V5 label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazon-cognito-identity-js Used for issues related to this specific package within the monorepo dependencies Pull requests that update a dependency file documentation Related to documentation feature requests V5
Projects
None yet
Development

No branches or pull requests

2 participants