@graphcommerce/magento-payment-braintree 9.0.0-canary.98 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,84 +1,56 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.98
3
+ ## 9.0.0
4
4
 
5
- ## 9.0.0-canary.97
6
-
7
- ## 9.0.0-canary.96
8
-
9
- ## 9.0.0-canary.95
10
-
11
- ## 9.0.0-canary.94
12
-
13
- ## 9.0.0-canary.93
14
-
15
- ## 9.0.0-canary.92
16
-
17
- ## 9.0.0-canary.91
18
-
19
- ## 9.0.0-canary.90
20
-
21
- ## 9.0.0-canary.89
22
-
23
- ## 9.0.0-canary.88
24
-
25
- ## 9.0.0-canary.87
26
-
27
- ## 9.0.0-canary.86
28
-
29
- ## 9.0.0-canary.85
30
-
31
- ## 9.0.0-canary.84
32
-
33
- ## 9.0.0-canary.83
5
+ ### Minor Changes
34
6
 
35
- ## 9.0.0-canary.82
7
+ - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename `experimental_useV2` prop to `deprecated_useV1` in `useFromGql` and enable it by default. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
36
8
 
37
- ## 9.0.0-canary.81
9
+ ### Patch Changes
38
10
 
39
- ## 9.0.0-canary.80
11
+ - [#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))
40
12
 
41
- ### Minor Changes
13
+ - [#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))
42
14
 
43
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
15
+ - [#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))
44
16
 
45
- ## 9.0.0-canary.79
17
+ ## 9.0.0-canary.118
46
18
 
47
- ## 9.0.0-canary.78
19
+ ## 9.0.0-canary.117
48
20
 
49
- ## 9.0.0-canary.77
21
+ ## 9.0.0-canary.116
50
22
 
51
- ## 9.0.0-canary.76
23
+ ## 9.0.0-canary.115
52
24
 
53
- ## 9.0.0-canary.75
25
+ ## 9.0.0-canary.114
54
26
 
55
- ## 9.0.0-canary.74
27
+ ## 9.0.0-canary.113
56
28
 
57
- ## 9.0.0-canary.73
29
+ ## 9.0.0-canary.112
58
30
 
59
- ## 9.0.0-canary.72
31
+ ## 9.0.0-canary.111
60
32
 
61
- ## 9.0.0-canary.71
33
+ ## 9.0.0-canary.110
62
34
 
63
- ## 9.0.0-canary.70
35
+ ## 9.0.0-canary.109
64
36
 
65
- ## 9.0.0-canary.69
37
+ ## 9.0.0-canary.108
66
38
 
67
- ## 9.0.0-canary.68
39
+ ## 9.0.0-canary.107
68
40
 
69
- ## 9.0.0-canary.67
41
+ ## 9.0.0-canary.106
70
42
 
71
- ## 9.0.0-canary.66
43
+ ## 9.0.0-canary.105
72
44
 
73
- ## 9.0.0-canary.65
45
+ ## 9.0.0-canary.104
74
46
 
75
- ## 9.0.0-canary.64
47
+ ## 9.0.0-canary.103
76
48
 
77
- ## 9.0.0-canary.63
49
+ ## 9.0.0-canary.80
78
50
 
79
- ## 9.0.0-canary.62
51
+ ### Minor Changes
80
52
 
81
- ## 9.0.0-canary.61
53
+ - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
82
54
 
83
55
  ## 9.0.0-canary.60
84
56
 
@@ -86,700 +58,30 @@
86
58
 
87
59
  - [#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
60
 
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
61
  ## 8.1.0-canary.18
172
62
 
173
63
  ### Patch Changes
174
64
 
175
65
  - [#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))
176
66
 
177
- ## 8.1.0-canary.17
178
-
179
- ## 8.1.0-canary.16
180
-
181
- ## 8.1.0-canary.15
182
-
183
- ## 8.1.0-canary.14
184
-
185
- ## 8.1.0-canary.13
186
-
187
- ## 8.1.0-canary.12
188
-
189
- ## 8.1.0-canary.11
190
-
191
- ## 8.1.0-canary.10
192
-
193
- ## 8.1.0-canary.9
194
-
195
- ## 8.1.0-canary.8
196
-
197
- ## 8.1.0-canary.7
198
-
199
- ## 8.1.0-canary.6
200
-
201
- ## 8.1.0-canary.5
202
-
203
- ## 8.0.6-canary.4
204
-
205
- ## 8.0.6-canary.3
206
-
207
67
  ## 8.0.6-canary.2
208
68
 
209
69
  ### Patch Changes
210
70
 
211
71
  - [#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))
212
72
 
213
- ## 8.0.6-canary.1
214
-
215
- ## 8.0.6-canary.0
216
-
217
73
  ## 8.0.5
218
74
 
219
75
  ### Patch Changes
220
76
 
221
77
  - [#2188](https://github.com/graphcommerce-org/graphcommerce/pull/2188) [`eec7498`](https://github.com/graphcommerce-org/graphcommerce/commit/eec7498213f34f0f850123b577b77bf678e3c80b) - Braintree Credit Card: Hosted payment fields now have proper styling and all focus/blur and error states are correctly handled. ([@paales](https://github.com/paales))
222
78
 
223
- ## 8.0.5-canary.10
224
-
225
- ## 8.0.5-canary.9
226
-
227
- ## 8.0.5-canary.8
228
-
229
- ## 8.0.5-canary.7
230
-
231
- ## 8.0.5-canary.6
232
-
233
- ## 8.0.5-canary.5
234
-
235
- ### Patch Changes
236
-
237
- - [#2188](https://github.com/graphcommerce-org/graphcommerce/pull/2188) [`eec7498`](https://github.com/graphcommerce-org/graphcommerce/commit/eec7498213f34f0f850123b577b77bf678e3c80b) - Braintree Credit Card: Hosted payment fields now have proper styling and all focus/blur and error states are correctly handled. ([@paales](https://github.com/paales))
238
-
239
- ## 8.0.5-canary.4
240
-
241
- ## 8.0.5-canary.3
242
-
243
- ## 8.0.5-canary.2
244
-
245
- ## 8.0.5-canary.1
246
-
247
- ## 8.0.5-canary.0
248
-
249
- ## 8.0.4
250
-
251
- ## 8.0.4-canary.1
252
-
253
- ## 8.0.4-canary.0
254
-
255
- ## 8.0.3
256
-
257
- ## 8.0.3-canary.6
258
-
259
- ## 8.0.3-canary.5
260
-
261
- ## 8.0.3-canary.4
262
-
263
- ## 8.0.3-canary.3
264
-
265
- ## 8.0.3-canary.2
266
-
267
- ## 8.0.3-canary.1
268
-
269
- ## 8.0.3-canary.0
270
-
271
- ## 8.0.2
272
-
273
- ## 8.0.2-canary.3
274
-
275
- ## 8.0.2-canary.2
276
-
277
- ## 8.0.2-canary.1
278
-
279
- ## 8.0.2-canary.0
280
-
281
- ## 8.0.1
282
-
283
- ## 8.0.1-canary.4
284
-
285
- ## 8.0.1-canary.3
286
-
287
- ## 8.0.1-canary.2
288
-
289
- ## 8.0.1-canary.1
290
-
291
- ## 8.0.1-canary.0
292
-
293
- ## 8.0.0
294
-
295
- ## 8.0.0-canary.100
296
-
297
- ## 8.0.0-canary.99
298
-
299
- ## 8.0.0-canary.98
300
-
301
- ## 8.0.0-canary.97
302
-
303
- ## 8.0.0-canary.96
304
-
305
- ## 8.0.0-canary.95
306
-
307
- ## 8.0.0-canary.94
308
-
309
- ## 8.0.0-canary.93
310
-
311
- ## 8.0.0-canary.92
312
-
313
- ## 8.0.0-canary.91
314
-
315
- ## 8.0.0-canary.90
316
-
317
- ## 8.0.0-canary.89
318
-
319
- ## 8.0.0-canary.88
320
-
321
- ## 8.0.0-canary.87
322
-
323
- ## 8.0.0-canary.86
324
-
325
- ## 8.0.0-canary.85
326
-
327
- ## 8.0.0-canary.84
328
-
329
- ## 8.0.0-canary.83
330
-
331
- ## 8.0.0-canary.82
332
-
333
- ## 8.0.0-canary.81
334
-
335
- ## 8.0.0-canary.80
336
-
337
- ## 8.0.0-canary.79
338
-
339
- ## 8.0.0-canary.78
340
-
341
- ## 8.0.0-canary.77
342
-
343
- ## 8.0.0-canary.76
344
-
345
- ## 8.0.0-canary.75
346
-
347
- ## 8.0.0-canary.74
348
-
349
- ## 8.0.0-canary.73
350
-
351
- ## 8.0.0-canary.72
352
-
353
- ## 8.0.0-canary.71
354
-
355
- ## 8.0.0-canary.70
356
-
357
- ## 8.0.0-canary.69
358
-
359
- ## 7.1.0-canary.68
360
-
361
- ## 7.1.0-canary.67
362
-
363
- ## 7.1.0-canary.66
364
-
365
- ## 7.1.0-canary.65
366
-
367
- ## 7.1.0-canary.64
368
-
369
- ## 7.1.0-canary.63
370
-
371
- ## 7.1.0-canary.62
372
-
373
- ## 7.1.0-canary.61
374
-
375
- ## 7.1.0-canary.60
376
-
377
- ## 7.1.0-canary.59
378
-
379
- ## 7.1.0-canary.58
380
-
381
- ## 7.1.0-canary.57
382
-
383
- ## 7.1.0-canary.56
384
-
385
- ## 7.1.0-canary.55
386
-
387
- ## 7.1.0-canary.54
388
-
389
- ## 7.1.0-canary.53
390
-
391
- ## 7.1.0-canary.52
392
-
393
- ## 7.1.0-canary.51
394
-
395
- ## 7.1.0-canary.50
396
-
397
- ## 7.1.0-canary.49
398
-
399
- ## 7.1.0-canary.48
400
-
401
- ## 7.1.0-canary.47
402
-
403
- ## 7.1.0-canary.46
404
-
405
- ## 7.1.0-canary.45
406
-
407
- ## 7.1.0-canary.38
408
-
409
- ## 7.1.0-canary.37
410
-
411
- ## 7.1.0-canary.36
412
-
413
- ## 7.1.0-canary.35
414
-
415
- ## 7.1.0-canary.34
416
-
417
- ## 7.1.0-canary.33
418
-
419
- ## 7.1.0-canary.32
420
-
421
- ## 7.1.0-canary.31
422
-
423
- ## 7.1.0-canary.30
424
-
425
- ## 7.1.0-canary.29
426
-
427
- ## 7.1.0-canary.28
428
-
429
- ## 7.1.0-canary.27
430
-
431
- ## 7.1.0-canary.26
432
-
433
- ## 7.1.0-canary.25
434
-
435
- ## 7.1.0-canary.24
436
-
437
- ## 7.1.0-canary.23
438
-
439
- ## 7.1.0-canary.22
440
-
441
- ## 7.1.0-canary.21
442
-
443
- ## 7.1.0-canary.20
444
-
445
- ## 7.1.0-canary.19
446
-
447
- ## 7.1.0-canary.18
448
-
449
- ## 7.1.0-canary.17
450
-
451
- ## 7.1.0-canary.16
452
-
453
- ## 7.1.0-canary.15
454
-
455
- ## 7.1.0-canary.14
456
-
457
- ## 7.1.0-canary.13
458
-
459
- ## 7.1.0-canary.12
460
-
461
- ## 7.1.0-canary.11
462
-
463
- ## 7.1.0-canary.10
464
-
465
- ## 7.1.0-canary.9
466
-
467
- ## 7.1.0-canary.8
468
-
469
- ## 7.0.2-canary.7
470
-
471
- ## 7.0.2-canary.6
472
-
473
- ## 7.0.2-canary.5
474
-
475
79
  ## 7.0.1
476
80
 
477
81
  ### Patch Changes
478
82
 
479
83
  - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
480
84
 
481
- ## 7.0.1-canary.15
482
-
483
- ## 7.0.1-canary.14
484
-
485
- ## 7.0.1-canary.13
486
-
487
- ## 7.0.1-canary.12
488
-
489
- ## 7.0.1-canary.11
490
-
491
- ## 7.0.1-canary.10
492
-
493
- ## 7.0.1-canary.9
494
-
495
- ## 7.0.1-canary.8
496
-
497
- ## 7.0.1-canary.7
498
-
499
- ## 7.0.1-canary.6
500
-
501
- ## 7.0.1-canary.5
502
-
503
- ## 7.0.1-canary.4
504
-
505
- ## 7.0.1-canary.3
506
-
507
- ## 7.0.1-canary.2
508
-
509
- ## 7.0.1-canary.1
510
-
511
- ## 7.0.1-canary.0
512
-
513
- ### Patch Changes
514
-
515
- - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
516
-
517
- ## 7.0.0
518
-
519
- ## 6.2.0-canary.98
520
-
521
- ## 6.2.0-canary.97
522
-
523
- ## 6.2.0-canary.96
524
-
525
- ## 6.2.0-canary.95
526
-
527
- ## 6.2.0-canary.94
528
-
529
- ## 6.2.0-canary.93
530
-
531
- ## 6.2.0-canary.92
532
-
533
- ## 6.2.0-canary.91
534
-
535
- ## 6.2.0-canary.90
536
-
537
- ## 6.2.0-canary.89
538
-
539
- ## 6.2.0-canary.88
540
-
541
- ## 6.2.0-canary.87
542
-
543
- ## 6.2.0-canary.86
544
-
545
- ## 6.2.0-canary.85
546
-
547
- ## 6.2.0-canary.84
548
-
549
- ## 6.2.0-canary.83
550
-
551
- ## 6.2.0-canary.82
552
-
553
- ## 6.2.0-canary.81
554
-
555
- ## 6.2.0-canary.80
556
-
557
- ## 6.2.0-canary.79
558
-
559
- ## 6.2.0-canary.78
560
-
561
- ## 6.2.0-canary.77
562
-
563
- ## 6.2.0-canary.76
564
-
565
- ## 6.2.0-canary.75
566
-
567
- ## 6.2.0-canary.74
568
-
569
- ## 6.2.0-canary.73
570
-
571
- ## 6.2.0-canary.72
572
-
573
- ## 6.2.0-canary.71
574
-
575
- ## 6.2.0-canary.70
576
-
577
- ## 6.2.0-canary.69
578
-
579
- ## 6.2.0-canary.68
580
-
581
- ## 6.2.0-canary.67
582
-
583
- ## 6.2.0-canary.66
584
-
585
- ## 6.2.0-canary.65
586
-
587
- ## 6.2.0-canary.64
588
-
589
- ## 6.2.0-canary.63
590
-
591
- ## 6.2.0-canary.62
592
-
593
- ## 6.2.0-canary.61
594
-
595
- ## 6.2.0-canary.60
596
-
597
- ## 6.2.0-canary.59
598
-
599
- ## 6.2.0-canary.58
600
-
601
- ## 6.2.0-canary.57
602
-
603
- ## 6.2.0-canary.56
604
-
605
- ## 6.2.0-canary.55
606
-
607
- ## 6.2.0-canary.54
608
-
609
- ## 6.2.0-canary.53
610
-
611
- ## 6.2.0-canary.52
612
-
613
- ## 6.2.0-canary.51
614
-
615
- ## 6.2.0-canary.50
616
-
617
- ## 6.2.0-canary.49
618
-
619
- ## 6.2.0-canary.48
620
-
621
- ## 6.2.0-canary.47
622
-
623
- ## 6.2.0-canary.46
624
-
625
- ## 6.2.0-canary.45
626
-
627
- ## 6.2.0-canary.44
628
-
629
- ## 6.2.0-canary.43
630
-
631
- ## 6.2.0-canary.42
632
-
633
- ## 6.2.0-canary.41
634
-
635
- ## 6.2.0-canary.40
636
-
637
- ## 6.2.0-canary.39
638
-
639
- ## 6.2.0-canary.38
640
-
641
- ## 6.2.0-canary.37
642
-
643
- ## 6.2.0-canary.36
644
-
645
- ## 6.2.0-canary.35
646
-
647
- ## 6.2.0-canary.34
648
-
649
- ## 6.2.0-canary.33
650
-
651
- ## 6.2.0-canary.32
652
-
653
- ## 6.2.0-canary.31
654
-
655
- ## 6.2.0-canary.30
656
-
657
- ## 6.2.0-canary.29
658
-
659
- ## 6.2.0-canary.28
660
-
661
- ## 6.2.0-canary.27
662
-
663
- ## 6.2.0-canary.26
664
-
665
- ## 6.2.0-canary.25
666
-
667
- ## 6.2.0-canary.24
668
-
669
- ## 6.2.0-canary.23
670
-
671
- ## 6.2.0-canary.22
672
-
673
- ## 6.2.0-canary.21
674
-
675
- ## 6.2.0-canary.20
676
-
677
- ## 6.2.0-canary.19
678
-
679
- ## 6.2.0-canary.18
680
-
681
- ## 6.2.0-canary.17
682
-
683
- ## 6.2.0-canary.16
684
-
685
- ## 6.2.0-canary.15
686
-
687
- ## 6.2.0-canary.14
688
-
689
- ## 6.2.0-canary.13
690
-
691
- ## 6.2.0-canary.12
692
-
693
- ## 6.2.0-canary.11
694
-
695
- ## 6.2.0-canary.10
696
-
697
- ## 6.2.0-canary.9
698
-
699
- ## 6.2.0-canary.8
700
-
701
- ## 6.2.0-canary.7
702
-
703
- ## 6.2.0-canary.6
704
-
705
- ## 6.1.1-canary.5
706
-
707
- ## 6.1.1-canary.4
708
-
709
- ## 6.1.1-canary.3
710
-
711
- ## 6.1.1-canary.2
712
-
713
- ## 6.1.1-canary.1
714
-
715
- ## 6.1.1-canary.0
716
-
717
- ## 6.1.0
718
-
719
- ## 6.0.2-canary.22
720
-
721
- ## 6.0.2-canary.21
722
-
723
- ## 6.0.2-canary.20
724
-
725
- ## 6.0.2-canary.19
726
-
727
- ## 6.0.2-canary.18
728
-
729
- ## 6.0.2-canary.17
730
-
731
- ## 6.0.2-canary.16
732
-
733
- ## 6.0.2-canary.15
734
-
735
- ## 6.0.2-canary.14
736
-
737
- ## 6.0.2-canary.13
738
-
739
- ## 6.0.2-canary.12
740
-
741
- ## 6.0.2-canary.11
742
-
743
- ## 6.0.2-canary.10
744
-
745
- ## 6.0.2-canary.9
746
-
747
- ## 6.0.2-canary.8
748
-
749
- ## 6.0.2-canary.7
750
-
751
- ## 6.0.2-canary.6
752
-
753
- ## 6.0.2-canary.5
754
-
755
- ## 6.0.2-canary.4
756
-
757
- ## 6.0.2-canary.3
758
-
759
- ## 6.0.2-canary.2
760
-
761
- ## 6.0.2-canary.1
762
-
763
- ## 6.0.2-canary.0
764
-
765
- ## 6.0.1
766
-
767
- ## 6.0.1-canary.7
768
-
769
- ## 6.0.1-canary.6
770
-
771
- ## 6.0.1-canary.5
772
-
773
- ## 6.0.1-canary.4
774
-
775
- ## 6.0.1-canary.3
776
-
777
- ## 6.0.1-canary.2
778
-
779
- ## 6.0.1-canary.1
780
-
781
- ## 6.0.1-canary.0
782
-
783
85
  ## 6.0.0
784
86
 
785
87
  ### Major Changes
@@ -794,136 +96,6 @@
794
96
 
795
97
  - [#1841](https://github.com/graphcommerce-org/graphcommerce/pull/1841) [`1ff022c4b`](https://github.com/graphcommerce-org/graphcommerce/commit/1ff022c4bd8ad1d9fa8c1760076f003af06ce421) - PaymentMethodUpdated is now @injectable to allow for easier customisation. ([@paales](https://github.com/paales))
796
98
 
797
- ## 6.0.0-canary.54
798
-
799
- ## 6.0.0-canary.53
800
-
801
- ## 6.0.0-canary.52
802
-
803
- ## 6.0.0-canary.51
804
-
805
- ## 6.0.0-canary.50
806
-
807
- ## 6.0.0-canary.49
808
-
809
- ## 6.0.0-canary.48
810
-
811
- ## 6.0.0-canary.47
812
-
813
- ## 6.0.0-canary.46
814
-
815
- ## 6.0.0-canary.45
816
-
817
- ## 6.0.0-canary.44
818
-
819
- ## 6.0.0-canary.43
820
-
821
- ### Patch Changes
822
-
823
- - [#1841](https://github.com/graphcommerce-org/graphcommerce/pull/1841) [`1ff022c4b`](https://github.com/graphcommerce-org/graphcommerce/commit/1ff022c4bd8ad1d9fa8c1760076f003af06ce421) - Make sure we're using the the PaymentMethodUpdated fragment to allow for injection ([@paales](https://github.com/paales))
824
-
825
- ## 6.0.0-canary.42
826
-
827
- ## 6.0.0-canary.41
828
-
829
- ## 6.0.0-canary.40
830
-
831
- ## 6.0.0-canary.39
832
-
833
- ## 6.0.0-canary.38
834
-
835
- ## 6.0.0-canary.37
836
-
837
- ## 6.0.0-canary.36
838
-
839
- ## 6.0.0-canary.35
840
-
841
- ## 6.0.0-canary.34
842
-
843
- ## 6.0.0-canary.33
844
-
845
- ## 6.0.0-canary.32
846
-
847
- ## 6.0.0-canary.31
848
-
849
- ## 6.0.0-canary.30
850
-
851
- ## 6.0.0-canary.29
852
-
853
- ## 6.0.0-canary.28
854
-
855
- ## 6.0.0-canary.27
856
-
857
- ## 6.0.0-canary.26
858
-
859
- ## 6.0.0-canary.25
860
-
861
- ## 6.0.0-canary.24
862
-
863
- ## 6.0.0-canary.23
864
-
865
- ## 6.0.0-canary.22
866
-
867
- ## 6.0.0-canary.21
868
-
869
- ## 6.0.0-canary.20
870
-
871
- ## 5.2.0-canary.19
872
-
873
- ## 5.2.0-canary.18
874
-
875
- ## 5.2.0-canary.17
876
-
877
- ## 5.2.0-canary.16
878
-
879
- ## 5.2.0-canary.15
880
-
881
- ## 5.2.0-canary.14
882
-
883
- ## 5.2.0-canary.13
884
-
885
- ## 5.2.0-canary.12
886
-
887
- ## 5.2.0-canary.11
888
-
889
- ## 5.2.0-canary.10
890
-
891
- ## 5.2.0-canary.9
892
-
893
- ## 5.2.0-canary.8
894
-
895
- ## 5.2.0-canary.7
896
-
897
- ## 5.2.0-canary.6
898
-
899
- ## 5.2.0-canary.5
900
-
901
- ## 5.2.0-canary.4
902
-
903
- ## 5.2.0-canary.3
904
-
905
- ### Minor Changes
906
-
907
- - [#1766](https://github.com/graphcommerce-org/graphcommerce/pull/1766) [`e34169ee2`](https://github.com/graphcommerce-org/graphcommerce/commit/e34169ee2e0fdc052ff589ceca0bc67557584c1f) - Upgraded to Next.js 13
908
-
909
- - NextLink integrates the next/link functionality with @mui/material's Link and ButtonBase (and all it's derivatives) components.
910
- - NextLink automatically adds `target="_blank"` when the href is external.
911
- - NextLink makes all relative href absolute. `href="my-page"` will be rendered as `href="/my-page"`.
912
-
913
- Upgrade instructions: https://www.graphcommerce.org/docs/framework/links#upgrading-from-nextjs-12 ([@paales](https://github.com/paales))
914
-
915
- ## 5.2.0-canary.2
916
-
917
- ## 5.2.0-canary.1
918
-
919
- ## 5.2.0-canary.0
920
-
921
- ## 5.1.1
922
-
923
- ## 5.1.1-canary.1
924
-
925
- ## 5.1.1-canary.0
926
-
927
99
  ## 5.1.0
928
100
 
929
101
  ### Patch Changes
@@ -937,43 +109,6 @@
937
109
  - Upgraded dependencies including type-fest and graphql-mesh
938
110
  - Solved peer dependency issues ([@paales](https://github.com/paales))
939
111
 
940
- ## 5.1.0-canary.11
941
-
942
- ## 5.1.0-canary.10
943
-
944
- ### Patch Changes
945
-
946
- - [#1760](https://github.com/graphcommerce-org/graphcommerce/pull/1760) [`8badc8550`](https://github.com/graphcommerce-org/graphcommerce/commit/8badc8550c402ac7b80c8d3238d313550c28a055) - Updated dependencies ([@paales](https://github.com/paales))
947
-
948
- ## 5.1.0-canary.9
949
-
950
- ## 5.1.0-canary.8
951
-
952
- ## 5.1.0-canary.7
953
-
954
- ## 5.1.0-canary.6
955
-
956
- ## 5.1.0-canary.5
957
-
958
- ## 5.1.0-canary.4
959
-
960
- ## 5.1.0-canary.3
961
-
962
- ### Patch Changes
963
-
964
- - [#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.
965
-
966
- - Updated the @mui/material package
967
- - Removed dependencies on react-hook-form-mui and @playwright/test
968
- - Upgraded dependencies including type-fest and graphql-mesh
969
- - Solved peer dependency issues ([@paales](https://github.com/paales))
970
-
971
- ## 5.1.0-canary.2
972
-
973
- ## 5.1.0-canary.1
974
-
975
- ## 5.1.0-canary.0
976
-
977
112
  ## 5.0.0
978
113
 
979
114
  ### Major Changes
@@ -1002,84 +137,12 @@
1002
137
 
1003
138
  - [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`52882a63e`](https://github.com/graphcommerce-org/graphcommerce/commit/52882a63e96c0d3ba9641c3714d288fa4f420c82) - Do not forward the Prev prop in plugins ([@paales](https://github.com/paales))
1004
139
 
1005
- ## 5.0.0-canary.14
1006
-
1007
- ## 5.0.0-canary.13
1008
-
1009
- ### Major Changes
1010
-
1011
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1012
-
1013
- ## 4.14.0-canary.12
1014
-
1015
- ## 4.14.0-canary.11
1016
-
1017
- ## 4.14.0-canary.10
1018
-
1019
- ## 4.14.0-canary.9
1020
-
1021
- ## 4.14.0-canary.8
1022
-
1023
- ## 4.14.0-canary.7
1024
-
1025
- ### Patch Changes
1026
-
1027
- - [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`52882a63e`](https://github.com/graphcommerce-org/graphcommerce/commit/52882a63e96c0d3ba9641c3714d288fa4f420c82) - Do not forward the Prev prop in plugins ([@paales](https://github.com/paales))
1028
-
1029
- ## 4.14.0-canary.6
1030
-
1031
- ## 4.14.0-canary.5
1032
-
1033
- ## 4.14.0-canary.4
1034
-
1035
- ### Patch Changes
1036
-
1037
- - [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`b2d73c726`](https://github.com/graphcommerce-org/graphcommerce/commit/b2d73c726fa123435fa6c54b4e0fd0db2df7c4ab) - Move to <Prev/> instead of <Component/> to call the plugin component ([@paales](https://github.com/paales))
1038
-
1039
- - [#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))
1040
-
1041
- ## 4.14.0-canary.3
1042
-
1043
- ### Patch Changes
1044
-
1045
- - [#1729](https://github.com/graphcommerce-org/graphcommerce/pull/1729) [`4f85e4878`](https://github.com/graphcommerce-org/graphcommerce/commit/4f85e4878e4ad0dd528d60ad35826da0677059a9) - Add the ability to specificy plugins on the package name (e.g. `@graphcommerce/magento-cart-payment-method`) ([@paales](https://github.com/paales))
1046
-
1047
- ## 4.14.0-canary.2
1048
-
1049
- ### Minor Changes
1050
-
1051
- - [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`f08bffd63`](https://github.com/graphcommerce-org/graphcommerce/commit/f08bffd63780cb626f072b25c2fd4da37543b6f7) - Add payment methods with a plugin ([@paales](https://github.com/paales))
1052
-
1053
- ## 4.13.2-canary.1
1054
-
1055
- ## 4.13.2-canary.0
1056
-
1057
- ## 4.13.3
1058
-
1059
- ## 4.13.2
1060
-
1061
- ## 4.13.1
1062
-
1063
- ## 4.13.1-canary.2
1064
-
1065
- ## 4.13.1-canary.1
1066
-
1067
- ## 4.13.1-canary.0
1068
-
1069
140
  ## 4.13.0
1070
141
 
1071
142
  ### Patch Changes
1072
143
 
1073
144
  - [#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
1074
145
 
1075
- ## 4.13.0-canary.1
1076
-
1077
- ### Patch Changes
1078
-
1079
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1080
-
1081
- ## 4.13.0-canary.0
1082
-
1083
146
  ## 3.0.66
1084
147
 
1085
148
  ### Patch Changes
@@ -1598,7 +661,7 @@
1598
661
  All occurences of `<Trans>` and `t` need to be replaced:
1599
662
 
1600
663
  ```tsx
1601
- import { Trans, t } from '@lingui/macro'
664
+ import { t, Trans } from '@lingui/macro'
1602
665
 
1603
666
  function MyComponent() {
1604
667
  const foo = 'bar'
@@ -1613,8 +676,8 @@
1613
676
  Needs to be replaced with:
1614
677
 
1615
678
  ```tsx
1616
- import { Trans } from '@lingui/react'
1617
679
  import { i18n } from '@lingui/core'
680
+ import { Trans } from '@lingui/react'
1618
681
 
1619
682
  function MyComponent() {
1620
683
  const foo = 'bar'
@@ -1,5 +1,7 @@
1
- import { ApolloClient, useApolloClient } from '@graphcommerce/graphql'
2
- import braintree, { Client } from 'braintree-web'
1
+ import type { ApolloClient } from '@graphcommerce/graphql'
2
+ import { useApolloClient } from '@graphcommerce/graphql'
3
+ import type { Client } from 'braintree-web'
4
+ import braintree from 'braintree-web'
3
5
  import { useRef } from 'react'
4
6
  import { UseBraintreeDocument } from './UseBraintree.gql'
5
7
 
@@ -1,4 +1,5 @@
1
- import { CartLockState, useCartLock } from '@graphcommerce/magento-cart-payment-method'
1
+ import type { CartLockState } from '@graphcommerce/magento-cart-payment-method'
2
+ import { useCartLock } from '@graphcommerce/magento-cart-payment-method'
2
3
 
3
4
  type BraintreeCartLock = CartLockState & {
4
5
  payment_id: string | null
@@ -1,4 +1,5 @@
1
- import braintree, { HostedFields, ThreeDSecure } from 'braintree-web'
1
+ import type { HostedFields, ThreeDSecure } from 'braintree-web'
2
+ import braintree from 'braintree-web'
2
3
  import { useEffect, useState } from 'react'
3
4
  import { useBraintreeClient } from './useBraintree'
4
5
 
@@ -1,6 +1,7 @@
1
1
  import braintree from 'braintree-web'
2
2
  import { useRef } from 'react'
3
- import { StartPaymentOptions, useBraintreeClient } from './useBraintree'
3
+ import type { StartPaymentOptions } from './useBraintree'
4
+ import { useBraintreeClient } from './useBraintree'
4
5
 
5
6
  type StartPaymentPayload = {
6
7
  nonce: string
@@ -1,4 +1,5 @@
1
- import braintree, { PayPalCheckout } from 'braintree-web'
1
+ import type { PayPalCheckout } from 'braintree-web'
2
+ import braintree from 'braintree-web'
2
3
  import { useEffect, useState } from 'react'
3
4
  import { useBraintreeClient } from './useBraintree'
4
5
 
@@ -1,27 +1,25 @@
1
1
  /* eslint-disable jsx-a11y/label-has-associated-control */
2
2
  import { useCartQuery, useFormGqlMutationCart } from '@graphcommerce/magento-cart'
3
- import { PaymentOptionsProps, useCartLock } from '@graphcommerce/magento-cart-payment-method'
4
3
  import { BillingPageDocument } from '@graphcommerce/magento-cart-checkout'
4
+ import type { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
5
+ import { useCartLock } from '@graphcommerce/magento-cart-payment-method'
5
6
  import { ErrorSnackbar, FormRow, FullPageMessage } from '@graphcommerce/next-ui'
6
- import {
7
- FieldValues,
8
- FormProvider,
9
- Path,
10
- UseControllerProps,
11
- useController,
12
- useFormCompose,
13
- } from '@graphcommerce/react-hook-form'
7
+ import type { FieldValues, Path, UseControllerProps } from '@graphcommerce/react-hook-form'
8
+ import { FormProvider, useController, useFormCompose } from '@graphcommerce/react-hook-form'
14
9
  import { i18n } from '@lingui/core'
15
10
  import { Trans } from '@lingui/react'
16
11
  import { Box, CircularProgress, TextField } from '@mui/material'
17
- import { HostedFields } from 'braintree-web'
18
- import { HostedFieldsEvent, HostedFieldsHostedFieldsFieldName } from 'braintree-web/hosted-fields'
12
+ import type { HostedFields } from 'braintree-web'
13
+ import type {
14
+ HostedFieldsEvent,
15
+ HostedFieldsHostedFieldsFieldName,
16
+ } from 'braintree-web/hosted-fields'
19
17
  import React, { useEffect, useState } from 'react'
20
- import {
21
- BraintreePaymentMethodOptionsDocument,
18
+ import type {
22
19
  BraintreePaymentMethodOptionsMutation,
23
20
  BraintreePaymentMethodOptionsMutationVariables,
24
21
  } from '../../BraintreePaymentMethodOptions.gql'
22
+ import { BraintreePaymentMethodOptionsDocument } from '../../BraintreePaymentMethodOptions.gql'
25
23
  import { useBraintreeHostedFields } from '../../hooks/useBraintreeHostedFields'
26
24
  import { isBraintreeError } from '../../utils/isBraintreeError'
27
25
 
@@ -30,6 +28,7 @@ const Field = React.forwardRef<any, { ownerState: unknown; as: string }>((props,
30
28
  return <Box {...rest} ref={ref} sx={{ height: 54, width: '100%' }} />
31
29
  })
32
30
 
31
+ /** @public */
33
32
  export function BraintreeField<T extends FieldValues>(
34
33
  props: {
35
34
  hostedFields: HostedFields | undefined
@@ -261,7 +260,10 @@ export function PaymentMethodOptions(props: PaymentOptionsProps) {
261
260
 
262
261
  const loading = !hostedFields
263
262
 
264
- /** This is the form that the user can fill in. In this case we don't wat the user to fill in anything. */
263
+ /**
264
+ * This is the form that the user can fill in. In this case we don't wat the user to fill in
265
+ * anything.
266
+ */
265
267
  return (
266
268
  <FormProvider {...form}>
267
269
  <form onSubmit={submit}>
@@ -1,19 +1,15 @@
1
1
  import { useCartQuery, useFormGqlMutationCart } from '@graphcommerce/magento-cart'
2
- import {
3
- PaymentOptionsProps,
4
- usePaymentMethodContext,
5
- } from '@graphcommerce/magento-cart-payment-method'
2
+ import type { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
3
+ import { usePaymentMethodContext } from '@graphcommerce/magento-cart-payment-method'
6
4
  import { useFormCompose } from '@graphcommerce/react-hook-form'
7
5
  import { useEffect } from 'react'
8
6
  import { BraintreePaymentMethodOptionsDocument } from '../../BraintreePaymentMethodOptions.gql'
9
- import { StartPaymentOptions } from '../../hooks/useBraintree'
7
+ import type { StartPaymentOptions } from '../../hooks/useBraintree'
10
8
  import { useBraintreeCartLock } from '../../hooks/useBraintreeCartLock'
11
9
  import { useBraintreeLocalPayment } from '../../hooks/useBraintreeLocalPayment'
12
10
  import { isBraintreeError } from '../../utils/isBraintreeError'
13
- import {
14
- BraintreeLocalPaymentsCartDocument,
15
- BraintreeLocalPaymentsCartQuery,
16
- } from './BraintreeLocalPaymentsCart.gql'
11
+ import type { BraintreeLocalPaymentsCartQuery } from './BraintreeLocalPaymentsCart.gql'
12
+ import { BraintreeLocalPaymentsCartDocument } from './BraintreeLocalPaymentsCart.gql'
17
13
 
18
14
  function validateAndBuildStartPaymentParams(cartData: BraintreeLocalPaymentsCartQuery): Partial {
19
15
  const cart = cartData?.cart
@@ -1,4 +1,7 @@
1
- import { ExpandPaymentMethods, PaymentMethod } from '@graphcommerce/magento-cart-payment-method'
1
+ import type {
2
+ ExpandPaymentMethods,
3
+ PaymentMethod,
4
+ } from '@graphcommerce/magento-cart-payment-method'
2
5
 
3
6
  /**
4
7
  * Local payment methods can be expanded to multiple separate methods logic taken from
@@ -1,7 +1,5 @@
1
- import {
2
- PaymentMethodPlaceOrderNoop,
3
- PaymentModule,
4
- } from '@graphcommerce/magento-cart-payment-method'
1
+ import type { PaymentModule } from '@graphcommerce/magento-cart-payment-method'
2
+ import { PaymentMethodPlaceOrderNoop } from '@graphcommerce/magento-cart-payment-method'
5
3
  import { PaymentHandler } from './PaymentHandler'
6
4
  import { PaymentMethodOptions } from './PaymentMethodOptions'
7
5
  import { expandMethods } from './expandMethods'
@@ -1,8 +1,6 @@
1
1
  import { useCartQuery, useFormGqlMutationCart } from '@graphcommerce/magento-cart'
2
- import {
3
- PaymentOptionsProps,
4
- usePaymentMethodContext,
5
- } from '@graphcommerce/magento-cart-payment-method'
2
+ import type { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
3
+ import { usePaymentMethodContext } from '@graphcommerce/magento-cart-payment-method'
6
4
  import { useFormCompose } from '@graphcommerce/react-hook-form'
7
5
  // import { PayPalCheckoutCreatePaymentOptions } from 'braintree-web/paypal-checkout'
8
6
  import type { FlowType, Intent } from 'paypal-checkout-components'
@@ -1,7 +1,5 @@
1
- import {
2
- PaymentMethodPlaceOrderNoop,
3
- PaymentModule,
4
- } from '@graphcommerce/magento-cart-payment-method'
1
+ import type { PaymentModule } from '@graphcommerce/magento-cart-payment-method'
2
+ import { PaymentMethodPlaceOrderNoop } from '@graphcommerce/magento-cart-payment-method'
5
3
  import { PaymentMethodOptions } from './PaymentMethodOptions'
6
4
 
7
5
  export const braintree_paypal: PaymentModule = {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-payment-braintree",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.98",
5
+ "version": "9.0.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,30 +12,30 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@types/braintree-web": "^3.96.12"
15
+ "@types/braintree-web": "^3.96.16"
16
16
  },
17
17
  "dependencies": {
18
- "braintree-web": "^3.103.0"
18
+ "braintree-web": "^3.112.1"
19
19
  },
20
20
  "peerDependencies": {
21
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.98",
22
- "@graphcommerce/graphql": "^9.0.0-canary.98",
23
- "@graphcommerce/image": "^9.0.0-canary.98",
24
- "@graphcommerce/magento-cart": "^9.0.0-canary.98",
25
- "@graphcommerce/magento-cart-payment-method": "^9.0.0-canary.98",
26
- "@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.98",
27
- "@graphcommerce/magento-product": "^9.0.0-canary.98",
28
- "@graphcommerce/magento-product-configurable": "^9.0.0-canary.98",
29
- "@graphcommerce/magento-store": "^9.0.0-canary.98",
30
- "@graphcommerce/next-ui": "^9.0.0-canary.98",
31
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.98",
32
- "@graphcommerce/react-hook-form": "^9.0.0-canary.98",
33
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.98",
21
+ "@graphcommerce/eslint-config-pwa": "^9.0.0",
22
+ "@graphcommerce/graphql": "^9.0.0",
23
+ "@graphcommerce/image": "^9.0.0",
24
+ "@graphcommerce/magento-cart": "^9.0.0",
25
+ "@graphcommerce/magento-cart-payment-method": "^9.0.0",
26
+ "@graphcommerce/magento-cart-shipping-address": "^9.0.0",
27
+ "@graphcommerce/magento-product": "^9.0.0",
28
+ "@graphcommerce/magento-product-configurable": "^9.0.0",
29
+ "@graphcommerce/magento-store": "^9.0.0",
30
+ "@graphcommerce/next-ui": "^9.0.0",
31
+ "@graphcommerce/prettier-config-pwa": "^9.0.0",
32
+ "@graphcommerce/react-hook-form": "^9.0.0",
33
+ "@graphcommerce/typescript-config-pwa": "^9.0.0",
34
34
  "@lingui/core": "^4.2.1",
35
35
  "@lingui/macro": "^4.2.1",
36
36
  "@lingui/react": "^4.2.1",
37
37
  "@mui/material": "^5.10.16",
38
- "framer-motion": "^10.0.0",
38
+ "framer-motion": "^11.0.0",
39
39
  "next": "*",
40
40
  "react": "^18.2.0",
41
41
  "react-dom": "^18.2.0"
@@ -1,4 +1,4 @@
1
- import { PaymentMethodContextProviderProps } from '@graphcommerce/magento-cart-payment-method'
1
+ import type { PaymentMethodContextProviderProps } from '@graphcommerce/magento-cart-payment-method'
2
2
  import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
3
3
  import { braintree } from '../methods/braintree'
4
4
  import { braintree_local_payment } from '../methods/braintree_local_payments'
@@ -1,10 +1,11 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
+
2
3
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
3
4
  import { waitForGraphQlResponse } from '@graphcommerce/graphql/test/apolloClient.fixture'
4
5
  import { PaymentMethodPlaceOrderNoopDocument } from '@graphcommerce/magento-cart-payment-method/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.gql'
5
6
  import { fillShippingAddressForm } from '@graphcommerce/magento-cart-shipping-address/test/fillShippingAddressForm'
6
- import { test } from '@graphcommerce/magento-product/test/productURL.fixture'
7
7
  import { addConfigurableProductToCart } from '@graphcommerce/magento-product-configurable/test/addConfigurableProductToCart'
8
+ import { test } from '@graphcommerce/magento-product/test/productURL.fixture'
8
9
  import { expect } from '@playwright/test'
9
10
 
10
11
  test('place order', async ({ page, productURL }) => {
@@ -1,10 +1,11 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
+
2
3
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
3
4
  import { waitForGraphQlResponse } from '@graphcommerce/graphql/test/apolloClient.fixture'
4
5
  import { PaymentMethodPlaceOrderNoopDocument } from '@graphcommerce/magento-cart-payment-method/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.gql'
5
6
  import { goToPayment } from '@graphcommerce/magento-cart-payment-method/test/goToPayment'
6
- import { test } from '@graphcommerce/magento-product/test/productURL.fixture'
7
7
  import { addConfigurableProductToCart } from '@graphcommerce/magento-product-configurable/test/addConfigurableProductToCart'
8
+ import { test } from '@graphcommerce/magento-product/test/productURL.fixture'
8
9
  import { expect } from '@playwright/test'
9
10
 
10
11
  test('place order ideal', async ({ page, productURL, apolloClient, locale }) => {
@@ -1,11 +1,13 @@
1
- import { BraintreeError } from 'braintree-web'
1
+ import type { BraintreeError } from 'braintree-web'
2
2
 
3
3
  const errorTypes = ['CUSTOMER', 'MERCHANT', 'NETWORK', 'INTERNAL', 'UNKNOWN']
4
4
 
5
+ /** @public */
5
6
  export function isBraintreeError(e: unknown): e is BraintreeError {
6
7
  return errorTypes.includes((e as BraintreeError).type) && e instanceof Error
7
8
  }
8
9
 
10
+ /** @public */
9
11
  export function isBraintreeCustomerError(e: unknown): e is BraintreeError {
10
12
  return isBraintreeError(e) && e.type === 'CUSTOMER'
11
13
  }