@graphcommerce/magento-payment-braintree 9.0.0-canary.99 → 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,86 +1,56 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.99
3
+ ## 9.0.0
4
4
 
5
- ## 9.0.0-canary.98
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
5
+ ### Minor Changes
36
6
 
37
- ## 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))
38
8
 
39
- ## 9.0.0-canary.81
9
+ ### Patch Changes
40
10
 
41
- ## 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))
42
12
 
43
- ### 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))
44
14
 
45
- - [#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))
46
16
 
47
- ## 9.0.0-canary.79
17
+ ## 9.0.0-canary.118
48
18
 
49
- ## 9.0.0-canary.78
19
+ ## 9.0.0-canary.117
50
20
 
51
- ## 9.0.0-canary.77
21
+ ## 9.0.0-canary.116
52
22
 
53
- ## 9.0.0-canary.76
23
+ ## 9.0.0-canary.115
54
24
 
55
- ## 9.0.0-canary.75
25
+ ## 9.0.0-canary.114
56
26
 
57
- ## 9.0.0-canary.74
27
+ ## 9.0.0-canary.113
58
28
 
59
- ## 9.0.0-canary.73
29
+ ## 9.0.0-canary.112
60
30
 
61
- ## 9.0.0-canary.72
31
+ ## 9.0.0-canary.111
62
32
 
63
- ## 9.0.0-canary.71
33
+ ## 9.0.0-canary.110
64
34
 
65
- ## 9.0.0-canary.70
35
+ ## 9.0.0-canary.109
66
36
 
67
- ## 9.0.0-canary.69
37
+ ## 9.0.0-canary.108
68
38
 
69
- ## 9.0.0-canary.68
39
+ ## 9.0.0-canary.107
70
40
 
71
- ## 9.0.0-canary.67
41
+ ## 9.0.0-canary.106
72
42
 
73
- ## 9.0.0-canary.66
43
+ ## 9.0.0-canary.105
74
44
 
75
- ## 9.0.0-canary.65
45
+ ## 9.0.0-canary.104
76
46
 
77
- ## 9.0.0-canary.64
47
+ ## 9.0.0-canary.103
78
48
 
79
- ## 9.0.0-canary.63
49
+ ## 9.0.0-canary.80
80
50
 
81
- ## 9.0.0-canary.62
51
+ ### Minor Changes
82
52
 
83
- ## 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))
84
54
 
85
55
  ## 9.0.0-canary.60
86
56
 
@@ -88,700 +58,30 @@
88
58
 
89
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))
90
60
 
91
- ## 9.0.0-canary.59
92
-
93
- ## 9.0.0-canary.58
94
-
95
- ## 9.0.0-canary.57
96
-
97
- ## 9.0.0-canary.56
98
-
99
- ## 9.0.0-canary.55
100
-
101
- ## 9.0.0-canary.54
102
-
103
- ## 8.1.0-canary.53
104
-
105
- ## 8.1.0-canary.52
106
-
107
- ## 8.1.0-canary.51
108
-
109
- ## 8.1.0-canary.50
110
-
111
- ## 8.1.0-canary.49
112
-
113
- ## 8.1.0-canary.48
114
-
115
- ## 8.1.0-canary.47
116
-
117
- ## 8.1.0-canary.46
118
-
119
- ## 8.1.0-canary.45
120
-
121
- ## 8.1.0-canary.44
122
-
123
- ## 8.1.0-canary.43
124
-
125
- ## 8.1.0-canary.42
126
-
127
- ## 8.1.0-canary.41
128
-
129
- ## 8.1.0-canary.40
130
-
131
- ## 8.1.0-canary.39
132
-
133
- ## 8.1.0-canary.38
134
-
135
- ## 8.1.0-canary.37
136
-
137
- ## 8.1.0-canary.36
138
-
139
- ## 8.1.0-canary.35
140
-
141
- ## 8.1.0-canary.34
142
-
143
- ## 8.1.0-canary.33
144
-
145
- ## 8.1.0-canary.32
146
-
147
- ## 8.1.0-canary.31
148
-
149
- ## 8.1.0-canary.30
150
-
151
- ## 8.1.0-canary.29
152
-
153
- ## 8.1.0-canary.28
154
-
155
- ## 8.1.0-canary.27
156
-
157
- ## 8.1.0-canary.26
158
-
159
- ## 8.1.0-canary.25
160
-
161
- ## 8.1.0-canary.24
162
-
163
- ## 8.1.0-canary.23
164
-
165
- ## 8.1.0-canary.22
166
-
167
- ## 8.1.0-canary.21
168
-
169
- ## 8.1.0-canary.20
170
-
171
- ## 8.1.0-canary.19
172
-
173
61
  ## 8.1.0-canary.18
174
62
 
175
63
  ### Patch Changes
176
64
 
177
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))
178
66
 
179
- ## 8.1.0-canary.17
180
-
181
- ## 8.1.0-canary.16
182
-
183
- ## 8.1.0-canary.15
184
-
185
- ## 8.1.0-canary.14
186
-
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
- ## 8.1.0-canary.8
198
-
199
- ## 8.1.0-canary.7
200
-
201
- ## 8.1.0-canary.6
202
-
203
- ## 8.1.0-canary.5
204
-
205
- ## 8.0.6-canary.4
206
-
207
- ## 8.0.6-canary.3
208
-
209
67
  ## 8.0.6-canary.2
210
68
 
211
69
  ### Patch Changes
212
70
 
213
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))
214
72
 
215
- ## 8.0.6-canary.1
216
-
217
- ## 8.0.6-canary.0
218
-
219
73
  ## 8.0.5
220
74
 
221
75
  ### Patch Changes
222
76
 
223
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))
224
78
 
225
- ## 8.0.5-canary.10
226
-
227
- ## 8.0.5-canary.9
228
-
229
- ## 8.0.5-canary.8
230
-
231
- ## 8.0.5-canary.7
232
-
233
- ## 8.0.5-canary.6
234
-
235
- ## 8.0.5-canary.5
236
-
237
- ### Patch Changes
238
-
239
- - [#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))
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
- ## 8.0.0
296
-
297
- ## 8.0.0-canary.100
298
-
299
- ## 8.0.0-canary.99
300
-
301
- ## 8.0.0-canary.98
302
-
303
- ## 8.0.0-canary.97
304
-
305
- ## 8.0.0-canary.96
306
-
307
- ## 8.0.0-canary.95
308
-
309
- ## 8.0.0-canary.94
310
-
311
- ## 8.0.0-canary.93
312
-
313
- ## 8.0.0-canary.92
314
-
315
- ## 8.0.0-canary.91
316
-
317
- ## 8.0.0-canary.90
318
-
319
- ## 8.0.0-canary.89
320
-
321
- ## 8.0.0-canary.88
322
-
323
- ## 8.0.0-canary.87
324
-
325
- ## 8.0.0-canary.86
326
-
327
- ## 8.0.0-canary.85
328
-
329
- ## 8.0.0-canary.84
330
-
331
- ## 8.0.0-canary.83
332
-
333
- ## 8.0.0-canary.82
334
-
335
- ## 8.0.0-canary.81
336
-
337
- ## 8.0.0-canary.80
338
-
339
- ## 8.0.0-canary.79
340
-
341
- ## 8.0.0-canary.78
342
-
343
- ## 8.0.0-canary.77
344
-
345
- ## 8.0.0-canary.76
346
-
347
- ## 8.0.0-canary.75
348
-
349
- ## 8.0.0-canary.74
350
-
351
- ## 8.0.0-canary.73
352
-
353
- ## 8.0.0-canary.72
354
-
355
- ## 8.0.0-canary.71
356
-
357
- ## 8.0.0-canary.70
358
-
359
- ## 8.0.0-canary.69
360
-
361
- ## 7.1.0-canary.68
362
-
363
- ## 7.1.0-canary.67
364
-
365
- ## 7.1.0-canary.66
366
-
367
- ## 7.1.0-canary.65
368
-
369
- ## 7.1.0-canary.64
370
-
371
- ## 7.1.0-canary.63
372
-
373
- ## 7.1.0-canary.62
374
-
375
- ## 7.1.0-canary.61
376
-
377
- ## 7.1.0-canary.60
378
-
379
- ## 7.1.0-canary.59
380
-
381
- ## 7.1.0-canary.58
382
-
383
- ## 7.1.0-canary.57
384
-
385
- ## 7.1.0-canary.56
386
-
387
- ## 7.1.0-canary.55
388
-
389
- ## 7.1.0-canary.54
390
-
391
- ## 7.1.0-canary.53
392
-
393
- ## 7.1.0-canary.52
394
-
395
- ## 7.1.0-canary.51
396
-
397
- ## 7.1.0-canary.50
398
-
399
- ## 7.1.0-canary.49
400
-
401
- ## 7.1.0-canary.48
402
-
403
- ## 7.1.0-canary.47
404
-
405
- ## 7.1.0-canary.46
406
-
407
- ## 7.1.0-canary.45
408
-
409
- ## 7.1.0-canary.38
410
-
411
- ## 7.1.0-canary.37
412
-
413
- ## 7.1.0-canary.36
414
-
415
- ## 7.1.0-canary.35
416
-
417
- ## 7.1.0-canary.34
418
-
419
- ## 7.1.0-canary.33
420
-
421
- ## 7.1.0-canary.32
422
-
423
- ## 7.1.0-canary.31
424
-
425
- ## 7.1.0-canary.30
426
-
427
- ## 7.1.0-canary.29
428
-
429
- ## 7.1.0-canary.28
430
-
431
- ## 7.1.0-canary.27
432
-
433
- ## 7.1.0-canary.26
434
-
435
- ## 7.1.0-canary.25
436
-
437
- ## 7.1.0-canary.24
438
-
439
- ## 7.1.0-canary.23
440
-
441
- ## 7.1.0-canary.22
442
-
443
- ## 7.1.0-canary.21
444
-
445
- ## 7.1.0-canary.20
446
-
447
- ## 7.1.0-canary.19
448
-
449
- ## 7.1.0-canary.18
450
-
451
- ## 7.1.0-canary.17
452
-
453
- ## 7.1.0-canary.16
454
-
455
- ## 7.1.0-canary.15
456
-
457
- ## 7.1.0-canary.14
458
-
459
- ## 7.1.0-canary.13
460
-
461
- ## 7.1.0-canary.12
462
-
463
- ## 7.1.0-canary.11
464
-
465
- ## 7.1.0-canary.10
466
-
467
- ## 7.1.0-canary.9
468
-
469
- ## 7.1.0-canary.8
470
-
471
- ## 7.0.2-canary.7
472
-
473
- ## 7.0.2-canary.6
474
-
475
- ## 7.0.2-canary.5
476
-
477
79
  ## 7.0.1
478
80
 
479
81
  ### Patch Changes
480
82
 
481
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))
482
84
 
483
- ## 7.0.1-canary.15
484
-
485
- ## 7.0.1-canary.14
486
-
487
- ## 7.0.1-canary.13
488
-
489
- ## 7.0.1-canary.12
490
-
491
- ## 7.0.1-canary.11
492
-
493
- ## 7.0.1-canary.10
494
-
495
- ## 7.0.1-canary.9
496
-
497
- ## 7.0.1-canary.8
498
-
499
- ## 7.0.1-canary.7
500
-
501
- ## 7.0.1-canary.6
502
-
503
- ## 7.0.1-canary.5
504
-
505
- ## 7.0.1-canary.4
506
-
507
- ## 7.0.1-canary.3
508
-
509
- ## 7.0.1-canary.2
510
-
511
- ## 7.0.1-canary.1
512
-
513
- ## 7.0.1-canary.0
514
-
515
- ### Patch Changes
516
-
517
- - [#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))
518
-
519
- ## 7.0.0
520
-
521
- ## 6.2.0-canary.98
522
-
523
- ## 6.2.0-canary.97
524
-
525
- ## 6.2.0-canary.96
526
-
527
- ## 6.2.0-canary.95
528
-
529
- ## 6.2.0-canary.94
530
-
531
- ## 6.2.0-canary.93
532
-
533
- ## 6.2.0-canary.92
534
-
535
- ## 6.2.0-canary.91
536
-
537
- ## 6.2.0-canary.90
538
-
539
- ## 6.2.0-canary.89
540
-
541
- ## 6.2.0-canary.88
542
-
543
- ## 6.2.0-canary.87
544
-
545
- ## 6.2.0-canary.86
546
-
547
- ## 6.2.0-canary.85
548
-
549
- ## 6.2.0-canary.84
550
-
551
- ## 6.2.0-canary.83
552
-
553
- ## 6.2.0-canary.82
554
-
555
- ## 6.2.0-canary.81
556
-
557
- ## 6.2.0-canary.80
558
-
559
- ## 6.2.0-canary.79
560
-
561
- ## 6.2.0-canary.78
562
-
563
- ## 6.2.0-canary.77
564
-
565
- ## 6.2.0-canary.76
566
-
567
- ## 6.2.0-canary.75
568
-
569
- ## 6.2.0-canary.74
570
-
571
- ## 6.2.0-canary.73
572
-
573
- ## 6.2.0-canary.72
574
-
575
- ## 6.2.0-canary.71
576
-
577
- ## 6.2.0-canary.70
578
-
579
- ## 6.2.0-canary.69
580
-
581
- ## 6.2.0-canary.68
582
-
583
- ## 6.2.0-canary.67
584
-
585
- ## 6.2.0-canary.66
586
-
587
- ## 6.2.0-canary.65
588
-
589
- ## 6.2.0-canary.64
590
-
591
- ## 6.2.0-canary.63
592
-
593
- ## 6.2.0-canary.62
594
-
595
- ## 6.2.0-canary.61
596
-
597
- ## 6.2.0-canary.60
598
-
599
- ## 6.2.0-canary.59
600
-
601
- ## 6.2.0-canary.58
602
-
603
- ## 6.2.0-canary.57
604
-
605
- ## 6.2.0-canary.56
606
-
607
- ## 6.2.0-canary.55
608
-
609
- ## 6.2.0-canary.54
610
-
611
- ## 6.2.0-canary.53
612
-
613
- ## 6.2.0-canary.52
614
-
615
- ## 6.2.0-canary.51
616
-
617
- ## 6.2.0-canary.50
618
-
619
- ## 6.2.0-canary.49
620
-
621
- ## 6.2.0-canary.48
622
-
623
- ## 6.2.0-canary.47
624
-
625
- ## 6.2.0-canary.46
626
-
627
- ## 6.2.0-canary.45
628
-
629
- ## 6.2.0-canary.44
630
-
631
- ## 6.2.0-canary.43
632
-
633
- ## 6.2.0-canary.42
634
-
635
- ## 6.2.0-canary.41
636
-
637
- ## 6.2.0-canary.40
638
-
639
- ## 6.2.0-canary.39
640
-
641
- ## 6.2.0-canary.38
642
-
643
- ## 6.2.0-canary.37
644
-
645
- ## 6.2.0-canary.36
646
-
647
- ## 6.2.0-canary.35
648
-
649
- ## 6.2.0-canary.34
650
-
651
- ## 6.2.0-canary.33
652
-
653
- ## 6.2.0-canary.32
654
-
655
- ## 6.2.0-canary.31
656
-
657
- ## 6.2.0-canary.30
658
-
659
- ## 6.2.0-canary.29
660
-
661
- ## 6.2.0-canary.28
662
-
663
- ## 6.2.0-canary.27
664
-
665
- ## 6.2.0-canary.26
666
-
667
- ## 6.2.0-canary.25
668
-
669
- ## 6.2.0-canary.24
670
-
671
- ## 6.2.0-canary.23
672
-
673
- ## 6.2.0-canary.22
674
-
675
- ## 6.2.0-canary.21
676
-
677
- ## 6.2.0-canary.20
678
-
679
- ## 6.2.0-canary.19
680
-
681
- ## 6.2.0-canary.18
682
-
683
- ## 6.2.0-canary.17
684
-
685
- ## 6.2.0-canary.16
686
-
687
- ## 6.2.0-canary.15
688
-
689
- ## 6.2.0-canary.14
690
-
691
- ## 6.2.0-canary.13
692
-
693
- ## 6.2.0-canary.12
694
-
695
- ## 6.2.0-canary.11
696
-
697
- ## 6.2.0-canary.10
698
-
699
- ## 6.2.0-canary.9
700
-
701
- ## 6.2.0-canary.8
702
-
703
- ## 6.2.0-canary.7
704
-
705
- ## 6.2.0-canary.6
706
-
707
- ## 6.1.1-canary.5
708
-
709
- ## 6.1.1-canary.4
710
-
711
- ## 6.1.1-canary.3
712
-
713
- ## 6.1.1-canary.2
714
-
715
- ## 6.1.1-canary.1
716
-
717
- ## 6.1.1-canary.0
718
-
719
- ## 6.1.0
720
-
721
- ## 6.0.2-canary.22
722
-
723
- ## 6.0.2-canary.21
724
-
725
- ## 6.0.2-canary.20
726
-
727
- ## 6.0.2-canary.19
728
-
729
- ## 6.0.2-canary.18
730
-
731
- ## 6.0.2-canary.17
732
-
733
- ## 6.0.2-canary.16
734
-
735
- ## 6.0.2-canary.15
736
-
737
- ## 6.0.2-canary.14
738
-
739
- ## 6.0.2-canary.13
740
-
741
- ## 6.0.2-canary.12
742
-
743
- ## 6.0.2-canary.11
744
-
745
- ## 6.0.2-canary.10
746
-
747
- ## 6.0.2-canary.9
748
-
749
- ## 6.0.2-canary.8
750
-
751
- ## 6.0.2-canary.7
752
-
753
- ## 6.0.2-canary.6
754
-
755
- ## 6.0.2-canary.5
756
-
757
- ## 6.0.2-canary.4
758
-
759
- ## 6.0.2-canary.3
760
-
761
- ## 6.0.2-canary.2
762
-
763
- ## 6.0.2-canary.1
764
-
765
- ## 6.0.2-canary.0
766
-
767
- ## 6.0.1
768
-
769
- ## 6.0.1-canary.7
770
-
771
- ## 6.0.1-canary.6
772
-
773
- ## 6.0.1-canary.5
774
-
775
- ## 6.0.1-canary.4
776
-
777
- ## 6.0.1-canary.3
778
-
779
- ## 6.0.1-canary.2
780
-
781
- ## 6.0.1-canary.1
782
-
783
- ## 6.0.1-canary.0
784
-
785
85
  ## 6.0.0
786
86
 
787
87
  ### Major Changes
@@ -796,136 +96,6 @@
796
96
 
797
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))
798
98
 
799
- ## 6.0.0-canary.54
800
-
801
- ## 6.0.0-canary.53
802
-
803
- ## 6.0.0-canary.52
804
-
805
- ## 6.0.0-canary.51
806
-
807
- ## 6.0.0-canary.50
808
-
809
- ## 6.0.0-canary.49
810
-
811
- ## 6.0.0-canary.48
812
-
813
- ## 6.0.0-canary.47
814
-
815
- ## 6.0.0-canary.46
816
-
817
- ## 6.0.0-canary.45
818
-
819
- ## 6.0.0-canary.44
820
-
821
- ## 6.0.0-canary.43
822
-
823
- ### Patch Changes
824
-
825
- - [#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))
826
-
827
- ## 6.0.0-canary.42
828
-
829
- ## 6.0.0-canary.41
830
-
831
- ## 6.0.0-canary.40
832
-
833
- ## 6.0.0-canary.39
834
-
835
- ## 6.0.0-canary.38
836
-
837
- ## 6.0.0-canary.37
838
-
839
- ## 6.0.0-canary.36
840
-
841
- ## 6.0.0-canary.35
842
-
843
- ## 6.0.0-canary.34
844
-
845
- ## 6.0.0-canary.33
846
-
847
- ## 6.0.0-canary.32
848
-
849
- ## 6.0.0-canary.31
850
-
851
- ## 6.0.0-canary.30
852
-
853
- ## 6.0.0-canary.29
854
-
855
- ## 6.0.0-canary.28
856
-
857
- ## 6.0.0-canary.27
858
-
859
- ## 6.0.0-canary.26
860
-
861
- ## 6.0.0-canary.25
862
-
863
- ## 6.0.0-canary.24
864
-
865
- ## 6.0.0-canary.23
866
-
867
- ## 6.0.0-canary.22
868
-
869
- ## 6.0.0-canary.21
870
-
871
- ## 6.0.0-canary.20
872
-
873
- ## 5.2.0-canary.19
874
-
875
- ## 5.2.0-canary.18
876
-
877
- ## 5.2.0-canary.17
878
-
879
- ## 5.2.0-canary.16
880
-
881
- ## 5.2.0-canary.15
882
-
883
- ## 5.2.0-canary.14
884
-
885
- ## 5.2.0-canary.13
886
-
887
- ## 5.2.0-canary.12
888
-
889
- ## 5.2.0-canary.11
890
-
891
- ## 5.2.0-canary.10
892
-
893
- ## 5.2.0-canary.9
894
-
895
- ## 5.2.0-canary.8
896
-
897
- ## 5.2.0-canary.7
898
-
899
- ## 5.2.0-canary.6
900
-
901
- ## 5.2.0-canary.5
902
-
903
- ## 5.2.0-canary.4
904
-
905
- ## 5.2.0-canary.3
906
-
907
- ### Minor Changes
908
-
909
- - [#1766](https://github.com/graphcommerce-org/graphcommerce/pull/1766) [`e34169ee2`](https://github.com/graphcommerce-org/graphcommerce/commit/e34169ee2e0fdc052ff589ceca0bc67557584c1f) - Upgraded to Next.js 13
910
-
911
- - NextLink integrates the next/link functionality with @mui/material's Link and ButtonBase (and all it's derivatives) components.
912
- - NextLink automatically adds `target="_blank"` when the href is external.
913
- - NextLink makes all relative href absolute. `href="my-page"` will be rendered as `href="/my-page"`.
914
-
915
- Upgrade instructions: https://www.graphcommerce.org/docs/framework/links#upgrading-from-nextjs-12 ([@paales](https://github.com/paales))
916
-
917
- ## 5.2.0-canary.2
918
-
919
- ## 5.2.0-canary.1
920
-
921
- ## 5.2.0-canary.0
922
-
923
- ## 5.1.1
924
-
925
- ## 5.1.1-canary.1
926
-
927
- ## 5.1.1-canary.0
928
-
929
99
  ## 5.1.0
930
100
 
931
101
  ### Patch Changes
@@ -939,43 +109,6 @@
939
109
  - Upgraded dependencies including type-fest and graphql-mesh
940
110
  - Solved peer dependency issues ([@paales](https://github.com/paales))
941
111
 
942
- ## 5.1.0-canary.11
943
-
944
- ## 5.1.0-canary.10
945
-
946
- ### Patch Changes
947
-
948
- - [#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))
949
-
950
- ## 5.1.0-canary.9
951
-
952
- ## 5.1.0-canary.8
953
-
954
- ## 5.1.0-canary.7
955
-
956
- ## 5.1.0-canary.6
957
-
958
- ## 5.1.0-canary.5
959
-
960
- ## 5.1.0-canary.4
961
-
962
- ## 5.1.0-canary.3
963
-
964
- ### Patch Changes
965
-
966
- - [#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.
967
-
968
- - Updated the @mui/material package
969
- - Removed dependencies on react-hook-form-mui and @playwright/test
970
- - Upgraded dependencies including type-fest and graphql-mesh
971
- - Solved peer dependency issues ([@paales](https://github.com/paales))
972
-
973
- ## 5.1.0-canary.2
974
-
975
- ## 5.1.0-canary.1
976
-
977
- ## 5.1.0-canary.0
978
-
979
112
  ## 5.0.0
980
113
 
981
114
  ### Major Changes
@@ -1004,84 +137,12 @@
1004
137
 
1005
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))
1006
139
 
1007
- ## 5.0.0-canary.14
1008
-
1009
- ## 5.0.0-canary.13
1010
-
1011
- ### Major Changes
1012
-
1013
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1014
-
1015
- ## 4.14.0-canary.12
1016
-
1017
- ## 4.14.0-canary.11
1018
-
1019
- ## 4.14.0-canary.10
1020
-
1021
- ## 4.14.0-canary.9
1022
-
1023
- ## 4.14.0-canary.8
1024
-
1025
- ## 4.14.0-canary.7
1026
-
1027
- ### Patch Changes
1028
-
1029
- - [#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))
1030
-
1031
- ## 4.14.0-canary.6
1032
-
1033
- ## 4.14.0-canary.5
1034
-
1035
- ## 4.14.0-canary.4
1036
-
1037
- ### Patch Changes
1038
-
1039
- - [#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))
1040
-
1041
- - [#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))
1042
-
1043
- ## 4.14.0-canary.3
1044
-
1045
- ### Patch Changes
1046
-
1047
- - [#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))
1048
-
1049
- ## 4.14.0-canary.2
1050
-
1051
- ### Minor Changes
1052
-
1053
- - [#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))
1054
-
1055
- ## 4.13.2-canary.1
1056
-
1057
- ## 4.13.2-canary.0
1058
-
1059
- ## 4.13.3
1060
-
1061
- ## 4.13.2
1062
-
1063
- ## 4.13.1
1064
-
1065
- ## 4.13.1-canary.2
1066
-
1067
- ## 4.13.1-canary.1
1068
-
1069
- ## 4.13.1-canary.0
1070
-
1071
140
  ## 4.13.0
1072
141
 
1073
142
  ### Patch Changes
1074
143
 
1075
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
1076
145
 
1077
- ## 4.13.0-canary.1
1078
-
1079
- ### Patch Changes
1080
-
1081
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1082
-
1083
- ## 4.13.0-canary.0
1084
-
1085
146
  ## 3.0.66
1086
147
 
1087
148
  ### Patch Changes
@@ -1600,7 +661,7 @@
1600
661
  All occurences of `<Trans>` and `t` need to be replaced:
1601
662
 
1602
663
  ```tsx
1603
- import { Trans, t } from '@lingui/macro'
664
+ import { t, Trans } from '@lingui/macro'
1604
665
 
1605
666
  function MyComponent() {
1606
667
  const foo = 'bar'
@@ -1615,8 +676,8 @@
1615
676
  Needs to be replaced with:
1616
677
 
1617
678
  ```tsx
1618
- import { Trans } from '@lingui/react'
1619
679
  import { i18n } from '@lingui/core'
680
+ import { Trans } from '@lingui/react'
1620
681
 
1621
682
  function MyComponent() {
1622
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.99",
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.99",
22
- "@graphcommerce/graphql": "^9.0.0-canary.99",
23
- "@graphcommerce/image": "^9.0.0-canary.99",
24
- "@graphcommerce/magento-cart": "^9.0.0-canary.99",
25
- "@graphcommerce/magento-cart-payment-method": "^9.0.0-canary.99",
26
- "@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.99",
27
- "@graphcommerce/magento-product": "^9.0.0-canary.99",
28
- "@graphcommerce/magento-product-configurable": "^9.0.0-canary.99",
29
- "@graphcommerce/magento-store": "^9.0.0-canary.99",
30
- "@graphcommerce/next-ui": "^9.0.0-canary.99",
31
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.99",
32
- "@graphcommerce/react-hook-form": "^9.0.0-canary.99",
33
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.99",
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
  }