@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
|
@@ -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: {
|