@graphcommerce/magento-cart-payment-method 9.0.0-canary.99 → 9.0.0
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/Api/PaymentMethod.ts +7 -7
- package/CHANGELOG.md +26 -961
- package/PaymentMethodActionCardList/PaymentMethodActionCardListForm.tsx +8 -10
- package/PaymentMethodButton/PaymentMethodButton.tsx +4 -3
- package/PaymentMethodContext/PaymentMethodContext.tsx +7 -4
- package/PaymentMethodOptions/PaymentMethodOptions.tsx +8 -3
- package/PaymentMethodOptionsNoop/PaymentMethodOptionsNoop.tsx +1 -1
- package/PaymentMethodPlaceOrder/PaymentMethodPlaceOrder.tsx +1 -1
- package/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.tsx +1 -1
- package/PaymentMethodToggles/PaymentMethodToggles.tsx +14 -14
- package/package.json +14 -14
- package/test/goToPayment.ts +3 -3
- package/test/selectPaymentMethod.ts +1 -1
package/Api/PaymentMethod.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ApolloClient } from '@graphcommerce/graphql'
|
|
2
|
-
import { ActionCardProps, LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
3
|
-
import { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
4
|
-
import React from 'react'
|
|
5
|
-
import { AvailablePaymentMethodFragment } from './AvailablePaymentMethod/AvailablePaymentMethod.gql'
|
|
6
|
-
import { PaymentMethodContextFragment } from './PaymentMethodContext.gql'
|
|
7
|
-
import { SelectedPaymentMethodFragment } from './SelectedPaymentMethod/SelectedPaymentMethod.gql'
|
|
1
|
+
import type { ApolloClient } from '@graphcommerce/graphql'
|
|
2
|
+
import type { ActionCardProps, LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
3
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
4
|
+
import type React from 'react'
|
|
5
|
+
import type { AvailablePaymentMethodFragment } from './AvailablePaymentMethod/AvailablePaymentMethod.gql'
|
|
6
|
+
import type { PaymentMethodContextFragment } from './PaymentMethodContext.gql'
|
|
7
|
+
import type { SelectedPaymentMethodFragment } from './SelectedPaymentMethod/SelectedPaymentMethod.gql'
|
|
8
8
|
|
|
9
9
|
export type PaymentMethod = Partial<AvailablePaymentMethodFragment> &
|
|
10
10
|
Pick<AvailablePaymentMethodFragment, 'code' | 'title'> & {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,126 +1,52 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.0
|
|
3
|
+
## 9.0.0
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## 9.0.0-canary.97
|
|
8
|
-
|
|
9
|
-
## 9.0.0-canary.96
|
|
10
|
-
|
|
11
|
-
## 9.0.0-canary.95
|
|
12
|
-
|
|
13
|
-
## 9.0.0-canary.94
|
|
14
|
-
|
|
15
|
-
## 9.0.0-canary.93
|
|
16
|
-
|
|
17
|
-
## 9.0.0-canary.92
|
|
18
|
-
|
|
19
|
-
## 9.0.0-canary.91
|
|
20
|
-
|
|
21
|
-
## 9.0.0-canary.90
|
|
22
|
-
|
|
23
|
-
## 9.0.0-canary.89
|
|
24
|
-
|
|
25
|
-
## 9.0.0-canary.88
|
|
26
|
-
|
|
27
|
-
## 9.0.0-canary.87
|
|
28
|
-
|
|
29
|
-
## 9.0.0-canary.86
|
|
30
|
-
|
|
31
|
-
## 9.0.0-canary.85
|
|
32
|
-
|
|
33
|
-
## 9.0.0-canary.84
|
|
34
|
-
|
|
35
|
-
## 9.0.0-canary.83
|
|
36
|
-
|
|
37
|
-
## 9.0.0-canary.82
|
|
38
|
-
|
|
39
|
-
## 9.0.0-canary.81
|
|
40
|
-
|
|
41
|
-
## 9.0.0-canary.80
|
|
42
|
-
|
|
43
|
-
## 9.0.0-canary.79
|
|
44
|
-
|
|
45
|
-
## 9.0.0-canary.78
|
|
46
|
-
|
|
47
|
-
## 9.0.0-canary.77
|
|
48
|
-
|
|
49
|
-
## 9.0.0-canary.76
|
|
50
|
-
|
|
51
|
-
## 9.0.0-canary.75
|
|
52
|
-
|
|
53
|
-
## 9.0.0-canary.74
|
|
54
|
-
|
|
55
|
-
## 9.0.0-canary.73
|
|
56
|
-
|
|
57
|
-
## 9.0.0-canary.72
|
|
58
|
-
|
|
59
|
-
## 9.0.0-canary.71
|
|
60
|
-
|
|
61
|
-
## 9.0.0-canary.70
|
|
62
|
-
|
|
63
|
-
## 9.0.0-canary.69
|
|
64
|
-
|
|
65
|
-
## 9.0.0-canary.68
|
|
66
|
-
|
|
67
|
-
## 9.0.0-canary.67
|
|
68
|
-
|
|
69
|
-
## 9.0.0-canary.66
|
|
70
|
-
|
|
71
|
-
## 9.0.0-canary.65
|
|
72
|
-
|
|
73
|
-
## 9.0.0-canary.64
|
|
74
|
-
|
|
75
|
-
## 9.0.0-canary.63
|
|
76
|
-
|
|
77
|
-
## 9.0.0-canary.62
|
|
78
|
-
|
|
79
|
-
## 9.0.0-canary.61
|
|
5
|
+
### Patch Changes
|
|
80
6
|
|
|
81
|
-
|
|
7
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Use the non resolved payment methods as a placeholder for the actual payment methods ([@FrankHarland](https://github.com/FrankHarland))
|
|
82
8
|
|
|
83
|
-
|
|
9
|
+
- [#2277](https://github.com/graphcommerce-org/graphcommerce/pull/2277) [`f9199f7`](https://github.com/graphcommerce-org/graphcommerce/commit/f9199f798583138a68dd641ea6637375c487f29b) - Solve issue where Braintree wouldn't place the order after successfully validating a Credit Card. ([@paales](https://github.com/paales))
|
|
84
10
|
|
|
85
|
-
|
|
11
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`d345474`](https://github.com/graphcommerce-org/graphcommerce/commit/d345474fb190d158629cd5fd5e68a78724fa2fb6) - Due to a cyclic dependency the actual `<PaymentMethodPlaceOrder />` button would sometimes be undefined. ([@paales](https://github.com/paales))
|
|
86
12
|
|
|
87
|
-
|
|
13
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - Moved all usages of `useFormPersist` to the `<FormPersist/>` component to prevent rerenders. ([@FrankHarland](https://github.com/FrankHarland))
|
|
88
14
|
|
|
89
|
-
|
|
15
|
+
- [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving `<FromPersist/>` below the form components. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
90
16
|
|
|
91
|
-
|
|
17
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Prevent the `<BillingPage />` query from rerunning on each mutation. ([@FrankHarland](https://github.com/FrankHarland))
|
|
92
18
|
|
|
93
|
-
## 9.0.0-canary.
|
|
19
|
+
## 9.0.0-canary.118
|
|
94
20
|
|
|
95
|
-
##
|
|
21
|
+
## 9.0.0-canary.117
|
|
96
22
|
|
|
97
|
-
##
|
|
23
|
+
## 9.0.0-canary.116
|
|
98
24
|
|
|
99
|
-
##
|
|
25
|
+
## 9.0.0-canary.115
|
|
100
26
|
|
|
101
|
-
##
|
|
27
|
+
## 9.0.0-canary.114
|
|
102
28
|
|
|
103
|
-
##
|
|
29
|
+
## 9.0.0-canary.113
|
|
104
30
|
|
|
105
|
-
##
|
|
31
|
+
## 9.0.0-canary.112
|
|
106
32
|
|
|
107
|
-
##
|
|
33
|
+
## 9.0.0-canary.111
|
|
108
34
|
|
|
109
|
-
##
|
|
35
|
+
## 9.0.0-canary.110
|
|
110
36
|
|
|
111
|
-
##
|
|
37
|
+
## 9.0.0-canary.109
|
|
112
38
|
|
|
113
|
-
##
|
|
39
|
+
## 9.0.0-canary.108
|
|
114
40
|
|
|
115
|
-
##
|
|
41
|
+
## 9.0.0-canary.107
|
|
116
42
|
|
|
117
|
-
##
|
|
43
|
+
## 9.0.0-canary.106
|
|
118
44
|
|
|
119
|
-
##
|
|
45
|
+
## 9.0.0-canary.105
|
|
120
46
|
|
|
121
|
-
##
|
|
47
|
+
## 9.0.0-canary.104
|
|
122
48
|
|
|
123
|
-
##
|
|
49
|
+
## 9.0.0-canary.103
|
|
124
50
|
|
|
125
51
|
## 8.1.0-canary.38
|
|
126
52
|
|
|
@@ -128,88 +54,24 @@
|
|
|
128
54
|
|
|
129
55
|
- [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving <FromPersist/> below the form components ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
130
56
|
|
|
131
|
-
## 8.1.0-canary.37
|
|
132
|
-
|
|
133
|
-
## 8.1.0-canary.36
|
|
134
|
-
|
|
135
|
-
## 8.1.0-canary.35
|
|
136
|
-
|
|
137
|
-
## 8.1.0-canary.34
|
|
138
|
-
|
|
139
|
-
## 8.1.0-canary.33
|
|
140
|
-
|
|
141
|
-
## 8.1.0-canary.32
|
|
142
|
-
|
|
143
|
-
## 8.1.0-canary.31
|
|
144
|
-
|
|
145
|
-
## 8.1.0-canary.30
|
|
146
|
-
|
|
147
|
-
## 8.1.0-canary.29
|
|
148
|
-
|
|
149
|
-
## 8.1.0-canary.28
|
|
150
|
-
|
|
151
|
-
## 8.1.0-canary.27
|
|
152
|
-
|
|
153
|
-
## 8.1.0-canary.26
|
|
154
|
-
|
|
155
|
-
## 8.1.0-canary.25
|
|
156
|
-
|
|
157
|
-
## 8.1.0-canary.24
|
|
158
|
-
|
|
159
|
-
## 8.1.0-canary.23
|
|
160
|
-
|
|
161
|
-
## 8.1.0-canary.22
|
|
162
|
-
|
|
163
|
-
## 8.1.0-canary.21
|
|
164
|
-
|
|
165
|
-
## 8.1.0-canary.20
|
|
166
|
-
|
|
167
|
-
## 8.1.0-canary.19
|
|
168
|
-
|
|
169
57
|
## 8.1.0-canary.18
|
|
170
58
|
|
|
171
59
|
### Patch Changes
|
|
172
60
|
|
|
173
61
|
- [#2277](https://github.com/graphcommerce-org/graphcommerce/pull/2277) [`f9199f7`](https://github.com/graphcommerce-org/graphcommerce/commit/f9199f798583138a68dd641ea6637375c487f29b) - Solve issue where Braintree wouldn't place the order after successfully validating a Credit Card. ([@paales](https://github.com/paales))
|
|
174
62
|
|
|
175
|
-
## 8.1.0-canary.17
|
|
176
|
-
|
|
177
|
-
## 8.1.0-canary.16
|
|
178
|
-
|
|
179
|
-
## 8.1.0-canary.15
|
|
180
|
-
|
|
181
63
|
## 8.1.0-canary.14
|
|
182
64
|
|
|
183
65
|
### Patch Changes
|
|
184
66
|
|
|
185
67
|
- [`831d7cd`](https://github.com/graphcommerce-org/graphcommerce/commit/831d7cd64a40b7b58748fd9637199b88938e75b7) - Compatibility with Magento 2.4.7 ([@paales](https://github.com/paales))
|
|
186
68
|
|
|
187
|
-
## 8.1.0-canary.13
|
|
188
|
-
|
|
189
|
-
## 8.1.0-canary.12
|
|
190
|
-
|
|
191
|
-
## 8.1.0-canary.11
|
|
192
|
-
|
|
193
|
-
## 8.1.0-canary.10
|
|
194
|
-
|
|
195
|
-
## 8.1.0-canary.9
|
|
196
|
-
|
|
197
69
|
## 8.1.0-canary.8
|
|
198
70
|
|
|
199
71
|
### Patch Changes
|
|
200
72
|
|
|
201
73
|
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`d345474`](https://github.com/graphcommerce-org/graphcommerce/commit/d345474fb190d158629cd5fd5e68a78724fa2fb6) - Due to a cyclic dependency the actual PaymentMethodPlaceOrder button would sometimes be undefined. ([@paales](https://github.com/paales))
|
|
202
74
|
|
|
203
|
-
## 8.1.0-canary.7
|
|
204
|
-
|
|
205
|
-
## 8.1.0-canary.6
|
|
206
|
-
|
|
207
|
-
## 8.1.0-canary.5
|
|
208
|
-
|
|
209
|
-
## 8.0.6-canary.4
|
|
210
|
-
|
|
211
|
-
## 8.0.6-canary.3
|
|
212
|
-
|
|
213
75
|
## 8.0.6-canary.2
|
|
214
76
|
|
|
215
77
|
### Patch Changes
|
|
@@ -220,310 +82,18 @@
|
|
|
220
82
|
|
|
221
83
|
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Prevent BillingPage query from rerunning on each mutation ([@FrankHarland](https://github.com/FrankHarland))
|
|
222
84
|
|
|
223
|
-
## 8.0.6-canary.1
|
|
224
|
-
|
|
225
|
-
## 8.0.6-canary.0
|
|
226
|
-
|
|
227
|
-
## 8.0.5
|
|
228
|
-
|
|
229
|
-
## 8.0.5-canary.10
|
|
230
|
-
|
|
231
|
-
## 8.0.5-canary.9
|
|
232
|
-
|
|
233
|
-
## 8.0.5-canary.8
|
|
234
|
-
|
|
235
|
-
## 8.0.5-canary.7
|
|
236
|
-
|
|
237
|
-
## 8.0.5-canary.6
|
|
238
|
-
|
|
239
|
-
## 8.0.5-canary.5
|
|
240
|
-
|
|
241
|
-
## 8.0.5-canary.4
|
|
242
|
-
|
|
243
|
-
## 8.0.5-canary.3
|
|
244
|
-
|
|
245
|
-
## 8.0.5-canary.2
|
|
246
|
-
|
|
247
|
-
## 8.0.5-canary.1
|
|
248
|
-
|
|
249
|
-
## 8.0.5-canary.0
|
|
250
|
-
|
|
251
|
-
## 8.0.4
|
|
252
|
-
|
|
253
|
-
## 8.0.4-canary.1
|
|
254
|
-
|
|
255
|
-
## 8.0.4-canary.0
|
|
256
|
-
|
|
257
|
-
## 8.0.3
|
|
258
|
-
|
|
259
|
-
## 8.0.3-canary.6
|
|
260
|
-
|
|
261
|
-
## 8.0.3-canary.5
|
|
262
|
-
|
|
263
|
-
## 8.0.3-canary.4
|
|
264
|
-
|
|
265
|
-
## 8.0.3-canary.3
|
|
266
|
-
|
|
267
|
-
## 8.0.3-canary.2
|
|
268
|
-
|
|
269
|
-
## 8.0.3-canary.1
|
|
270
|
-
|
|
271
|
-
## 8.0.3-canary.0
|
|
272
|
-
|
|
273
|
-
## 8.0.2
|
|
274
|
-
|
|
275
|
-
## 8.0.2-canary.3
|
|
276
|
-
|
|
277
|
-
## 8.0.2-canary.2
|
|
278
|
-
|
|
279
|
-
## 8.0.2-canary.1
|
|
280
|
-
|
|
281
|
-
## 8.0.2-canary.0
|
|
282
|
-
|
|
283
|
-
## 8.0.1
|
|
284
|
-
|
|
285
|
-
## 8.0.1-canary.4
|
|
286
|
-
|
|
287
|
-
## 8.0.1-canary.3
|
|
288
|
-
|
|
289
|
-
## 8.0.1-canary.2
|
|
290
|
-
|
|
291
|
-
## 8.0.1-canary.1
|
|
292
|
-
|
|
293
|
-
## 8.0.1-canary.0
|
|
294
|
-
|
|
295
85
|
## 8.0.0
|
|
296
86
|
|
|
297
87
|
### Patch Changes
|
|
298
88
|
|
|
299
89
|
- [#2115](https://github.com/graphcommerce-org/graphcommerce/pull/2115) [`105a1af`](https://github.com/graphcommerce-org/graphcommerce/commit/105a1af8b820de8873e430ae398f1922d39a9110) - Disabled ripple animations on all ActionCard ‘Select’ and ‘Change’ so the rendering is more subtle during checkout. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
300
90
|
|
|
301
|
-
## 8.0.0-canary.100
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.99
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.98
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.97
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.96
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.95
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.94
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.93
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.92
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.91
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.90
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.89
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.88
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.87
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.86
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.85
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.84
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.83
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.82
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.81
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.80
|
|
342
|
-
|
|
343
|
-
## 8.0.0-canary.79
|
|
344
|
-
|
|
345
|
-
## 8.0.0-canary.78
|
|
346
|
-
|
|
347
|
-
## 8.0.0-canary.77
|
|
348
|
-
|
|
349
|
-
## 8.0.0-canary.76
|
|
350
|
-
|
|
351
|
-
## 8.0.0-canary.75
|
|
352
|
-
|
|
353
|
-
## 8.0.0-canary.74
|
|
354
|
-
|
|
355
|
-
## 8.0.0-canary.73
|
|
356
|
-
|
|
357
|
-
## 8.0.0-canary.72
|
|
358
|
-
|
|
359
|
-
## 8.0.0-canary.71
|
|
360
|
-
|
|
361
|
-
## 8.0.0-canary.70
|
|
362
|
-
|
|
363
|
-
## 8.0.0-canary.69
|
|
364
|
-
|
|
365
|
-
## 7.1.0-canary.68
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.67
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.66
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.65
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.64
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.63
|
|
376
|
-
|
|
377
|
-
## 7.1.0-canary.62
|
|
378
|
-
|
|
379
|
-
## 7.1.0-canary.61
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.60
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.59
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.58
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.57
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.56
|
|
390
|
-
|
|
391
|
-
## 7.1.0-canary.55
|
|
392
|
-
|
|
393
|
-
## 7.1.0-canary.54
|
|
394
|
-
|
|
395
|
-
## 7.1.0-canary.53
|
|
396
|
-
|
|
397
|
-
## 7.1.0-canary.52
|
|
398
|
-
|
|
399
|
-
## 7.1.0-canary.51
|
|
400
|
-
|
|
401
|
-
## 7.1.0-canary.50
|
|
402
|
-
|
|
403
|
-
## 7.1.0-canary.49
|
|
404
|
-
|
|
405
|
-
### Patch Changes
|
|
406
|
-
|
|
407
|
-
- [#2115](https://github.com/graphcommerce-org/graphcommerce/pull/2115) [`105a1af8b`](https://github.com/graphcommerce-org/graphcommerce/commit/105a1af8b820de8873e430ae398f1922d39a9110) - Disabled Ripple on all ActionCard ‘Select’ and ‘Change’ so the rendering is more subtle during checkout. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
408
|
-
|
|
409
|
-
## 7.1.0-canary.48
|
|
410
|
-
|
|
411
|
-
## 7.1.0-canary.47
|
|
412
|
-
|
|
413
|
-
## 7.1.0-canary.46
|
|
414
|
-
|
|
415
|
-
## 7.1.0-canary.45
|
|
416
|
-
|
|
417
|
-
## 7.1.0-canary.38
|
|
418
|
-
|
|
419
|
-
## 7.1.0-canary.37
|
|
420
|
-
|
|
421
|
-
## 7.1.0-canary.36
|
|
422
|
-
|
|
423
|
-
## 7.1.0-canary.35
|
|
424
|
-
|
|
425
|
-
## 7.1.0-canary.34
|
|
426
|
-
|
|
427
|
-
## 7.1.0-canary.33
|
|
428
|
-
|
|
429
|
-
## 7.1.0-canary.32
|
|
430
|
-
|
|
431
|
-
## 7.1.0-canary.31
|
|
432
|
-
|
|
433
|
-
## 7.1.0-canary.30
|
|
434
|
-
|
|
435
|
-
## 7.1.0-canary.29
|
|
436
|
-
|
|
437
|
-
## 7.1.0-canary.28
|
|
438
|
-
|
|
439
|
-
## 7.1.0-canary.27
|
|
440
|
-
|
|
441
|
-
## 7.1.0-canary.26
|
|
442
|
-
|
|
443
|
-
## 7.1.0-canary.25
|
|
444
|
-
|
|
445
|
-
## 7.1.0-canary.24
|
|
446
|
-
|
|
447
|
-
## 7.1.0-canary.23
|
|
448
|
-
|
|
449
|
-
## 7.1.0-canary.22
|
|
450
|
-
|
|
451
|
-
## 7.1.0-canary.21
|
|
452
|
-
|
|
453
|
-
## 7.1.0-canary.20
|
|
454
|
-
|
|
455
|
-
## 7.1.0-canary.19
|
|
456
|
-
|
|
457
|
-
## 7.1.0-canary.18
|
|
458
|
-
|
|
459
|
-
## 7.1.0-canary.17
|
|
460
|
-
|
|
461
|
-
## 7.1.0-canary.16
|
|
462
|
-
|
|
463
|
-
## 7.1.0-canary.15
|
|
464
|
-
|
|
465
|
-
## 7.1.0-canary.14
|
|
466
|
-
|
|
467
|
-
## 7.1.0-canary.13
|
|
468
|
-
|
|
469
|
-
## 7.1.0-canary.12
|
|
470
|
-
|
|
471
|
-
## 7.1.0-canary.11
|
|
472
|
-
|
|
473
|
-
## 7.1.0-canary.10
|
|
474
|
-
|
|
475
|
-
## 7.1.0-canary.9
|
|
476
|
-
|
|
477
|
-
## 7.1.0-canary.8
|
|
478
|
-
|
|
479
|
-
## 7.0.2-canary.7
|
|
480
|
-
|
|
481
|
-
## 7.0.2-canary.6
|
|
482
|
-
|
|
483
|
-
## 7.0.2-canary.5
|
|
484
|
-
|
|
485
91
|
## 7.0.1
|
|
486
92
|
|
|
487
93
|
### Patch Changes
|
|
488
94
|
|
|
489
95
|
- [#2046](https://github.com/graphcommerce-org/graphcommerce/pull/2046) [`6c7197755`](https://github.com/graphcommerce-org/graphcommerce/commit/6c7197755ba54d35109fea0c44965a3aae3fd895) - Remove the selected payment method title from the Place order button so that the text always fits ([@carlocarels90](https://github.com/carlocarels90))
|
|
490
96
|
|
|
491
|
-
## 7.0.1-canary.15
|
|
492
|
-
|
|
493
|
-
## 7.0.1-canary.14
|
|
494
|
-
|
|
495
|
-
## 7.0.1-canary.13
|
|
496
|
-
|
|
497
|
-
## 7.0.1-canary.12
|
|
498
|
-
|
|
499
|
-
## 7.0.1-canary.11
|
|
500
|
-
|
|
501
|
-
## 7.0.1-canary.10
|
|
502
|
-
|
|
503
|
-
## 7.0.1-canary.9
|
|
504
|
-
|
|
505
|
-
### Patch Changes
|
|
506
|
-
|
|
507
|
-
- [#2046](https://github.com/graphcommerce-org/graphcommerce/pull/2046) [`6c7197755`](https://github.com/graphcommerce-org/graphcommerce/commit/6c7197755ba54d35109fea0c44965a3aae3fd895) - Remove the selected payment method title from the Place order button so that the text always fits ([@carlocarels90](https://github.com/carlocarels90))
|
|
508
|
-
|
|
509
|
-
## 7.0.1-canary.8
|
|
510
|
-
|
|
511
|
-
## 7.0.1-canary.7
|
|
512
|
-
|
|
513
|
-
## 7.0.1-canary.6
|
|
514
|
-
|
|
515
|
-
## 7.0.1-canary.5
|
|
516
|
-
|
|
517
|
-
## 7.0.1-canary.4
|
|
518
|
-
|
|
519
|
-
## 7.0.1-canary.3
|
|
520
|
-
|
|
521
|
-
## 7.0.1-canary.2
|
|
522
|
-
|
|
523
|
-
## 7.0.1-canary.1
|
|
524
|
-
|
|
525
|
-
## 7.0.1-canary.0
|
|
526
|
-
|
|
527
97
|
## 7.0.0
|
|
528
98
|
|
|
529
99
|
### Patch Changes
|
|
@@ -534,282 +104,6 @@
|
|
|
534
104
|
|
|
535
105
|
- [#2027](https://github.com/graphcommerce-org/graphcommerce/pull/2027) [`e384fe2e4`](https://github.com/graphcommerce-org/graphcommerce/commit/e384fe2e47d849fe6f7bfa7c6dd48b9b6b5b1bd1) - Solved an issue where the empty cart would be shown between the payment and success page. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
536
106
|
|
|
537
|
-
## 6.2.0-canary.98
|
|
538
|
-
|
|
539
|
-
## 6.2.0-canary.97
|
|
540
|
-
|
|
541
|
-
## 6.2.0-canary.96
|
|
542
|
-
|
|
543
|
-
## 6.2.0-canary.95
|
|
544
|
-
|
|
545
|
-
## 6.2.0-canary.94
|
|
546
|
-
|
|
547
|
-
## 6.2.0-canary.93
|
|
548
|
-
|
|
549
|
-
## 6.2.0-canary.92
|
|
550
|
-
|
|
551
|
-
## 6.2.0-canary.91
|
|
552
|
-
|
|
553
|
-
## 6.2.0-canary.90
|
|
554
|
-
|
|
555
|
-
## 6.2.0-canary.89
|
|
556
|
-
|
|
557
|
-
### Patch Changes
|
|
558
|
-
|
|
559
|
-
- [#2031](https://github.com/graphcommerce-org/graphcommerce/pull/2031) [`4d8fc9e99`](https://github.com/graphcommerce-org/graphcommerce/commit/4d8fc9e998fc9361282833316ec9564da0644ed6) - Eslint fixes and suppress accepted warnings ([@paales](https://github.com/paales))
|
|
560
|
-
|
|
561
|
-
## 6.2.0-canary.88
|
|
562
|
-
|
|
563
|
-
## 6.2.0-canary.87
|
|
564
|
-
|
|
565
|
-
## 6.2.0-canary.86
|
|
566
|
-
|
|
567
|
-
## 6.2.0-canary.85
|
|
568
|
-
|
|
569
|
-
### Patch Changes
|
|
570
|
-
|
|
571
|
-
- [#2027](https://github.com/graphcommerce-org/graphcommerce/pull/2027) [`e384fe2e4`](https://github.com/graphcommerce-org/graphcommerce/commit/e384fe2e47d849fe6f7bfa7c6dd48b9b6b5b1bd1) - Solved an issue where the empty cart would be shown between the payment and success page. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
572
|
-
|
|
573
|
-
## 6.2.0-canary.84
|
|
574
|
-
|
|
575
|
-
## 6.2.0-canary.83
|
|
576
|
-
|
|
577
|
-
## 6.2.0-canary.82
|
|
578
|
-
|
|
579
|
-
## 6.2.0-canary.81
|
|
580
|
-
|
|
581
|
-
## 6.2.0-canary.80
|
|
582
|
-
|
|
583
|
-
## 6.2.0-canary.79
|
|
584
|
-
|
|
585
|
-
## 6.2.0-canary.78
|
|
586
|
-
|
|
587
|
-
## 6.2.0-canary.77
|
|
588
|
-
|
|
589
|
-
## 6.2.0-canary.76
|
|
590
|
-
|
|
591
|
-
## 6.2.0-canary.75
|
|
592
|
-
|
|
593
|
-
## 6.2.0-canary.74
|
|
594
|
-
|
|
595
|
-
## 6.2.0-canary.73
|
|
596
|
-
|
|
597
|
-
## 6.2.0-canary.72
|
|
598
|
-
|
|
599
|
-
## 6.2.0-canary.71
|
|
600
|
-
|
|
601
|
-
## 6.2.0-canary.70
|
|
602
|
-
|
|
603
|
-
## 6.2.0-canary.69
|
|
604
|
-
|
|
605
|
-
## 6.2.0-canary.68
|
|
606
|
-
|
|
607
|
-
## 6.2.0-canary.67
|
|
608
|
-
|
|
609
|
-
## 6.2.0-canary.66
|
|
610
|
-
|
|
611
|
-
## 6.2.0-canary.65
|
|
612
|
-
|
|
613
|
-
## 6.2.0-canary.64
|
|
614
|
-
|
|
615
|
-
## 6.2.0-canary.63
|
|
616
|
-
|
|
617
|
-
## 6.2.0-canary.62
|
|
618
|
-
|
|
619
|
-
## 6.2.0-canary.61
|
|
620
|
-
|
|
621
|
-
## 6.2.0-canary.60
|
|
622
|
-
|
|
623
|
-
## 6.2.0-canary.59
|
|
624
|
-
|
|
625
|
-
## 6.2.0-canary.58
|
|
626
|
-
|
|
627
|
-
## 6.2.0-canary.57
|
|
628
|
-
|
|
629
|
-
## 6.2.0-canary.56
|
|
630
|
-
|
|
631
|
-
## 6.2.0-canary.55
|
|
632
|
-
|
|
633
|
-
## 6.2.0-canary.54
|
|
634
|
-
|
|
635
|
-
## 6.2.0-canary.53
|
|
636
|
-
|
|
637
|
-
## 6.2.0-canary.52
|
|
638
|
-
|
|
639
|
-
## 6.2.0-canary.51
|
|
640
|
-
|
|
641
|
-
## 6.2.0-canary.50
|
|
642
|
-
|
|
643
|
-
## 6.2.0-canary.49
|
|
644
|
-
|
|
645
|
-
## 6.2.0-canary.48
|
|
646
|
-
|
|
647
|
-
## 6.2.0-canary.47
|
|
648
|
-
|
|
649
|
-
## 6.2.0-canary.46
|
|
650
|
-
|
|
651
|
-
## 6.2.0-canary.45
|
|
652
|
-
|
|
653
|
-
## 6.2.0-canary.44
|
|
654
|
-
|
|
655
|
-
## 6.2.0-canary.43
|
|
656
|
-
|
|
657
|
-
## 6.2.0-canary.42
|
|
658
|
-
|
|
659
|
-
## 6.2.0-canary.41
|
|
660
|
-
|
|
661
|
-
## 6.2.0-canary.40
|
|
662
|
-
|
|
663
|
-
## 6.2.0-canary.39
|
|
664
|
-
|
|
665
|
-
## 6.2.0-canary.38
|
|
666
|
-
|
|
667
|
-
## 6.2.0-canary.37
|
|
668
|
-
|
|
669
|
-
## 6.2.0-canary.36
|
|
670
|
-
|
|
671
|
-
## 6.2.0-canary.35
|
|
672
|
-
|
|
673
|
-
## 6.2.0-canary.34
|
|
674
|
-
|
|
675
|
-
## 6.2.0-canary.33
|
|
676
|
-
|
|
677
|
-
## 6.2.0-canary.32
|
|
678
|
-
|
|
679
|
-
## 6.2.0-canary.31
|
|
680
|
-
|
|
681
|
-
## 6.2.0-canary.30
|
|
682
|
-
|
|
683
|
-
## 6.2.0-canary.29
|
|
684
|
-
|
|
685
|
-
## 6.2.0-canary.28
|
|
686
|
-
|
|
687
|
-
## 6.2.0-canary.27
|
|
688
|
-
|
|
689
|
-
## 6.2.0-canary.26
|
|
690
|
-
|
|
691
|
-
## 6.2.0-canary.25
|
|
692
|
-
|
|
693
|
-
## 6.2.0-canary.24
|
|
694
|
-
|
|
695
|
-
### Patch Changes
|
|
696
|
-
|
|
697
|
-
- [#1943](https://github.com/graphcommerce-org/graphcommerce/pull/1943) [`138215b45`](https://github.com/graphcommerce-org/graphcommerce/commit/138215b453703f44243c85b3bfab58814d86131c) - When a PayPal buyer would return to the website it would sometimes clear the buyers token ([@paales](https://github.com/paales))
|
|
698
|
-
|
|
699
|
-
## 6.2.0-canary.23
|
|
700
|
-
|
|
701
|
-
## 6.2.0-canary.22
|
|
702
|
-
|
|
703
|
-
## 6.2.0-canary.21
|
|
704
|
-
|
|
705
|
-
## 6.2.0-canary.20
|
|
706
|
-
|
|
707
|
-
## 6.2.0-canary.19
|
|
708
|
-
|
|
709
|
-
## 6.2.0-canary.18
|
|
710
|
-
|
|
711
|
-
## 6.2.0-canary.17
|
|
712
|
-
|
|
713
|
-
## 6.2.0-canary.16
|
|
714
|
-
|
|
715
|
-
## 6.2.0-canary.15
|
|
716
|
-
|
|
717
|
-
## 6.2.0-canary.14
|
|
718
|
-
|
|
719
|
-
## 6.2.0-canary.13
|
|
720
|
-
|
|
721
|
-
## 6.2.0-canary.12
|
|
722
|
-
|
|
723
|
-
## 6.2.0-canary.11
|
|
724
|
-
|
|
725
|
-
## 6.2.0-canary.10
|
|
726
|
-
|
|
727
|
-
## 6.2.0-canary.9
|
|
728
|
-
|
|
729
|
-
## 6.2.0-canary.8
|
|
730
|
-
|
|
731
|
-
## 6.2.0-canary.7
|
|
732
|
-
|
|
733
|
-
## 6.2.0-canary.6
|
|
734
|
-
|
|
735
|
-
## 6.1.1-canary.5
|
|
736
|
-
|
|
737
|
-
## 6.1.1-canary.4
|
|
738
|
-
|
|
739
|
-
## 6.1.1-canary.3
|
|
740
|
-
|
|
741
|
-
## 6.1.1-canary.2
|
|
742
|
-
|
|
743
|
-
## 6.1.1-canary.1
|
|
744
|
-
|
|
745
|
-
## 6.1.1-canary.0
|
|
746
|
-
|
|
747
|
-
## 6.1.0
|
|
748
|
-
|
|
749
|
-
## 6.0.2-canary.22
|
|
750
|
-
|
|
751
|
-
## 6.0.2-canary.21
|
|
752
|
-
|
|
753
|
-
## 6.0.2-canary.20
|
|
754
|
-
|
|
755
|
-
## 6.0.2-canary.19
|
|
756
|
-
|
|
757
|
-
## 6.0.2-canary.18
|
|
758
|
-
|
|
759
|
-
## 6.0.2-canary.17
|
|
760
|
-
|
|
761
|
-
## 6.0.2-canary.16
|
|
762
|
-
|
|
763
|
-
## 6.0.2-canary.15
|
|
764
|
-
|
|
765
|
-
## 6.0.2-canary.14
|
|
766
|
-
|
|
767
|
-
## 6.0.2-canary.13
|
|
768
|
-
|
|
769
|
-
## 6.0.2-canary.12
|
|
770
|
-
|
|
771
|
-
## 6.0.2-canary.11
|
|
772
|
-
|
|
773
|
-
## 6.0.2-canary.10
|
|
774
|
-
|
|
775
|
-
## 6.0.2-canary.9
|
|
776
|
-
|
|
777
|
-
## 6.0.2-canary.8
|
|
778
|
-
|
|
779
|
-
## 6.0.2-canary.7
|
|
780
|
-
|
|
781
|
-
## 6.0.2-canary.6
|
|
782
|
-
|
|
783
|
-
## 6.0.2-canary.5
|
|
784
|
-
|
|
785
|
-
## 6.0.2-canary.4
|
|
786
|
-
|
|
787
|
-
## 6.0.2-canary.3
|
|
788
|
-
|
|
789
|
-
## 6.0.2-canary.2
|
|
790
|
-
|
|
791
|
-
## 6.0.2-canary.1
|
|
792
|
-
|
|
793
|
-
## 6.0.2-canary.0
|
|
794
|
-
|
|
795
|
-
## 6.0.1
|
|
796
|
-
|
|
797
|
-
## 6.0.1-canary.7
|
|
798
|
-
|
|
799
|
-
## 6.0.1-canary.6
|
|
800
|
-
|
|
801
|
-
## 6.0.1-canary.5
|
|
802
|
-
|
|
803
|
-
## 6.0.1-canary.4
|
|
804
|
-
|
|
805
|
-
## 6.0.1-canary.3
|
|
806
|
-
|
|
807
|
-
## 6.0.1-canary.2
|
|
808
|
-
|
|
809
|
-
## 6.0.1-canary.1
|
|
810
|
-
|
|
811
|
-
## 6.0.1-canary.0
|
|
812
|
-
|
|
813
107
|
## 6.0.0
|
|
814
108
|
|
|
815
109
|
### Minor Changes
|
|
@@ -820,130 +114,6 @@
|
|
|
820
114
|
|
|
821
115
|
- [#1851](https://github.com/graphcommerce-org/graphcommerce/pull/1851) [`5adadf4ba`](https://github.com/graphcommerce-org/graphcommerce/commit/5adadf4ba023e861409a3925b5cda1e20dbb256c) - Make sure the PayerID isn’t required for non-paypal method ([@paales](https://github.com/paales))
|
|
822
116
|
|
|
823
|
-
## 6.0.0-canary.54
|
|
824
|
-
|
|
825
|
-
## 6.0.0-canary.53
|
|
826
|
-
|
|
827
|
-
## 6.0.0-canary.52
|
|
828
|
-
|
|
829
|
-
## 6.0.0-canary.51
|
|
830
|
-
|
|
831
|
-
## 6.0.0-canary.50
|
|
832
|
-
|
|
833
|
-
### Patch Changes
|
|
834
|
-
|
|
835
|
-
- [#1851](https://github.com/graphcommerce-org/graphcommerce/pull/1851) [`5adadf4ba`](https://github.com/graphcommerce-org/graphcommerce/commit/5adadf4ba023e861409a3925b5cda1e20dbb256c) - Make sure the PayerID isn’t required for non-paypal method ([@paales](https://github.com/paales))
|
|
836
|
-
|
|
837
|
-
## 6.0.0-canary.49
|
|
838
|
-
|
|
839
|
-
## 6.0.0-canary.48
|
|
840
|
-
|
|
841
|
-
## 6.0.0-canary.47
|
|
842
|
-
|
|
843
|
-
## 6.0.0-canary.46
|
|
844
|
-
|
|
845
|
-
## 6.0.0-canary.45
|
|
846
|
-
|
|
847
|
-
## 6.0.0-canary.44
|
|
848
|
-
|
|
849
|
-
## 6.0.0-canary.43
|
|
850
|
-
|
|
851
|
-
### Minor Changes
|
|
852
|
-
|
|
853
|
-
- [#1841](https://github.com/graphcommerce-org/graphcommerce/pull/1841) [`45befd304`](https://github.com/graphcommerce-org/graphcommerce/commit/45befd3040eb45f7f7204312cd532432ae84dc4d) - Always fetch the CartTotals when changing the payment method and automatically submit the currently selected payment method. ([@paales](https://github.com/paales))
|
|
854
|
-
|
|
855
|
-
## 6.0.0-canary.42
|
|
856
|
-
|
|
857
|
-
## 6.0.0-canary.41
|
|
858
|
-
|
|
859
|
-
## 6.0.0-canary.40
|
|
860
|
-
|
|
861
|
-
## 6.0.0-canary.39
|
|
862
|
-
|
|
863
|
-
## 6.0.0-canary.38
|
|
864
|
-
|
|
865
|
-
## 6.0.0-canary.37
|
|
866
|
-
|
|
867
|
-
## 6.0.0-canary.36
|
|
868
|
-
|
|
869
|
-
## 6.0.0-canary.35
|
|
870
|
-
|
|
871
|
-
## 6.0.0-canary.34
|
|
872
|
-
|
|
873
|
-
## 6.0.0-canary.33
|
|
874
|
-
|
|
875
|
-
## 6.0.0-canary.32
|
|
876
|
-
|
|
877
|
-
## 6.0.0-canary.31
|
|
878
|
-
|
|
879
|
-
## 6.0.0-canary.30
|
|
880
|
-
|
|
881
|
-
## 6.0.0-canary.29
|
|
882
|
-
|
|
883
|
-
## 6.0.0-canary.28
|
|
884
|
-
|
|
885
|
-
## 6.0.0-canary.27
|
|
886
|
-
|
|
887
|
-
## 6.0.0-canary.26
|
|
888
|
-
|
|
889
|
-
## 6.0.0-canary.25
|
|
890
|
-
|
|
891
|
-
## 6.0.0-canary.24
|
|
892
|
-
|
|
893
|
-
## 6.0.0-canary.23
|
|
894
|
-
|
|
895
|
-
## 6.0.0-canary.22
|
|
896
|
-
|
|
897
|
-
## 6.0.0-canary.21
|
|
898
|
-
|
|
899
|
-
## 6.0.0-canary.20
|
|
900
|
-
|
|
901
|
-
## 5.2.0-canary.19
|
|
902
|
-
|
|
903
|
-
## 5.2.0-canary.18
|
|
904
|
-
|
|
905
|
-
## 5.2.0-canary.17
|
|
906
|
-
|
|
907
|
-
## 5.2.0-canary.16
|
|
908
|
-
|
|
909
|
-
## 5.2.0-canary.15
|
|
910
|
-
|
|
911
|
-
## 5.2.0-canary.14
|
|
912
|
-
|
|
913
|
-
## 5.2.0-canary.13
|
|
914
|
-
|
|
915
|
-
## 5.2.0-canary.12
|
|
916
|
-
|
|
917
|
-
## 5.2.0-canary.11
|
|
918
|
-
|
|
919
|
-
## 5.2.0-canary.10
|
|
920
|
-
|
|
921
|
-
## 5.2.0-canary.9
|
|
922
|
-
|
|
923
|
-
## 5.2.0-canary.8
|
|
924
|
-
|
|
925
|
-
## 5.2.0-canary.7
|
|
926
|
-
|
|
927
|
-
## 5.2.0-canary.6
|
|
928
|
-
|
|
929
|
-
## 5.2.0-canary.5
|
|
930
|
-
|
|
931
|
-
## 5.2.0-canary.4
|
|
932
|
-
|
|
933
|
-
## 5.2.0-canary.3
|
|
934
|
-
|
|
935
|
-
## 5.2.0-canary.2
|
|
936
|
-
|
|
937
|
-
## 5.2.0-canary.1
|
|
938
|
-
|
|
939
|
-
## 5.2.0-canary.0
|
|
940
|
-
|
|
941
|
-
## 5.1.1
|
|
942
|
-
|
|
943
|
-
## 5.1.1-canary.1
|
|
944
|
-
|
|
945
|
-
## 5.1.1-canary.0
|
|
946
|
-
|
|
947
117
|
## 5.1.0
|
|
948
118
|
|
|
949
119
|
### Patch Changes
|
|
@@ -955,39 +125,6 @@
|
|
|
955
125
|
- Upgraded dependencies including type-fest and graphql-mesh
|
|
956
126
|
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
957
127
|
|
|
958
|
-
## 5.1.0-canary.11
|
|
959
|
-
|
|
960
|
-
## 5.1.0-canary.10
|
|
961
|
-
|
|
962
|
-
## 5.1.0-canary.9
|
|
963
|
-
|
|
964
|
-
## 5.1.0-canary.8
|
|
965
|
-
|
|
966
|
-
## 5.1.0-canary.7
|
|
967
|
-
|
|
968
|
-
## 5.1.0-canary.6
|
|
969
|
-
|
|
970
|
-
## 5.1.0-canary.5
|
|
971
|
-
|
|
972
|
-
## 5.1.0-canary.4
|
|
973
|
-
|
|
974
|
-
## 5.1.0-canary.3
|
|
975
|
-
|
|
976
|
-
### Patch Changes
|
|
977
|
-
|
|
978
|
-
- [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
|
|
979
|
-
|
|
980
|
-
- Updated the @mui/material package
|
|
981
|
-
- Removed dependencies on react-hook-form-mui and @playwright/test
|
|
982
|
-
- Upgraded dependencies including type-fest and graphql-mesh
|
|
983
|
-
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
984
|
-
|
|
985
|
-
## 5.1.0-canary.2
|
|
986
|
-
|
|
987
|
-
## 5.1.0-canary.1
|
|
988
|
-
|
|
989
|
-
## 5.1.0-canary.0
|
|
990
|
-
|
|
991
128
|
## 5.0.0
|
|
992
129
|
|
|
993
130
|
### Major Changes
|
|
@@ -1008,82 +145,12 @@
|
|
|
1008
145
|
|
|
1009
146
|
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`be10e8cd1`](https://github.com/graphcommerce-org/graphcommerce/commit/be10e8cd1dce172a914ee9e5f65fdca4d0929fc8) - Migrated payment methods to use the new `onSuccess` method from `PaymentMethodContextProvider` instead of redirecting manually, makes sure the onSuccess method can be used by plugins. ([@paales](https://github.com/paales))
|
|
1010
147
|
|
|
1011
|
-
## 5.0.0-canary.14
|
|
1012
|
-
|
|
1013
|
-
## 5.0.0-canary.13
|
|
1014
|
-
|
|
1015
|
-
### Major Changes
|
|
1016
|
-
|
|
1017
|
-
- [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
|
|
1018
|
-
|
|
1019
|
-
## 4.14.0-canary.12
|
|
1020
|
-
|
|
1021
|
-
## 4.14.0-canary.11
|
|
1022
|
-
|
|
1023
|
-
## 4.14.0-canary.10
|
|
1024
|
-
|
|
1025
|
-
## 4.14.0-canary.9
|
|
1026
|
-
|
|
1027
|
-
## 4.14.0-canary.8
|
|
1028
|
-
|
|
1029
|
-
## 4.14.0-canary.7
|
|
1030
|
-
|
|
1031
|
-
## 4.14.0-canary.6
|
|
1032
|
-
|
|
1033
|
-
## 4.14.0-canary.5
|
|
1034
|
-
|
|
1035
|
-
## 4.14.0-canary.4
|
|
1036
|
-
|
|
1037
|
-
### Minor Changes
|
|
1038
|
-
|
|
1039
|
-
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`0173d9307`](https://github.com/graphcommerce-org/graphcommerce/commit/0173d93075e1e3bdfb4667cf1ef3e53113b38994) - Add props to <PaymentMethodContextProvider/>: onSuccess and successUrl. ([@paales](https://github.com/paales))
|
|
1040
|
-
|
|
1041
|
-
### Patch Changes
|
|
1042
|
-
|
|
1043
|
-
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`a0eefa762`](https://github.com/graphcommerce-org/graphcommerce/commit/a0eefa762f93f817f506b87753dfe0b92e3318f8) - Added better disabled state for an ActionCard ([@paales](https://github.com/paales))
|
|
1044
|
-
|
|
1045
|
-
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`be10e8cd1`](https://github.com/graphcommerce-org/graphcommerce/commit/be10e8cd1dce172a914ee9e5f65fdca4d0929fc8) - Migrated payment methods to use the new `onSuccess` method from `PaymentMethodContextProvider` instead of redirecting manually, makes sure the onSuccess method can be used by plugins. ([@paales](https://github.com/paales))
|
|
1046
|
-
|
|
1047
|
-
## 4.14.0-canary.3
|
|
1048
|
-
|
|
1049
|
-
## 4.14.0-canary.2
|
|
1050
|
-
|
|
1051
|
-
### Patch Changes
|
|
1052
|
-
|
|
1053
|
-
- [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`37e86cdc8`](https://github.com/graphcommerce-org/graphcommerce/commit/37e86cdc86ccca3db77d6c59b1e14c8112bb7893) - Remove usage of PropsWithChildren ([@paales](https://github.com/paales))
|
|
1054
|
-
|
|
1055
|
-
- [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`acef2a3ae`](https://github.com/graphcommerce-org/graphcommerce/commit/acef2a3aedd60e1882330cde56877bf26857d238) - Make the modules prop optional for the `<PaymentMethodContextProvider />` component ([@paales](https://github.com/paales))
|
|
1056
|
-
|
|
1057
|
-
## 4.13.2-canary.1
|
|
1058
|
-
|
|
1059
|
-
## 4.13.2-canary.0
|
|
1060
|
-
|
|
1061
|
-
## 4.13.3
|
|
1062
|
-
|
|
1063
|
-
## 4.13.2
|
|
1064
|
-
|
|
1065
|
-
## 4.13.1
|
|
1066
|
-
|
|
1067
|
-
## 4.13.1-canary.2
|
|
1068
|
-
|
|
1069
|
-
## 4.13.1-canary.1
|
|
1070
|
-
|
|
1071
|
-
## 4.13.1-canary.0
|
|
1072
|
-
|
|
1073
148
|
## 4.13.0
|
|
1074
149
|
|
|
1075
150
|
### Patch Changes
|
|
1076
151
|
|
|
1077
152
|
- [#1702](https://github.com/graphcommerce-org/graphcommerce/pull/1702) [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1078
153
|
|
|
1079
|
-
## 4.13.0-canary.1
|
|
1080
|
-
|
|
1081
|
-
### Patch Changes
|
|
1082
|
-
|
|
1083
|
-
- [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1084
|
-
|
|
1085
|
-
## 4.13.0-canary.0
|
|
1086
|
-
|
|
1087
154
|
## 3.6.9
|
|
1088
155
|
|
|
1089
156
|
### Patch Changes
|
|
@@ -1629,7 +696,7 @@
|
|
|
1629
696
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1630
697
|
|
|
1631
698
|
```tsx
|
|
1632
|
-
import {
|
|
699
|
+
import { t, Trans } from '@lingui/macro'
|
|
1633
700
|
|
|
1634
701
|
function MyComponent() {
|
|
1635
702
|
const foo = 'bar'
|
|
@@ -1644,8 +711,8 @@
|
|
|
1644
711
|
Needs to be replaced with:
|
|
1645
712
|
|
|
1646
713
|
```tsx
|
|
1647
|
-
import { Trans } from '@lingui/react'
|
|
1648
714
|
import { i18n } from '@lingui/core'
|
|
715
|
+
import { Trans } from '@lingui/react'
|
|
1649
716
|
|
|
1650
717
|
function MyComponent() {
|
|
1651
718
|
const foo = 'bar'
|
|
@@ -2031,8 +1098,6 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
2031
1098
|
|
|
2032
1099
|
## [2.103.15](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-payment-method@2.103.14...@graphcommerce/magento-cart-payment-method@2.103.15) (2021-09-23)
|
|
2033
1100
|
|
|
2034
|
-
## [2.103.15](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-payment-method@2.103.14...@graphcommerce/magento-cart-payment-method@2.103.15) (2021-09-23)
|
|
2035
|
-
|
|
2036
1101
|
### Bug Fixes
|
|
2037
1102
|
|
|
2038
1103
|
- do not use ToggleButtonGroup, only use the ToggleButton ([5172f70](https://github.com/ho-nl/m2-pwa/commit/5172f709ee26122b0a8700afb4325f23cb9ba9b9))
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { ActionCardItemRenderProps
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
UseFormComposeOptions,
|
|
8
|
-
} from '@graphcommerce/react-hook-form'
|
|
1
|
+
import type { ActionCardItemRenderProps } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
|
3
|
+
import type { ActionCardProps } from '@graphcommerce/next-ui'
|
|
4
|
+
import { ActionCard, Button, FormDiv } from '@graphcommerce/next-ui'
|
|
5
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
6
|
+
import { FormPersist, useForm, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
9
7
|
import { i18n } from '@lingui/core'
|
|
10
8
|
import { Trans } from '@lingui/react'
|
|
11
|
-
import { SxProps, Theme } from '@mui/material'
|
|
9
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
12
10
|
import { useEffect } from 'react'
|
|
13
|
-
import { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
11
|
+
import type { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
14
12
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
15
13
|
import { useCartLock } from '../hooks'
|
|
16
14
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ApolloCartErrorSnackbar } from '@graphcommerce/magento-cart'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import type { LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
3
|
+
import { LinkOrButton } from '@graphcommerce/next-ui'
|
|
4
|
+
import type {
|
|
5
5
|
ComposedSubmitProps,
|
|
6
6
|
ComposedSubmitRenderComponentProps,
|
|
7
7
|
} from '@graphcommerce/react-hook-form'
|
|
8
|
+
import { ComposedSubmit } from '@graphcommerce/react-hook-form'
|
|
8
9
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
9
10
|
|
|
10
11
|
export type PaymentMethodButtonProps = LinkOrButtonProps & { display?: 'inline' | 'block' } & Pick<
|
|
@@ -4,15 +4,16 @@ import { filterNonNullableKeys } from '@graphcommerce/next-ui'
|
|
|
4
4
|
import { useEventCallback } from '@mui/material'
|
|
5
5
|
import { useRouter } from 'next/router'
|
|
6
6
|
import React, { useEffect, useMemo, useState } from 'react'
|
|
7
|
-
import {
|
|
7
|
+
import type {
|
|
8
8
|
ExpandPaymentMethodsContext,
|
|
9
9
|
PaymentMethod,
|
|
10
10
|
PaymentMethodModules,
|
|
11
11
|
PaymentModule,
|
|
12
12
|
} from '../Api/PaymentMethod'
|
|
13
|
-
import { PaymentMethodContextFragment } from '../Api/PaymentMethodContext.gql'
|
|
13
|
+
import type { PaymentMethodContextFragment } from '../Api/PaymentMethodContext.gql'
|
|
14
14
|
import { GetPaymentMethodContextDocument } from './GetPaymentMethodContext.gql'
|
|
15
|
-
import { PaymentMethodContextType
|
|
15
|
+
import type { PaymentMethodContextType } from './paymentMethodContextType'
|
|
16
|
+
import { paymentMethodContext } from './paymentMethodContextType'
|
|
16
17
|
|
|
17
18
|
export type PaymentMethodContextProviderProps = {
|
|
18
19
|
modules?: PaymentMethodModules
|
|
@@ -74,7 +75,9 @@ export function PaymentMethodContextProvider(props: PaymentMethodContextProvider
|
|
|
74
75
|
;(async () => {
|
|
75
76
|
const promises = availableMethods.map(async (method) =>
|
|
76
77
|
method
|
|
77
|
-
? modules[method.code]?.expandMethods?.(method, cartContext) ?? [
|
|
78
|
+
? (modules[method.code]?.expandMethods?.(method, cartContext) ?? [
|
|
79
|
+
{ ...method, child: '' },
|
|
80
|
+
])
|
|
78
81
|
: Promise.resolve([]),
|
|
79
82
|
)
|
|
80
83
|
const loaded = (await Promise.all(promises)).flat(1).sort((a) => (a.preferred ? 1 : 0))
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { extendableComponent } from '@graphcommerce/next-ui'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
3
|
+
import { Box } from '@mui/material'
|
|
4
|
+
import type { PaymentMethodOptionsProps } from '../Api/PaymentMethod'
|
|
4
5
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
5
6
|
|
|
6
|
-
const name = 'PaymentMethodOptions'
|
|
7
|
+
const name = 'PaymentMethodOptions'
|
|
7
8
|
const parts = ['root'] as const
|
|
8
9
|
const { classes } = extendableComponent(name, parts)
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
10
15
|
export function PaymentMethodOptions(props: PaymentMethodOptionsProps & { sx?: SxProps<Theme> }) {
|
|
11
16
|
const { sx = [], ...optionsProps } = props
|
|
12
17
|
const { selectedMethod, selectedModule } = usePaymentMethodContext()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCartQuery, useFormGqlMutationCart } from '@graphcommerce/magento-cart'
|
|
2
2
|
import { useFormAutoSubmit, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
3
|
-
import { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
3
|
+
import type { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
4
4
|
import { GetPaymentMethodContextDocument } from '../PaymentMethodContext/GetPaymentMethodContext.gql'
|
|
5
5
|
import { PaymentMethodOptionsNoopDocument } from './PaymentMethodOptionsNoop.gql'
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
1
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
2
2
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
3
3
|
|
|
4
4
|
export type PaymentMethodPlaceOrderProps = Pick<UseFormComposeOptions, 'step'>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useFormGqlMutationCart } from '@graphcommerce/magento-cart'
|
|
2
2
|
import { useFormCompose } from '@graphcommerce/react-hook-form'
|
|
3
3
|
import { t } from '@lingui/macro'
|
|
4
|
-
import { PaymentPlaceOrderProps } from '../Api/PaymentMethod'
|
|
4
|
+
import type { PaymentPlaceOrderProps } from '../Api/PaymentMethod'
|
|
5
5
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
6
6
|
import { PaymentMethodPlaceOrderNoopDocument } from './PaymentMethodPlaceOrderNoop.gql'
|
|
7
7
|
|
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
import { Scroller, ScrollerButton, ScrollerProvider } from '@graphcommerce/framer-scroller'
|
|
2
2
|
import {
|
|
3
|
+
extendableComponent,
|
|
3
4
|
Form,
|
|
4
5
|
FormRow,
|
|
5
6
|
iconChevronLeft,
|
|
6
7
|
iconChevronRight,
|
|
7
|
-
responsiveVal,
|
|
8
8
|
IconSvg,
|
|
9
|
+
responsiveVal,
|
|
9
10
|
ToggleButton,
|
|
10
|
-
extendableComponent,
|
|
11
11
|
} from '@graphcommerce/next-ui'
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
FormPersist,
|
|
15
|
-
useForm,
|
|
16
|
-
useFormCompose,
|
|
17
|
-
UseFormComposeOptions,
|
|
18
|
-
} from '@graphcommerce/react-hook-form'
|
|
12
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
13
|
+
import { Controller, FormPersist, useForm, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
19
14
|
import { i18n } from '@lingui/core'
|
|
20
|
-
import {
|
|
15
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
16
|
+
import { Box, FormControl, FormHelperText } from '@mui/material'
|
|
21
17
|
import { useEffect } from 'react'
|
|
22
|
-
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
23
18
|
import { useCartLock } from '../hooks/useCartLock'
|
|
19
|
+
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
24
20
|
|
|
25
21
|
export type PaymentMethodTogglesProps = Pick<UseFormComposeOptions, 'step'> & {
|
|
26
22
|
sx?: SxProps<Theme>
|
|
27
23
|
}
|
|
28
24
|
|
|
29
|
-
const cmpName = 'PaymentMethodToggles'
|
|
25
|
+
const cmpName = 'PaymentMethodToggles'
|
|
30
26
|
const parts = [
|
|
31
27
|
'formRoot',
|
|
32
28
|
'root',
|
|
@@ -41,6 +37,10 @@ const parts = [
|
|
|
41
37
|
] as const
|
|
42
38
|
const { classes } = extendableComponent(cmpName, parts)
|
|
43
39
|
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
44
|
export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
|
|
45
45
|
const { step, sx = [] } = props
|
|
46
46
|
const { methods, selectedMethod, setSelectedMethod, setSelectedModule, modules } =
|
|
@@ -130,8 +130,8 @@ export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
|
|
|
130
130
|
hideScrollbar
|
|
131
131
|
tabIndex={0}
|
|
132
132
|
sx={{
|
|
133
|
-
gridAutoColumns:
|
|
134
|
-
gridTemplateRows:
|
|
133
|
+
gridAutoColumns: 'max-content',
|
|
134
|
+
gridTemplateRows: '100%',
|
|
135
135
|
gap: responsiveVal(4, 8),
|
|
136
136
|
height: responsiveVal(60, 85),
|
|
137
137
|
borderRadius: '5px',
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart-payment-method",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0
|
|
5
|
+
"version": "9.0.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0
|
|
17
|
-
"@graphcommerce/framer-scroller": "^9.0.0
|
|
18
|
-
"@graphcommerce/graphql": "^9.0.0
|
|
19
|
-
"@graphcommerce/image": "^9.0.0
|
|
20
|
-
"@graphcommerce/magento-cart": "^9.0.0
|
|
21
|
-
"@graphcommerce/magento-cart-shipping-address": "^9.0.0
|
|
22
|
-
"@graphcommerce/magento-store": "^9.0.0
|
|
23
|
-
"@graphcommerce/next-ui": "^9.0.0
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0
|
|
25
|
-
"@graphcommerce/react-hook-form": "^9.0.0
|
|
26
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0",
|
|
17
|
+
"@graphcommerce/framer-scroller": "^9.0.0",
|
|
18
|
+
"@graphcommerce/graphql": "^9.0.0",
|
|
19
|
+
"@graphcommerce/image": "^9.0.0",
|
|
20
|
+
"@graphcommerce/magento-cart": "^9.0.0",
|
|
21
|
+
"@graphcommerce/magento-cart-shipping-address": "^9.0.0",
|
|
22
|
+
"@graphcommerce/magento-store": "^9.0.0",
|
|
23
|
+
"@graphcommerce/next-ui": "^9.0.0",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0",
|
|
25
|
+
"@graphcommerce/react-hook-form": "^9.0.0",
|
|
26
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0",
|
|
27
27
|
"@lingui/core": "^4.2.1",
|
|
28
28
|
"@lingui/macro": "^4.2.1",
|
|
29
29
|
"@lingui/react": "^4.2.1",
|
|
30
30
|
"@mui/material": "^5.10.16",
|
|
31
|
-
"framer-motion": "^
|
|
31
|
+
"framer-motion": "^11.0.0",
|
|
32
32
|
"next": "*",
|
|
33
33
|
"react": "^18.2.0",
|
|
34
34
|
"react-dom": "^18.2.0"
|
package/test/goToPayment.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
|
-
import { ApolloClient, NormalizedCacheObject } from '@graphcommerce/graphql'
|
|
3
|
-
import { fillCartAgreementsForm } from '@graphcommerce/magento-cart/test/fillCartAgreementsForm'
|
|
2
|
+
import type { ApolloClient, NormalizedCacheObject } from '@graphcommerce/graphql'
|
|
4
3
|
import { fillShippingAddressForm } from '@graphcommerce/magento-cart-shipping-address/test/fillShippingAddressForm'
|
|
5
|
-
import {
|
|
4
|
+
import { fillCartAgreementsForm } from '@graphcommerce/magento-cart/test/fillCartAgreementsForm'
|
|
5
|
+
import type { Page } from '@playwright/test'
|
|
6
6
|
|
|
7
7
|
export const goToPayment = async (
|
|
8
8
|
page: Page,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
|
-
import { Page } from '@playwright/test'
|
|
2
|
+
import type { Page } from '@playwright/test'
|
|
3
3
|
|
|
4
4
|
export const selectPaymentMethod = async (page: Page, method: string) => {
|
|
5
5
|
const locator = page.locator(`button[value=${method}]`)
|