@paypal/checkout-components 5.0.225 → 5.0.226

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## <small>5.0.226 (2022-06-06)</small>
2
+
3
+ * Inline XO: Fix production eligibility logic ([ad8b0d0](https://github.com/paypal/paypal-checkout-components/commit/ad8b0d0))
4
+
5
+
6
+
1
7
  ## <small>5.0.225 (2022-06-02)</small>
2
8
 
3
9
  * Inline XO: Force Eligibility ([3f56a06](https://github.com/paypal/paypal-checkout-components/commit/3f56a06))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paypal/checkout-components",
3
- "version": "5.0.225",
3
+ "version": "5.0.226",
4
4
  "description": "PayPal Checkout components, for integrating checkout products.",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -705,8 +705,10 @@ export const getButtonsComponent : () => ButtonsComponent = memoize(() => {
705
705
  return acc && validMerchantIDs.indexOf(id) !== -1;
706
706
  }, true);
707
707
 
708
- alphaEligible = clientID === 'AT2hsh6PFa_pvqYVni64Ik2Ojaluh_l9DU3KwXuHb-sgj8q9zZrmob2TUsmvu4rjJ869oHUAlIAqJf9R'
709
- && eligibleMerchantID;
708
+ if (clientID === 'AT2hsh6PFa_pvqYVni64Ik2Ojaluh_l9DU3KwXuHb-sgj8q9zZrmob2TUsmvu4rjJ869oHUAlIAqJf9R') {
709
+ alphaEligible = eligibleMerchantID;
710
+
711
+ }
710
712
  }
711
713
 
712
714
  return inlineCheckoutEligibility && inlineCheckoutEligibility.eligible && alphaEligible && isInlineXOEligible({ props: {