Commit Graph

3520 Commits

Author SHA1 Message Date
renovate[bot]
2a06f68ff3 chore(deps): update dependency webpack to v5.81.0 (#2176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 09:41:41 -03:00
renovate[bot]
aafc3b1239 Update dependency preact to v10.13.2 (#2048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 13:08:58 -03:00
renovate[bot]
cf1c52c11b chore(deps): update dependency sass to v1.62.1 (#2172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 12:57:34 -03:00
renovate[bot]
7869fd64c0 chore(deps): update dependency eslint to v8.39.0 (#2171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 12:57:01 -03:00
renovate[bot]
f3514205dd chore(deps): update dependency webpack-dev-server to v4.13.3 (#2168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 14:24:58 -03:00
renovate[bot]
461cdc6f84 chore(deps): update dependency prettier to v2.8.8 (#2167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 14:24:32 -03:00
sponglord
c82141f4ea Merge pull request #2166 from Adyen/fix/Field_comp_stops_using_div_in_label
Field comp stops using div element inside the label
2023-05-16 16:54:14 +02:00
renovate[bot]
9b24ccbafc chore(deps): update dependency webpack-cli to v5.0.2 (#2161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 11:38:27 -03:00
renovate[bot]
198be5a84e Update dependency postcss to v8.4.23 (#2160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 11:37:56 -03:00
nicholas
c51d8d17c1 Field comp stops using div element inside the label 2023-05-16 15:37:36 +02:00
Guilherme Ribeiro
aec54490bd Release 5.43.0 (#2164) 2023-05-15 10:12:34 -03:00
Guilherme Ribeiro
35a96909a5 Click to Pay - Standalone component (#2138)
* feat: ctp folder + element

* feat: fixed pressing enter submission + catching exception on logout + removed section container

* feat: added isAvailable + hiding from dropin

* fix: fixing imports

* feat: fixed missing props

* fix: fixed imports again

* feat: css fix + unit tests

* feat: added onReady callback

* fix: unit tests

* feat: fixing sonarcloud bugs

* fix: unit test

* feat: updating wallets

* feat: adding check if ctpservice fails to be created

* fix: tests + isAvailable check

* feat: simplified format data

* fix: attempt fix sonarcloud issues

* fix: await logout
2023-05-15 09:54:10 -03:00
sponglord
3bb124d0d0 Merge pull request #2163 from Adyen/feature/add_paymentMethodVariant_to_onBinLookup
Add a paymentMethodVariants array to the object sent to the onBinLookup callback
2023-05-15 13:52:42 +02:00
António Ferreira
83b2b3585e Fixes resources not being passed to provider (#2157)
* fixes resources not being passed or provider

adds playwright tests for securefields

* add extra checks if resource is missing

* Adding extra, defensive, check to Icon

---------

Co-authored-by: nicholas <nicholas.spong@adyen.com>
2023-05-15 12:55:26 +02:00
nicholas
8ed6fc3202 Add a paymentMethodVariants array to the object sent to the onBinLookup callback 2023-05-15 11:42:06 +02:00
sponglord
39f132de7a Merge pull request #2162 from Adyen/fix/a11y_attributes_for_Sepa
Added name property to Sepa ownerName & ibanNumber fields
2023-05-15 11:28:31 +02:00
nicholas
345b747a38 Added name property to Sepa ownerName & ibanNumber fields 2023-05-15 10:16:42 +02:00
renovate[bot]
aeaa68796c Update dependency jest-mock-extended to v3.0.4 (#2159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 10:57:30 -03:00
renovate[bot]
f31d2c863c Update dependency prettier to v2.8.7 (#2107)
* Update dependency prettier to v2.8.7

* feat: removed prettier from e2e

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
2023-05-12 10:57:14 -03:00
renovate[bot]
acfb8d84d5 Update dependency html-webpack-plugin to v5.5.1 (#2158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 10:38:00 -03:00
Guilherme Ribeiro
d00cd8501f Sonarcloud - Unit test coverage (#2155)
* feat: attempt to scan

* feat: attempt with sonar file

* fix: another attempt

* fix: clean up

* Update sonar-project.properties

* fix: pulling history

* tes

* feat: testing file

* Delete TestFile2.ts
2023-05-12 10:02:38 -03:00
renovate[bot]
d5c212cf9d Update dependency eslint-plugin-testing-library to v5.10.3 (#2154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 09:54:24 -03:00
Yu Long
5b40f5ac0e chore: format all files with eslint and prettier (#2152) 2023-05-11 15:25:35 +02:00
Guilherme Ribeiro
e650e263a0 Update codeql-analysis.yml (#2153)
* Update codeql-analysis.yml

Upgrading CodeQL to v2 
https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/

* Update codeql-analysis.yml
2023-05-11 08:18:06 -03:00
renovate[bot]
cec40f8b26 Update dependency @types/jest to v29.5.1 (#2150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 08:09:14 -03:00
renovate[bot]
50b43e4f8a Update dependency filesize to v10.0.7 (#2146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 10:55:27 +02:00
Yu Long
bfc2dccc85 Release 5.42.1 (#2148) 2023-05-09 17:27:45 +02:00
Yu Long
4ccd5dd6cf Fix: email regex safari compatibility (#2147) 2023-05-09 16:45:47 +02:00
Maurício Júnior
fc0d11b03a GooglePay - Adding parameter 'assuranceDetailsRequired' (#2132)
* add missing gpay prop

* add default value
2023-05-08 14:04:15 -03:00
renovate[bot]
734c07432d Update dependency @rollup/plugin-node-resolve to v15.0.2 (#2145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 13:15:03 -03:00
Daniel Coles
c465311762 ApplePay Types - Make totalPriceLabel optional in ApplePayElementProps type (#2140) 2023-05-08 12:26:31 -03:00
renovate[bot]
91a282c2f2 Update babel monorepo to v7.21.4 (#2144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 12:15:41 -03:00
Guilherme Ribeiro
bdad16fd8a Click to Pay - Moving files from Card folder to internal (#2142)
* feat: moved ctp to internal folder

* feat: default card.js
2023-05-08 12:12:00 -03:00
renovate[bot]
4c79711331 Update actions/github-script action to v6.4.1 (#2127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 11:49:54 -03:00
Yu Long
8f7fb29aa2 Release 5.42.0 (#2143) 2023-05-08 16:17:08 +02:00
António Ferreira
efbf32bb4e Fix getImage crashing custom card integration (#2141)
* fix getImage crashing custom card integration

* reset address changes

* fixes for achinput
2023-05-08 16:08:22 +02:00
sponglord
31dcf89d4d Fix/open invoice sr panel receives on blur errors (#2137)
* OpenInvoice feeds onBlur (email) errors to SRPanel

* Made array comparison function generic

* remove unused line of code
2023-05-08 14:15:49 +02:00
Yu Long
9f7aa17d0a Refactor: improve the email regex (#2133)
fix: Bacs and Dragonpay missing email validation

* refactor: improve regex performance
2023-05-08 13:51:17 +02:00
Guilherme Ribeiro
7295ece88e PayPal - Adding support for Venmo (#2136)
* feat: adding venmo

* feat: added logging

* feat: venmo changes

* feat: removed logs

* feat: fixed tests
2023-05-08 06:55:00 -03:00
Michael Ossig
cc7aa40e89 Adjusting typings for BrowserInfo (#2131)
* Fixes issue #2078

- Corrected typings for BrowserInfo to reflect the actual data that is being sent (https://docs.adyen.com/api-explorer/Checkout/70/post/payments#request-browserInfo)
- Adds optional javaScriptEnabled field

* Remove javaScriptEnabled optional prop
2023-05-05 17:00:10 +02:00
Yu Long
d6c5ceeabb Refactor: make playground conditionally support https (#2130) 2023-05-04 09:38:28 +02:00
António Ferreira
3cf4514136 Release 5.41.0 (#2128) 2023-05-02 17:49:44 +02:00
António Ferreira
c6ea865869 Improvement: resource module for CDN image access (#1857)
* Removing dependabot configuration (#1854)

* adds resource module for cdn access

* fix lgtm errors

* fixes reources not available for SF

* fix env loading

* fix Pix test issue with resources

* seperate mock creation

* changes according to feedback

* refactor to useImage hook

---------

Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
2023-05-02 16:59:48 +02:00
sponglord
c36e66f2a8 Merge pull request #2123 from Adyen/release/5.40.1
Release 5.40.1
2023-04-24 15:48:08 +02:00
nicholas
94f6b386a5 Release 5.40.1 2023-04-24 13:23:17 +02:00
sponglord
104e487c16 Feature/handle ticket voucher when single brand (#2122)
* When a single branded 'ticket' card (brazilian meal voucher txvariant) - hide the expiryDate field at startup

* Add fix for  cardTypes tests (define permittedLengths array, if not defined)
2023-04-24 13:20:14 +02:00
Yu Long
3a20f1e913 Fix: work around solution for some currencies not getting the correct decimal points (#2119) 2023-04-24 12:44:08 +02:00
Yu Long
0fa5e7990e Fix(installments): preselect value on brand change (#2117) 2023-04-21 16:28:31 +02:00
António Ferreira
5050a9c08b fixes tests failing because of cannot redifine property (#2121) 2023-04-21 16:20:20 +02:00
Yu Long
8edf99f75b Refactor(DisclaimerMessage): to use only InternalDisclaimerMsgObject (#2118) 2023-04-18 17:17:42 +02:00