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: adds field validation and onChange events #26

Merged
merged 29 commits into from
Oct 25, 2023
Merged

Conversation

kevinperaza
Copy link
Contributor

@kevinperaza kevinperaza commented Oct 18, 2023

Description

  • feat: adds element validation
  • feat: adds onChange events
  • refactor: reconcile masking

Testing required outside of automated testing?

  • Not Applicable

Screenshots (if appropriate):

  • Not Applicable

Rollback / Rollforward Procedure

  • Roll Forward
  • Roll Back

Reviewer Checklist

  • Description of Change
  • Description of outside testing if applicable.
  • Description of Roll Forward / Backward Procedure
  • Documentation updated for Change

@kevinperaza kevinperaza force-pushed the eng-5049 branch 5 times, most recently from 010ead9 to 1155ee1 Compare October 19, 2023 23:02
feat: adds mask validator for text element

refactor: rename validation hook
refactor: promote card metadata to its own hook
refactor: ramda all the things
refactor: removes unnecessary state
refactor: implements useMask hook
refactor: removes unnecessary state
refactor: implements useMask hook
…ange)

refactor: removes unnecessary state
refactor: implements useMask hook
refactor: removes unnecessary state
refactor: implements useMask hook
test: updates card number tests to assert against new props
@kevinperaza kevinperaza marked this pull request as ready for review October 19, 2023 23:09
@kevinperaza kevinperaza requested a review from a team as a code owner October 19, 2023 23:09
src/index.ts Outdated Show resolved Hide resolved
@kevinperaza kevinperaza force-pushed the eng-5049 branch 7 times, most recently from a8e269c to ed77cd4 Compare October 25, 2023 02:59
lcschy
lcschy previously approved these changes Oct 25, 2023
@kevinperaza
Copy link
Contributor Author

Dependencies/Code checks are failing due to axios/axios#6006

@kevinperaza kevinperaza merged commit a916f05 into master Oct 25, 2023
4 checks passed
@kevinperaza kevinperaza deleted the eng-5049 branch October 25, 2023 19:29
bt-platform-eng pushed a commit that referenced this pull request Oct 25, 2023
# [1.0.0-beta.10](v1.0.0-beta.9...v1.0.0-beta.10) (2023-10-25)

### Features

* adds field validation and onChange events ([#26](#26)) ([a916f05](a916f05))
@bt-platform-eng
Copy link

🎉 This PR is included in version 1.0.0-beta.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

bt-platform-eng pushed a commit that referenced this pull request Feb 13, 2024
# 1.0.0 (2024-02-13)

### Bug Fixes

* adds back release branch and adds release branch to repo ([#11](#11)) ([05f3165](05f3165))
* adds missing semantic-release dependency ([#9](#9)) ([90a486c](90a486c))
* fixes .releaserc.json branches ([#10](#10)) ([38b30f5](38b30f5))
* fixes NPM package access ([#17](#17)) ([be0fea5](be0fea5))
* fixes publish to NPM ([#16](#16)) ([60264e7](60264e7))
* publishes to NPM ([#15](#15)) ([b55e669](b55e669))
* ramda types ([#27](#27)) ([8489375](8489375))
* rebuild lockfile and install semver as devDependency ([#39](#39)) ([1a16fc6](1a16fc6))
* release ([#14](#14)) ([f23fbf9](f23fbf9))
* remove extends from tsconfig ([#38](#38)) ([469a4be](469a4be))
* removes includeResponseHeaders from proxy service ([#20](#20)) ([f43fdcc](f43fdcc))
* removes react-native prop from package.json ([#18](#18)) ([b2389c3](b2389c3))

### Features

* add 'latest' tag to release ([#34](#34)) ([fe37463](fe37463))
* add missing dep ([#40](#40)) ([ce61d21](ce61d21))
* adds CardNumber element and getTokenById and createSession services ([#7](#7)) ([7581f48](7581f48))
* adds CardVerificationCodeElement, CardExpirationDateElement, and proxy service methods ([#13](#13)) ([5abb71a](5abb71a))
* adds custom bin validation ([#36](#36)) ([5e2b202](5e2b202))
* adds datadog logging ([#29](#29)) ([4239bc3](4239bc3))
* adds dynamic mask to cvc element ([#25](#25)) ([3e4271e](3e4271e))
* adds field validation and onChange events ([#26](#26)) ([a916f05](a916f05))
* adds TextElement ([#24](#24)) ([4acba48](4acba48))
* adds transform ([#30](#30)) ([7038938](7038938))
* allow to set expiration date from Card token ([#23](#23)) ([52db679](52db679))
* bump ramda types ([#33](#33)) ([9df3dd8](9df3dd8))
* collect cards ([#28](#28)) ([d48ea4a](d48ea4a))
* remove device info from logging ([#35](#35)) ([e7887a2](e7887a2))
* run validation before tokenization ([#31](#31)) ([4dc3d1c](4dc3d1c))
* upgrade deps ([#37](#37)) ([5c8557e](5c8557e))
@bt-platform-eng
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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