@paypal/checkout-components 5.0.278 → 5.0.279
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 +2 -2
- package/src/zoid/buttons/component.jsx +6 -0
- package/src/zoid/checkout/component.jsx +6 -0
- package/src/zoid/installments/component.jsx +6 -0
- package/src/zoid/menu/component.jsx +6 -0
- package/src/zoid/modal/component.jsx +6 -0
- package/src/zoid/payment-fields/component.jsx +6 -0
- package/src/zoid/qr-code/component.jsx +7 -0
- package/src/zoid/venmo/component.jsx +1 -3
- package/src/zoid/wallet/component.jsx +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypal/checkout-components",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.279",
|
|
4
4
|
"description": "PayPal Checkout components, for integrating checkout products.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@krakenjs/jsx-pragmatic": "^3",
|
|
107
107
|
"@krakenjs/post-robot": "^11.0.0",
|
|
108
108
|
"@krakenjs/zalgo-promise": "^2.0.0",
|
|
109
|
-
"@krakenjs/zoid": "^10.
|
|
109
|
+
"@krakenjs/zoid": "^10.3.1",
|
|
110
110
|
"@paypal/common-components": "^1.0.35",
|
|
111
111
|
"@paypal/funding-components": "^1.0.31",
|
|
112
112
|
"@paypal/sdk-client": "^4.0.176",
|
|
@@ -102,6 +102,12 @@ export const getButtonsComponent: () => ButtonsComponent = memoize(() => {
|
|
|
102
102
|
|
|
103
103
|
containerTemplate,
|
|
104
104
|
|
|
105
|
+
// 2023-08-23 Shane Brunson
|
|
106
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
107
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
108
|
+
// though and removing all these logger calls is more of risky change than
|
|
109
|
+
// I'm willing to make right now though.
|
|
110
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger types
|
|
105
111
|
logger: getLogger(),
|
|
106
112
|
|
|
107
113
|
prerenderTemplate: ({ state, props, doc, event }) => {
|
|
@@ -55,6 +55,12 @@ export function getCheckoutComponent(): CheckoutComponent {
|
|
|
55
55
|
|
|
56
56
|
domain: getPayPalDomainRegex(),
|
|
57
57
|
|
|
58
|
+
// 2023-08-23 Shane Brunson
|
|
59
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
60
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
61
|
+
// though and removing all these logger calls is more of risky change than
|
|
62
|
+
// I'm willing to make right now though.
|
|
63
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger type
|
|
58
64
|
logger: getLogger(),
|
|
59
65
|
|
|
60
66
|
prerenderTemplate: ({ doc, props }) => {
|
|
@@ -38,6 +38,12 @@ export function getInstallmentsComponent(): InstallmentsComponent {
|
|
|
38
38
|
height: "100%",
|
|
39
39
|
},
|
|
40
40
|
|
|
41
|
+
// 2023-08-23 Shane Brunson
|
|
42
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
43
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
44
|
+
// though and removing all these logger calls is more of risky change than
|
|
45
|
+
// I'm willing to make right now though.
|
|
46
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger type
|
|
41
47
|
logger: getLogger(),
|
|
42
48
|
|
|
43
49
|
prerenderTemplate: ({ doc, props }) => {
|
|
@@ -33,6 +33,12 @@ export function getMenuComponent(): MenuComponent {
|
|
|
33
33
|
height: "150px",
|
|
34
34
|
},
|
|
35
35
|
|
|
36
|
+
// 2023-08-23 Shane Brunson
|
|
37
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
38
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
39
|
+
// though and removing all these logger calls is more of risky change than
|
|
40
|
+
// I'm willing to make right now though.
|
|
41
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger type
|
|
36
42
|
logger: getLogger(),
|
|
37
43
|
|
|
38
44
|
prerenderTemplate: () => {
|
|
@@ -33,6 +33,12 @@ export function getModalComponent(): ModalComponent {
|
|
|
33
33
|
height: "100%",
|
|
34
34
|
},
|
|
35
35
|
|
|
36
|
+
// 2023-08-23 Shane Brunson
|
|
37
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
38
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
39
|
+
// though and removing all these logger calls is more of risky change than
|
|
40
|
+
// I'm willing to make right now though.
|
|
41
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger type
|
|
36
42
|
logger: getLogger(),
|
|
37
43
|
|
|
38
44
|
containerTemplate: ({
|
|
@@ -47,6 +47,12 @@ export function getPaymentFieldsComponent(): PaymentFieldsComponent {
|
|
|
47
47
|
height: "300px",
|
|
48
48
|
},
|
|
49
49
|
|
|
50
|
+
// 2023-08-23 Shane Brunson
|
|
51
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
52
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
53
|
+
// though and removing all these logger calls is more of risky change than
|
|
54
|
+
// I'm willing to make right now though.
|
|
55
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger type
|
|
50
56
|
logger: getLogger(),
|
|
51
57
|
|
|
52
58
|
containerTemplate: ({
|
|
@@ -37,6 +37,13 @@ export function getQRCodeComponent(): QRCodeComponent {
|
|
|
37
37
|
width: "100%",
|
|
38
38
|
height: "100%",
|
|
39
39
|
},
|
|
40
|
+
|
|
41
|
+
// 2023-08-23 Shane Brunson
|
|
42
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
43
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
44
|
+
// though and removing all these logger calls is more of risky change than
|
|
45
|
+
// I'm willing to make right now though.
|
|
46
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger type
|
|
40
47
|
logger: getLogger(),
|
|
41
48
|
prerenderTemplate,
|
|
42
49
|
|
|
@@ -6,7 +6,6 @@ import { node, dom } from "@krakenjs/jsx-pragmatic/src";
|
|
|
6
6
|
import {
|
|
7
7
|
getPayPalDomainRegex,
|
|
8
8
|
getVenmoDomainRegex,
|
|
9
|
-
getLogger,
|
|
10
9
|
getLocale,
|
|
11
10
|
getEnv,
|
|
12
11
|
getClientID,
|
|
@@ -57,10 +56,9 @@ export function getVenmoCheckoutComponent(): VenmoCheckoutComponent {
|
|
|
57
56
|
|
|
58
57
|
defaultContext: supportsPopups() ? CONTEXT.POPUP : CONTEXT.IFRAME,
|
|
59
58
|
|
|
59
|
+
// $FlowIssue problem with the multiple types this prop takes
|
|
60
60
|
domain: [getPayPalDomainRegex(), getVenmoDomainRegex()],
|
|
61
61
|
|
|
62
|
-
logger: getLogger(),
|
|
63
|
-
|
|
64
62
|
prerenderTemplate: ({ doc, props }) => {
|
|
65
63
|
const { nonce } = props;
|
|
66
64
|
return (<SpinnerPage nonce={nonce} />).render(dom({ doc }));
|
|
@@ -63,6 +63,12 @@ export function getWalletComponent(): WalletComponent {
|
|
|
63
63
|
height: "150px",
|
|
64
64
|
},
|
|
65
65
|
|
|
66
|
+
// 2023-08-23 Shane Brunson
|
|
67
|
+
// I don't think Zoid uses this logger prop and I don't think we the SDK
|
|
68
|
+
// use it anywhere either. I'm trying to fix the main branch from building
|
|
69
|
+
// though and removing all these logger calls is more of risky change than
|
|
70
|
+
// I'm willing to make right now though.
|
|
71
|
+
// $FlowIssue mismatch between beaver-logger and zoid logger type
|
|
66
72
|
logger: getLogger(),
|
|
67
73
|
|
|
68
74
|
containerTemplate: ({
|