@graphcommerce/magento-payment-paypal 8.1.0-canary.8 → 9.0.0-canary.100
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/CHANGELOG.md +188 -0
- package/package.json +11 -11
- package/plugins/AddPaypalMethods.tsx +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,193 @@
|
|
|
1
1
|
# @graphcommerce/magento-payment-paypal
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.100
|
|
4
|
+
|
|
5
|
+
## 9.0.0-canary.99
|
|
6
|
+
|
|
7
|
+
## 9.0.0-canary.98
|
|
8
|
+
|
|
9
|
+
## 9.0.0-canary.97
|
|
10
|
+
|
|
11
|
+
## 9.0.0-canary.96
|
|
12
|
+
|
|
13
|
+
## 9.0.0-canary.95
|
|
14
|
+
|
|
15
|
+
## 9.0.0-canary.94
|
|
16
|
+
|
|
17
|
+
## 9.0.0-canary.93
|
|
18
|
+
|
|
19
|
+
## 9.0.0-canary.92
|
|
20
|
+
|
|
21
|
+
## 9.0.0-canary.91
|
|
22
|
+
|
|
23
|
+
## 9.0.0-canary.90
|
|
24
|
+
|
|
25
|
+
## 9.0.0-canary.89
|
|
26
|
+
|
|
27
|
+
## 9.0.0-canary.88
|
|
28
|
+
|
|
29
|
+
## 9.0.0-canary.87
|
|
30
|
+
|
|
31
|
+
## 9.0.0-canary.86
|
|
32
|
+
|
|
33
|
+
## 9.0.0-canary.85
|
|
34
|
+
|
|
35
|
+
## 9.0.0-canary.84
|
|
36
|
+
|
|
37
|
+
## 9.0.0-canary.83
|
|
38
|
+
|
|
39
|
+
## 9.0.0-canary.82
|
|
40
|
+
|
|
41
|
+
## 9.0.0-canary.81
|
|
42
|
+
|
|
43
|
+
## 9.0.0-canary.80
|
|
44
|
+
|
|
45
|
+
## 9.0.0-canary.79
|
|
46
|
+
|
|
47
|
+
## 9.0.0-canary.78
|
|
48
|
+
|
|
49
|
+
## 9.0.0-canary.77
|
|
50
|
+
|
|
51
|
+
## 9.0.0-canary.76
|
|
52
|
+
|
|
53
|
+
## 9.0.0-canary.75
|
|
54
|
+
|
|
55
|
+
## 9.0.0-canary.74
|
|
56
|
+
|
|
57
|
+
## 9.0.0-canary.73
|
|
58
|
+
|
|
59
|
+
## 9.0.0-canary.72
|
|
60
|
+
|
|
61
|
+
## 9.0.0-canary.71
|
|
62
|
+
|
|
63
|
+
## 9.0.0-canary.70
|
|
64
|
+
|
|
65
|
+
## 9.0.0-canary.69
|
|
66
|
+
|
|
67
|
+
## 9.0.0-canary.68
|
|
68
|
+
|
|
69
|
+
## 9.0.0-canary.67
|
|
70
|
+
|
|
71
|
+
## 9.0.0-canary.66
|
|
72
|
+
|
|
73
|
+
## 9.0.0-canary.65
|
|
74
|
+
|
|
75
|
+
## 9.0.0-canary.64
|
|
76
|
+
|
|
77
|
+
## 9.0.0-canary.63
|
|
78
|
+
|
|
79
|
+
## 9.0.0-canary.62
|
|
80
|
+
|
|
81
|
+
## 9.0.0-canary.61
|
|
82
|
+
|
|
83
|
+
## 9.0.0-canary.60
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- [#2331](https://github.com/graphcommerce-org/graphcommerce/pull/2331) [`702bfc9`](https://github.com/graphcommerce-org/graphcommerce/commit/702bfc93566c9745546988e57988431d5d4d8cb0) - Moved plugins to new format ([@paales](https://github.com/paales))
|
|
88
|
+
|
|
89
|
+
## 9.0.0-canary.59
|
|
90
|
+
|
|
91
|
+
## 9.0.0-canary.58
|
|
92
|
+
|
|
93
|
+
## 9.0.0-canary.57
|
|
94
|
+
|
|
95
|
+
## 9.0.0-canary.56
|
|
96
|
+
|
|
97
|
+
## 9.0.0-canary.55
|
|
98
|
+
|
|
99
|
+
## 9.0.0-canary.54
|
|
100
|
+
|
|
101
|
+
## 8.1.0-canary.53
|
|
102
|
+
|
|
103
|
+
## 8.1.0-canary.52
|
|
104
|
+
|
|
105
|
+
## 8.1.0-canary.51
|
|
106
|
+
|
|
107
|
+
## 8.1.0-canary.50
|
|
108
|
+
|
|
109
|
+
## 8.1.0-canary.49
|
|
110
|
+
|
|
111
|
+
## 8.1.0-canary.48
|
|
112
|
+
|
|
113
|
+
## 8.1.0-canary.47
|
|
114
|
+
|
|
115
|
+
## 8.1.0-canary.46
|
|
116
|
+
|
|
117
|
+
## 8.1.0-canary.45
|
|
118
|
+
|
|
119
|
+
## 8.1.0-canary.44
|
|
120
|
+
|
|
121
|
+
## 8.1.0-canary.43
|
|
122
|
+
|
|
123
|
+
## 8.1.0-canary.42
|
|
124
|
+
|
|
125
|
+
## 8.1.0-canary.41
|
|
126
|
+
|
|
127
|
+
## 8.1.0-canary.40
|
|
128
|
+
|
|
129
|
+
## 8.1.0-canary.39
|
|
130
|
+
|
|
131
|
+
## 8.1.0-canary.38
|
|
132
|
+
|
|
133
|
+
## 8.1.0-canary.37
|
|
134
|
+
|
|
135
|
+
## 8.1.0-canary.36
|
|
136
|
+
|
|
137
|
+
## 8.1.0-canary.35
|
|
138
|
+
|
|
139
|
+
## 8.1.0-canary.34
|
|
140
|
+
|
|
141
|
+
## 8.1.0-canary.33
|
|
142
|
+
|
|
143
|
+
## 8.1.0-canary.32
|
|
144
|
+
|
|
145
|
+
## 8.1.0-canary.31
|
|
146
|
+
|
|
147
|
+
## 8.1.0-canary.30
|
|
148
|
+
|
|
149
|
+
## 8.1.0-canary.29
|
|
150
|
+
|
|
151
|
+
## 8.1.0-canary.28
|
|
152
|
+
|
|
153
|
+
## 8.1.0-canary.27
|
|
154
|
+
|
|
155
|
+
## 8.1.0-canary.26
|
|
156
|
+
|
|
157
|
+
## 8.1.0-canary.25
|
|
158
|
+
|
|
159
|
+
## 8.1.0-canary.24
|
|
160
|
+
|
|
161
|
+
## 8.1.0-canary.23
|
|
162
|
+
|
|
163
|
+
## 8.1.0-canary.22
|
|
164
|
+
|
|
165
|
+
## 8.1.0-canary.21
|
|
166
|
+
|
|
167
|
+
## 8.1.0-canary.20
|
|
168
|
+
|
|
169
|
+
## 8.1.0-canary.19
|
|
170
|
+
|
|
171
|
+
## 8.1.0-canary.18
|
|
172
|
+
|
|
173
|
+
## 8.1.0-canary.17
|
|
174
|
+
|
|
175
|
+
## 8.1.0-canary.16
|
|
176
|
+
|
|
177
|
+
## 8.1.0-canary.15
|
|
178
|
+
|
|
179
|
+
## 8.1.0-canary.14
|
|
180
|
+
|
|
181
|
+
## 8.1.0-canary.13
|
|
182
|
+
|
|
183
|
+
## 8.1.0-canary.12
|
|
184
|
+
|
|
185
|
+
## 8.1.0-canary.11
|
|
186
|
+
|
|
187
|
+
## 8.1.0-canary.10
|
|
188
|
+
|
|
189
|
+
## 8.1.0-canary.9
|
|
190
|
+
|
|
3
191
|
## 8.1.0-canary.8
|
|
4
192
|
|
|
5
193
|
## 8.1.0-canary.7
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-payment-paypal",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "9.0.0-canary.100",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^
|
|
17
|
-
"@graphcommerce/graphql": "^
|
|
18
|
-
"@graphcommerce/image": "^
|
|
19
|
-
"@graphcommerce/magento-cart": "^
|
|
20
|
-
"@graphcommerce/magento-cart-payment-method": "^
|
|
21
|
-
"@graphcommerce/magento-store": "^
|
|
22
|
-
"@graphcommerce/next-ui": "^
|
|
23
|
-
"@graphcommerce/prettier-config-pwa": "^
|
|
24
|
-
"@graphcommerce/typescript-config-pwa": "^
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.100",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.100",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.100",
|
|
18
|
+
"@graphcommerce/image": "^9.0.0-canary.100",
|
|
19
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.100",
|
|
20
|
+
"@graphcommerce/magento-cart-payment-method": "^9.0.0-canary.100",
|
|
21
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.100",
|
|
22
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.100",
|
|
23
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.100",
|
|
24
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.100",
|
|
25
25
|
"@lingui/core": "^4.2.1",
|
|
26
26
|
"@lingui/macro": "^4.2.1",
|
|
27
27
|
"@lingui/react": "^4.2.1",
|
|
@@ -2,13 +2,15 @@ import {
|
|
|
2
2
|
PaymentMethodContextProviderProps,
|
|
3
3
|
PaymentMethodOptionsNoop,
|
|
4
4
|
} from '@graphcommerce/magento-cart-payment-method'
|
|
5
|
-
import type { PluginProps } from '@graphcommerce/next-config'
|
|
5
|
+
import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
|
|
6
6
|
import { PayPalExpressActionCard } from '../components/PayPalPaymentActionCard/PayPalPaymentActionCard'
|
|
7
7
|
import { PayPalPaymentHandler } from '../components/PayPalPaymentHandler/PayPalPaymentHandler'
|
|
8
8
|
import { PayPalPaymentPlaceOrder } from '../components/PayPalPaymentPlaceOrder/PayPalPaymentPlaceOrder'
|
|
9
9
|
|
|
10
|
-
export const
|
|
11
|
-
|
|
10
|
+
export const config: PluginConfig = {
|
|
11
|
+
type: 'component',
|
|
12
|
+
module: '@graphcommerce/magento-cart-payment-method',
|
|
13
|
+
}
|
|
12
14
|
|
|
13
15
|
const paypal_express = {
|
|
14
16
|
PaymentOptions: PaymentMethodOptionsNoop,
|
|
@@ -17,9 +19,9 @@ const paypal_express = {
|
|
|
17
19
|
PaymentPlaceOrder: PayPalPaymentPlaceOrder,
|
|
18
20
|
}
|
|
19
21
|
|
|
20
|
-
function
|
|
22
|
+
export function PaymentMethodContextProvider(
|
|
23
|
+
props: PluginProps<PaymentMethodContextProviderProps>,
|
|
24
|
+
) {
|
|
21
25
|
const { modules, Prev, ...rest } = props
|
|
22
26
|
return <Prev {...rest} modules={{ ...modules, paypal_express }} />
|
|
23
27
|
}
|
|
24
|
-
|
|
25
|
-
export const Plugin = AddPaypalMethods
|