@paypal/checkout-components 5.0.253 → 5.0.254

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.253",
3
+ "version": "5.0.254",
4
4
  "description": "PayPal Checkout components, for integrating checkout products.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -161,10 +161,11 @@ export const getCardFieldsComponent : () => CardFieldsComponent = memoize(() : C
161
161
  props: {
162
162
  save: {
163
163
  type: 'object',
164
+ required: false,
164
165
  value: ({props}) => {
165
166
  if (props.save) {
166
167
  return props.save
167
- } else {
168
+ } else if (props.parent.props) {
168
169
  return props.parent.props.save
169
170
  }
170
171
  }
@@ -448,6 +449,7 @@ export const getCardFieldsComponent : () => CardFieldsComponent = memoize(() : C
448
449
  props: {
449
450
  save: {
450
451
  type: 'object',
452
+ required: false,
451
453
  },
452
454
 
453
455
  type: {