@paypal/checkout-components 5.0.281 → 5.0.282

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paypal/checkout-components",
3
- "version": "5.0.281",
3
+ "version": "5.0.282",
4
4
  "description": "PayPal Checkout components, for integrating checkout products.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -30,7 +30,7 @@
30
30
  "start": "npm run webpack -- --progress --watch",
31
31
  "test": "npm run format:check && npm run test:unit && npm run jest-ssr && npm run karma && npm run jest-screenshot",
32
32
  "test:unit": "vitest run",
33
- "percy-screenshot": "babel-node ./test/percy/server/createButtonConfigs.js && percy exec -- playwright test --config=./test/percy/playwright.config.js --reporter=dot --pass-with-no-tests",
33
+ "percy-screenshot": "npx playwright install && babel-node ./test/percy/server/createButtonConfigs.js && percy exec -- playwright test --config=./test/percy/playwright.config.js --reporter=dot --pass-with-no-tests",
34
34
  "typecheck": "npm run flow-typed && npm run flow",
35
35
  "version": "./scripts/version.sh",
36
36
  "webpack": "babel-node $(npm bin)/webpack",
@@ -70,9 +70,9 @@
70
70
  "@bunchtogether/vite-plugin-flow": "^1.0.2",
71
71
  "@krakenjs/grumbler-scripts": "^8.1.5",
72
72
  "@krakenjs/sync-browser-mocks": "^3.0.0",
73
- "@percy/cli": "1.18.0",
73
+ "@percy/cli": "1.27.2",
74
74
  "@percy/playwright": "^1.0.4",
75
- "@playwright/test": "^1.28.1",
75
+ "@playwright/test": "^1.38.1",
76
76
  "babel-core": "^7.0.0-bridge.0",
77
77
  "bundlemon": "^1.1.0",
78
78
  "conventional-changelog-cli": "^2.0.34",
@@ -475,7 +475,10 @@ export const getCardFieldsComponent: () => CardFieldsComponent = memoize(
475
475
 
476
476
  eligible: () => {
477
477
  const fundingEligibility = getRefinedFundingEligibility();
478
- if (fundingEligibility?.card?.eligible) {
478
+ if (
479
+ fundingEligibility?.card?.eligible &&
480
+ !fundingEligibility.card.branded
481
+ ) {
479
482
  return {
480
483
  eligible: true,
481
484
  };