@graphcommerce/magento-payment-braintree 2.106.47 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +92 -54
- package/hooks/useBraintree.ts +1 -1
- package/package.json +25 -31
package/CHANGELOG.md
CHANGED
@@ -1,89 +1,127 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
## 3.0.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
|
8
|
+
Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
|
9
|
+
so that the packages link to back to the website and repository
|
10
|
+
- Updated dependencies
|
11
|
+
[[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
12
|
+
- @graphcommerce/graphql@3.0.1
|
13
|
+
- @graphcommerce/image@3.0.1
|
14
|
+
- @graphcommerce/magento-cart@4.0.1
|
15
|
+
- @graphcommerce/magento-cart-payment-method@3.0.1
|
16
|
+
- @graphcommerce/magento-store@4.0.1
|
17
|
+
- @graphcommerce/next-ui@4.0.1
|
18
|
+
- @graphcommerce/react-hook-form@3.0.1
|
19
|
+
|
20
|
+
## 3.0.0
|
21
|
+
|
22
|
+
### Major Changes
|
23
|
+
|
24
|
+
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
|
25
|
+
[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
|
26
|
+
Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
|
27
|
+
|
28
|
+
### Patch Changes
|
29
|
+
|
30
|
+
- Updated dependencies
|
31
|
+
[[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
32
|
+
- @graphcommerce/graphql@3.0.0
|
33
|
+
- @graphcommerce/image@3.0.0
|
34
|
+
- @graphcommerce/magento-cart@4.0.0
|
35
|
+
- @graphcommerce/magento-cart-payment-method@3.0.0
|
36
|
+
- @graphcommerce/magento-store@4.0.0
|
37
|
+
- @graphcommerce/next-ui@4.0.0
|
38
|
+
- @graphcommerce/react-hook-form@3.0.0
|
5
39
|
|
6
|
-
|
40
|
+
All notable changes to this project will be documented in this file. See
|
41
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
7
42
|
|
43
|
+
# [2.106.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-braintree@2.105.32...@graphcommerce/magento-payment-braintree@2.106.0) (2021-11-12)
|
8
44
|
|
9
45
|
### Features
|
10
46
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
47
|
+
- added tons of translations
|
48
|
+
([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
|
16
49
|
|
17
50
|
# [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-braintree@2.104.40...@graphcommerce/magento-payment-braintree@2.105.0) (2021-10-27)
|
18
51
|
|
19
|
-
|
20
52
|
### Features
|
21
53
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
54
|
+
- **nextjs:** upgraded to nextjs 12
|
55
|
+
([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
27
56
|
|
28
57
|
## [2.104.7](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-braintree@2.104.6...@graphcommerce/magento-payment-braintree@2.104.7) (2021-09-30)
|
29
58
|
|
30
|
-
|
31
59
|
### Bug Fixes
|
32
60
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
61
|
+
- braintree typescript warning
|
62
|
+
([8bb6a8a](https://github.com/ho-nl/m2-pwa/commit/8bb6a8a7bdd4d90cb1486d88263971143a571fa1))
|
38
63
|
|
39
64
|
## [2.104.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-braintree@2.104.0...@graphcommerce/magento-payment-braintree@2.104.1) (2021-09-27)
|
40
65
|
|
41
66
|
**Note:** Version bump only for package @graphcommerce/magento-payment-braintree
|
42
67
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
68
|
# 2.104.0 (2021-09-27)
|
48
69
|
|
49
|
-
|
50
70
|
### Bug Fixes
|
51
71
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
72
|
+
- **braintree:** allow for proper initialization of braintree client libraries
|
73
|
+
([af87d1c](https://github.com/ho-nl/m2-pwa/commit/af87d1ccde1378127b9ef76b197d3946a9c7ca92))
|
74
|
+
- ignore md files from triggering version updates
|
75
|
+
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
76
|
+
- implement next-ui barrel imports
|
77
|
+
([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
|
78
|
+
- paymentDone removed in favor of a more simple clearCart method
|
79
|
+
([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
|
80
|
+
- **playwright:** checkout button was renamed
|
81
|
+
([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
|
82
|
+
- rename NextButton to Button, change imports
|
83
|
+
([976adb0](https://github.com/ho-nl/m2-pwa/commit/976adb0bf906310d1efce888dcc9be1e28ce0f1b))
|
59
84
|
|
60
85
|
### Features
|
61
86
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
87
|
+
- ability to place order after the payment has completed
|
88
|
+
([8fd479a](https://github.com/ho-nl/m2-pwa/commit/8fd479aded46ec1ba61b5dc42eccf4aaedff6c0c))
|
89
|
+
- added braintree libraries for checkout process
|
90
|
+
([970ae9a](https://github.com/ho-nl/m2-pwa/commit/970ae9a03510e6e6851ffb81758ab71daedc7096))
|
91
|
+
- added PaymentModule API and persistent selection of form fields
|
92
|
+
([b67f735](https://github.com/ho-nl/m2-pwa/commit/b67f7358f62edd56a8232d625ecee56af350bfb8))
|
93
|
+
- **braintree:** very basic implementation of credit card
|
94
|
+
([bb24f7e](https://github.com/ho-nl/m2-pwa/commit/bb24f7ec0577d018f0aff9b50de14f219e7504c5))
|
95
|
+
- checkout/payment page added to checkout
|
96
|
+
([7e54cd6](https://github.com/ho-nl/m2-pwa/commit/7e54cd68685543ded27b285f15f6d9729b969a02))
|
97
|
+
- created stacked-pages package
|
98
|
+
([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
|
99
|
+
- **graphql:** introduced new graphql package that holds all generated files
|
100
|
+
([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
|
101
|
+
- **image:** introduced completely rewritten Image component
|
102
|
+
([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
|
103
|
+
- implemented checkmo payment method
|
104
|
+
([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
|
105
|
+
- next.js 11
|
106
|
+
([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
|
107
|
+
- **payments:** make PaymentMethodContext injectable
|
108
|
+
([68c664a](https://github.com/ho-nl/m2-pwa/commit/68c664adb7eb6eb86d7a819213deb87152392347))
|
109
|
+
- **playwright:** added new playwright package to enable browser testing
|
110
|
+
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
111
|
+
- renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
|
112
|
+
[@reachdigital](https://github.com/reachdigital)
|
113
|
+
([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
114
|
+
- upgrade to node 14
|
115
|
+
([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
|
116
|
+
- upgraded to nextjs 11
|
117
|
+
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
118
|
+
- working on payment implementation contract
|
119
|
+
([bc3a41a](https://github.com/ho-nl/m2-pwa/commit/bc3a41a3de25c197bd65bdb68640c82f83c4698a))
|
79
120
|
|
80
121
|
### Reverts
|
81
122
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
123
|
+
- Revert "chore: upgrade @apollo/client"
|
124
|
+
([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
87
125
|
|
88
126
|
# Change Log
|
89
127
|
|
package/hooks/useBraintree.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ApolloClient, useApolloClient } from '@
|
1
|
+
import { ApolloClient, useApolloClient } from '@graphcommerce/graphql'
|
2
2
|
import braintree, { Client } from 'braintree-web'
|
3
3
|
import { useRef } from 'react'
|
4
4
|
import { UseBraintreeDocument } from './UseBraintree.gql'
|
package/package.json
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphcommerce/magento-payment-braintree",
|
3
|
-
"
|
3
|
+
"homepage": "https://www.graphcommerce.org/",
|
4
|
+
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
+
"version": "3.0.1",
|
4
6
|
"sideEffects": false,
|
5
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
6
|
-
"browserslist": [
|
7
|
-
"extends @graphcommerce/browserslist-config-pwa"
|
8
|
-
],
|
9
8
|
"eslintConfig": {
|
10
9
|
"extends": "@graphcommerce/eslint-config-pwa",
|
11
10
|
"parserOptions": {
|
@@ -13,35 +12,30 @@
|
|
13
12
|
}
|
14
13
|
},
|
15
14
|
"devDependencies": {
|
16
|
-
"@graphcommerce/
|
17
|
-
"@graphcommerce/
|
18
|
-
"@graphcommerce/magento-
|
19
|
-
"@graphcommerce/magento-product": "^
|
20
|
-
"@graphcommerce/
|
21
|
-
"@graphcommerce/
|
22
|
-
"@
|
23
|
-
"@
|
24
|
-
"@types/braintree-web": "^3.75.13"
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.0.1",
|
16
|
+
"@graphcommerce/magento-cart-shipping-address": "^3.0.1",
|
17
|
+
"@graphcommerce/magento-product": "^4.0.1",
|
18
|
+
"@graphcommerce/magento-product-configurable": "^4.0.1",
|
19
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.1",
|
20
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.1",
|
21
|
+
"@playwright/test": "^1.18.1",
|
22
|
+
"@types/braintree-web": "^3.75.17"
|
25
23
|
},
|
26
24
|
"dependencies": {
|
27
|
-
"@
|
28
|
-
"@graphcommerce/
|
29
|
-
"@graphcommerce/
|
30
|
-
"@graphcommerce/magento-cart": "^3.
|
31
|
-
"@graphcommerce/magento-
|
32
|
-
"@graphcommerce/
|
33
|
-
"@graphcommerce/
|
34
|
-
"@
|
35
|
-
"@
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"clsx": "^1.1.1",
|
40
|
-
"framer-motion": "^5.5.5",
|
41
|
-
"next": "^12.0.7",
|
25
|
+
"@graphcommerce/graphql": "^3.0.1",
|
26
|
+
"@graphcommerce/image": "^3.0.1",
|
27
|
+
"@graphcommerce/magento-cart": "^4.0.1",
|
28
|
+
"@graphcommerce/magento-cart-payment-method": "^3.0.1",
|
29
|
+
"@graphcommerce/magento-store": "^4.0.1",
|
30
|
+
"@graphcommerce/next-ui": "^4.0.1",
|
31
|
+
"@graphcommerce/react-hook-form": "^3.0.1",
|
32
|
+
"@lingui/macro": "^3.13.2",
|
33
|
+
"@mui/material": "^5.4.1",
|
34
|
+
"braintree-web": "^3.85.2",
|
35
|
+
"framer-motion": "^6.2.4",
|
36
|
+
"next": "^12.0.10",
|
42
37
|
"react": "^17.0.2",
|
43
38
|
"react-dom": "^17.0.2",
|
44
|
-
"type-fest": "^2.
|
45
|
-
}
|
46
|
-
"gitHead": "110ddb032ee3ce6e363b9f5f7d21af71fb51b527"
|
39
|
+
"type-fest": "^2.11.2"
|
40
|
+
}
|
47
41
|
}
|