@paypal/checkout-components 5.0.416-alpha-e3ee709.0 → 5.0.416
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/dist/button.js +1 -1
- package/dist/test/button.js +1 -1
- package/package.json +3 -7
- package/src/zoid/buttons/component.jsx +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypal/checkout-components",
|
|
3
|
-
"version": "5.0.416
|
|
3
|
+
"version": "5.0.416",
|
|
4
4
|
"description": "PayPal Checkout components, for integrating checkout products.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -121,15 +121,11 @@
|
|
|
121
121
|
"@paypal/accelerated-checkout-loader": "^1.0.1",
|
|
122
122
|
"@paypal/common-components": "^1.0.35",
|
|
123
123
|
"@paypal/funding-components": "^1.0.31",
|
|
124
|
-
"@paypal/sdk-client": "4.0.
|
|
125
|
-
"@paypal/sdk-constants": "^1.0.
|
|
124
|
+
"@paypal/sdk-client": "^4.0.199",
|
|
125
|
+
"@paypal/sdk-constants": "^1.0.156",
|
|
126
126
|
"@paypal/sdk-logos": "^2.3.7"
|
|
127
127
|
},
|
|
128
128
|
"lint-staged": {
|
|
129
129
|
"**/*": "prettier --write --ignore-unknown"
|
|
130
|
-
},
|
|
131
|
-
"alias": {
|
|
132
|
-
"@paypal/sdk-client": "./node_modules/@paypal/sdk-client",
|
|
133
|
-
"@paypal/sdk-constants": "./node_modules/@paypal/sdk-constants"
|
|
134
130
|
}
|
|
135
131
|
}
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
getLogger,
|
|
7
7
|
getLocale,
|
|
8
8
|
getClientID,
|
|
9
|
-
getHostedButtonID,
|
|
10
9
|
getEnv,
|
|
11
10
|
getIntent,
|
|
12
11
|
getCommit,
|
|
@@ -556,19 +555,6 @@ export const getButtonsComponent: () => ButtonsComponent = memoize(() => {
|
|
|
556
555
|
queryParam: true,
|
|
557
556
|
},
|
|
558
557
|
|
|
559
|
-
hostedButtonID: {
|
|
560
|
-
type: "string",
|
|
561
|
-
required: false,
|
|
562
|
-
value: () => {
|
|
563
|
-
try {
|
|
564
|
-
return getHostedButtonID();
|
|
565
|
-
} catch (err) {
|
|
566
|
-
// hostedButtonID is optional; not present on most SDK integrations
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
queryParam: true,
|
|
570
|
-
},
|
|
571
|
-
|
|
572
558
|
clientMetadataID: {
|
|
573
559
|
type: "string",
|
|
574
560
|
required: false,
|