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

feat(liveness): add credentialProvider prop #3790

Merged
merged 27 commits into from
Jun 12, 2023

Conversation

thaddmt
Copy link
Contributor

@thaddmt thaddmt commented Apr 28, 2023

Description of changes

Issue #, if available

Description of how you validated changes

Checklist

  • Have read the Pull Request Guidelines
  • PR description included
  • Relevant documentation is changed or added (and PR referenced)
  • yarn test passes and tests are updated/added
  • No side effects or sideEffects field updated

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@changeset-bot
Copy link

changeset-bot bot commented Apr 28, 2023

⚠️ No Changeset found

Latest commit: 5a2a331

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@thaddmt thaddmt temporarily deployed to ci April 28, 2023 03:06 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 03:06 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 03:06 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 03:06 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 15:42 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 15:42 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 15:42 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 15:42 — with GitHub Actions Inactive
ayush987goyal
ayush987goyal previously approved these changes Apr 28, 2023
Copy link
Contributor

@ayush987goyal ayush987goyal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall. Thanks for taking this up!

@thaddmt thaddmt temporarily deployed to ci April 28, 2023 17:48 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 17:48 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 17:48 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci April 28, 2023 17:48 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci May 26, 2023 19:15 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci May 26, 2023 19:15 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci May 26, 2023 19:15 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci May 26, 2023 19:15 — with GitHub Actions Inactive
@thaddmt thaddmt marked this pull request as ready for review May 26, 2023 23:30
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 17:37 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 17:37 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 17:37 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 18:14 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 18:14 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 18:14 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 18:14 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 18:14 — with GitHub Actions Inactive
@thaddmt thaddmt temporarily deployed to ci June 12, 2023 18:14 — with GitHub Actions Inactive
@thaddmt thaddmt merged commit a4d9da6 into liveness/main Jun 12, 2023
26 checks passed
@thaddmt thaddmt deleted the liveness-credentials-provider branch June 12, 2023 19:20
thaddmt added a commit that referenced this pull request Jul 18, 2023
* feat(liveness): add credentialProvier prop

* chore: update sdk types

* chore: remove extra api definition

* update yarn.lock

* chore: update credential provider API based on internal review

* chore: add unit tests to fix coverage

* chore: address feedback

* chore: add comment on why credentials are copied, fix unit tests

* chore: add size limit check for react-liveness

* fix: reusable unit test size check

* chore: update types to better match AWS SDK types, export them as well

* Update packages/react-liveness/src/components/FaceLivenessDetector/service/types/liveness.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Update packages/react-liveness/src/components/FaceLivenessDetector/service/types/liveness.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* chore: switch to using credential-provider@3.310.0

* address feedback

* Update packages/e2e/features/ui/components/liveness/with-credential-provider.feature

* update to use more recent aws-sdk deps

* try fixing deps

* update aws-sdk dep to 3.350.0

* maybe this fixes it

* another try

* fix yarn.lock

* fix e2e test

---------

Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
thaddmt added a commit that referenced this pull request Jul 19, 2023
* feat(liveness): add credentialProvider prop (#3790)

* feat(liveness): add credentialProvier prop

* chore: update sdk types

* chore: remove extra api definition

* update yarn.lock

* chore: update credential provider API based on internal review

* chore: add unit tests to fix coverage

* chore: address feedback

* chore: add comment on why credentials are copied, fix unit tests

* chore: add size limit check for react-liveness

* fix: reusable unit test size check

* chore: update types to better match AWS SDK types, export them as well

* Update packages/react-liveness/src/components/FaceLivenessDetector/service/types/liveness.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Update packages/react-liveness/src/components/FaceLivenessDetector/service/types/liveness.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* chore: switch to using credential-provider@3.310.0

* address feedback

* Update packages/e2e/features/ui/components/liveness/with-credential-provider.feature

* update to use more recent aws-sdk deps

* try fixing deps

* update aws-sdk dep to 3.350.0

* maybe this fixes it

* another try

* fix yarn.lock

* fix e2e test

---------

Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>

* update yarn.lock

* Create pretty-laws-obey.md

* update ignored links

* fix yarn.lock

---------

Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
thaddmt added a commit that referenced this pull request Jul 19, 2023
* feat(liveness): add credentialProvider prop (#3790)

* feat(liveness): add credentialProvier prop

* chore: update sdk types

* chore: remove extra api definition

* update yarn.lock

* chore: update credential provider API based on internal review

* chore: add unit tests to fix coverage

* chore: address feedback

* chore: add comment on why credentials are copied, fix unit tests

* chore: add size limit check for react-liveness

* fix: reusable unit test size check

* chore: update types to better match AWS SDK types, export them as well

* Update packages/react-liveness/src/components/FaceLivenessDetector/service/types/liveness.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Update packages/react-liveness/src/components/FaceLivenessDetector/service/types/liveness.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* chore: switch to using credential-provider@3.310.0

* address feedback

* Update packages/e2e/features/ui/components/liveness/with-credential-provider.feature

* update to use more recent aws-sdk deps

* try fixing deps

* update aws-sdk dep to 3.350.0

* maybe this fixes it

* another try

* fix yarn.lock

* fix e2e test

---------

Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>

* update yarn.lock

* Create pretty-laws-obey.md

* update ignored links

* fix yarn.lock

* chore(docs): add liveness credential provider docs

---------

Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

None yet

5 participants