Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@paypal/checkout-components

Package Overview
Dependencies
Maintainers
23
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/checkout-components - npm Package Compare versions

Comparing version 5.0.294 to 5.0.295-alpha.0

src/hosted-buttons/index.js

4

__sdk__.js

@@ -89,2 +89,6 @@ /* @flow */

},
"hosted-buttons": {
entry: "./src/interface/hosted-buttons",
globals,
},
};

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc