juspay / hyperswitch-web

Hyperswitch Web SDK: A Rescript powered React library for seamless payment integration and customization.
https://hyperswitch.io/
Apache License 2.0
53 stars 59 forks source link

refactor: Shared code #728

Open manideepk90 opened 1 month ago

manideepk90 commented 1 month ago

Type of Change

Description

How did you test it?

Checklist

semanticdiff-com[bot] commented 1 month ago

Review changes with SemanticDiff.

Analyzed 1 of 67 files.

Overall, the semantic diff is 68% smaller than the GitHub diff.

File Information | | Filename | Status | | --- | :--- | :--- | | :grey_question: | \.gitignore | Unsupported file format | | :grey_question: | package\-lock\.json | Unsupported file format | | :heavy_check_mark: | [rescript\.json](https://app.semanticdiff.com/gh/juspay/hyperswitch-web/pull/728/changes#rescript.json) | 67.94% smaller | | :grey_question: | src/CardTheme\.res | Unsupported file format | | :grey_question: | src/CardUtils\.res | Unsupported file format | | :grey_question: | src/CollectWidget\.res | Unsupported file format | | :grey_question: | src/Payment\.res | Unsupported file format | | :grey_question: | src/orca\-log\-catcher/OrcaLogger\.res | Unsupported file format | | :grey_question: | src/orca\-loader/Hyper\.res | Unsupported file format | | :grey_question: | src/Utilities/DynamicFieldsUtils\.res | Unsupported file format | | :grey_question: | src/Utilities/LoggerUtils\.res | Unsupported file format | | :grey_question: | src/Utilities/PaymentHelpers\.res | Unsupported file format | | :grey_question: | src/Utilities/PaymentMethodCollectUtils\.res | Unsupported file format | | :grey_question: | src/Utilities/PaymentUtils\.res | Unsupported file format | | :grey_question: | src/Utilities/TaxCalculation\.res | Unsupported file format | | :grey_question: | src/Utilities/Utils\.res | Unsupported file format | | :grey_question: | src/Payments/CardPayment\.res | Unsupported file format | | :grey_question: | src/LocaleStrings/LocaleStringHelper\.res | Unsupported file format | | :grey_question: | src/Components/EmailPaymentInput\.res | Unsupported file format | | :grey_question: | shared\-code/payments/SharedPaymentHelpers\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/CardCvcValidation\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/CardExpiryValidation\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/CardPattern\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/CardValidationClientCore\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/CardValidationWeb\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/EmailValidation\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/PostalCodes\.res | Unsupported file format | | :grey_question: | shared\-code/Validations/ZipValidation\.res | Unsupported file format | | :grey_question: | shared\-code/Utils/LogUtils\.res | Unsupported file format | | :grey_question: | shared\-code/Utils/SharedUtils\.res | Unsupported file format | | :grey_question: | shared\-code/Utils/ValidationUtils\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/ArabicLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/BosnianLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/CatalanLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/ChineseLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/ConstantStrings\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/CzechLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/DanishLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/DeutschLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/DutchBelgiumLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/DutchLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/EnglishGBLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/EnglishLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/EstonianLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/FinnishLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/FrenchBelgiumLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/FrenchLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/GreekLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/HebrewLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/IcelandicLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/ItalianLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/JapaneseLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/LithuanianLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/LocaleStringHelper\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/LocaleStringTypes\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/LocalehelperWeb\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/MalayLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/NorwegianLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/PolishLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/PortugueseLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/RussianLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/SlovakLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/SpanishLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/SwedishLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/TurkishLocale\.res | Unsupported file format | | :grey_question: | shared\-code/LocaleStrings/WelshLocale\.res | Unsupported file format | | :grey_question: | Hyperswitch\-React\-Demo\-App/\.env | Unsupported file format |