Socket
Socket
Sign inDemoInstall

@paypal/identity-components

Package Overview
Dependencies
Maintainers
36
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/identity-components - npm Package Compare versions

Comparing version 5.0.7 to 5.0.8

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## <small>5.0.8 (2021-10-13)</small>
* Add support for `npm run dev` (#16) ([e5bf48a](https://github.paypal.com/paypal/paypal-auth/commit/e5bf48a)), closes [#16](https://github.paypal.com/paypal/paypal-auth/issues/16)
* Remove the unused onError callback ([fff0c2f](https://github.paypal.com/paypal/paypal-auth/commit/fff0c2f))
## <small>5.0.7 (2021-10-06)</small>

@@ -2,0 +9,0 @@

4

package.json
{
"name": "@paypal/identity-components",
"version": "5.0.7",
"version": "5.0.8",
"description": "PayPal Identity components, for integrating auth products.",
"main": "index.js",
"scripts": {
"dev": "babel-node $(npm bin)/webpack-dev-server --config webpack.config.dev.js --port 9000 --host localhost.paypal.com --open-page demo/dev/index.htm --https --hot=false --inline=false",
"dev": "babel-node $(npm bin)/webpack-dev-server --config webpack.config.dev.js --port 9001 --host localhost.paypal.com --open-page demo/dev/index.htm --https --hot=false --inline=false",
"lint": "eslint --ext .js --ext .jsx src/ test/ *.js",

@@ -9,0 +9,0 @@ "flow-typed": "rm -rf flow-typed && flow-typed install",

@@ -42,12 +42,2 @@ /* @flow */

export type OnErrorData = {|
|};
export type OnErrorActions = {|
|};
export type OnError = (data : OnErrorData, actions : OnErrorActions) => ZalgoPromise<void> | void;
export type BillingOptions = {|

@@ -105,3 +95,2 @@ type? : string | void,

onClick : OnClick,
onError : OnError,
getPrerenderDetails : GetPrerenderDetails,

@@ -126,3 +115,3 @@ style : ButtonStyleInputs,

|};
export type ButtonPropsInputs = {|

@@ -168,3 +157,3 @@ clientID : string,

export function normalizeButtonStyle(props : ?ButtonPropsInputs, style : ButtonStyleInputs) : ButtonStyle {
if (!style) {

@@ -183,3 +172,3 @@ throw new Error(`Expected props.style to be set`);

}
const {

@@ -202,3 +191,3 @@ label,

}
const [ minHeight, maxHeight ] = [ 35, 50 ];

@@ -205,0 +194,0 @@

@@ -155,7 +155,2 @@ /* @flow */

onError: {
type: 'function',
required: false
},
test: {

@@ -162,0 +157,0 @@ type: 'object',

@@ -108,8 +108,3 @@ /* @flow */

},
onError: {
type: 'function',
required: false
},
onClick: {

@@ -116,0 +111,0 @@ type: 'function',

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