Closed jezzzm closed 1 month ago
Good point cc @greph
Ah that's a great call out. Taking a look.
On Tue, May 2, 2023 at 10:47 AM Eric @.***> wrote:
Good point cc @greph https://github.com/greph
— Reply to this email directly, view it on GitHub https://github.com/swellstores/swell-js/issues/105#issuecomment-1531891746, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN5NFD3PF5MSNLLWEXR3K3XEFCCBANCNFSM6AAAAAAXS2MMSA . You are receiving this because you were mentioned.Message ID: @.***>
-- Greg Hoskin (650) 665-0924 @.***
@jezzzm this should be fixed in v4.1.1
.
needs to allow strings that begin with zero.
e.g. passing to
card.createToken
:currently, by coercing the string
"089"
to a number in order to appease Swell types,89
is passed to the validation function and therefore fails as it is only 2 digits.