@paypal/checkout-components
Advanced tools
Comparing version 5.0.294 to 5.0.295-alpha.0
@@ -89,2 +89,6 @@ /* @flow */ | ||
}, | ||
"hosted-buttons": { | ||
entry: "./src/interface/hosted-buttons", | ||
globals, | ||
}, | ||
}; |
{ | ||
"name": "@paypal/checkout-components", | ||
"version": "5.0.294", | ||
"version": "5.0.295-alpha.0", | ||
"description": "PayPal Checkout components, for integrating checkout products.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -524,2 +524,3 @@ /* eslint-disable eslint-comments/disable-enable-pair */ | ||
displayOnly?: $ReadOnlyArray<$Values<typeof DISPLAY_ONLY_VALUES>>, | ||
hostedButtonId?: string, | ||
|}; | ||
@@ -526,0 +527,0 @@ |
@@ -161,4 +161,9 @@ /* @flow */ | ||
props={props} | ||
onRenderCheckout={({ win, fundingSource, card }) => { | ||
state.prerenderDetails = { win, fundingSource, card }; | ||
onRenderCheckout={({ win, fundingSource, card, hostedButtonId }) => { | ||
state.prerenderDetails = { | ||
win, | ||
fundingSource, | ||
card, | ||
hostedButtonId, | ||
}; | ||
}} | ||
@@ -853,2 +858,8 @@ /> | ||
hostedButtonId: { | ||
type: "string", | ||
required: false, | ||
queryParam: true, | ||
}, | ||
displayOnly: { | ||
@@ -855,0 +866,0 @@ type: "array", |
@@ -30,2 +30,3 @@ /* @flow */ | ||
card: ?$Values<typeof CARD>, | ||
hostedButtonId?: string, | ||
|}) => void, | ||
@@ -81,3 +82,8 @@ |}; | ||
onRenderCheckout({ win, fundingSource, card }); | ||
onRenderCheckout({ | ||
win, | ||
fundingSource, | ||
card, | ||
hostedButtonId: props.hostedButtonId, | ||
}); | ||
} else { | ||
@@ -84,0 +90,0 @@ onRenderCheckout({ fundingSource, card }); |
@@ -320,2 +320,8 @@ /* @flow */ | ||
}, | ||
hostedButtonId: { | ||
type: "string", | ||
required: false, | ||
queryParam: true, | ||
}, | ||
}, | ||
@@ -322,0 +328,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1161682
203
15149
20
1