@graphcommerce/magento-payment-braintree 2.106.48 → 3.0.2

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 CHANGED
@@ -1,89 +1,163 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ ## 3.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
8
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
9
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
10
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
11
+ duplicate packages in the node_modules folders.
12
+
13
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
14
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
15
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
16
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
17
+ implementing
18
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
19
+ soon.
20
+
21
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
22
+ frontend to be able to revalidate pages manually.
23
+
24
+ * Updated dependencies
25
+ [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
26
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
27
+ [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
28
+ [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
29
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
30
+ [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
31
+ - @graphcommerce/magento-cart@4.1.1
32
+ - @graphcommerce/magento-cart-payment-method@3.0.2
33
+ - @graphcommerce/next-ui@4.1.1
34
+ - @graphcommerce/react-hook-form@3.0.2
35
+ - @graphcommerce/graphql@3.0.2
36
+ - @graphcommerce/image@3.0.2
37
+ - @graphcommerce/magento-store@4.0.2
38
+
39
+ ## 3.0.1
40
+
41
+ ### Patch Changes
42
+
43
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
44
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
45
+ so that the packages link to back to the website and repository
46
+ - Updated dependencies
47
+ [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
48
+ - @graphcommerce/graphql@3.0.1
49
+ - @graphcommerce/image@3.0.1
50
+ - @graphcommerce/magento-cart@4.0.1
51
+ - @graphcommerce/magento-cart-payment-method@3.0.1
52
+ - @graphcommerce/magento-store@4.0.1
53
+ - @graphcommerce/next-ui@4.0.1
54
+ - @graphcommerce/react-hook-form@3.0.1
55
+
56
+ ## 3.0.0
57
+
58
+ ### Major Changes
59
+
60
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
61
+ [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
62
+ Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies
67
+ [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
68
+ - @graphcommerce/graphql@3.0.0
69
+ - @graphcommerce/image@3.0.0
70
+ - @graphcommerce/magento-cart@4.0.0
71
+ - @graphcommerce/magento-cart-payment-method@3.0.0
72
+ - @graphcommerce/magento-store@4.0.0
73
+ - @graphcommerce/next-ui@4.0.0
74
+ - @graphcommerce/react-hook-form@3.0.0
5
75
 
6
- # [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)
76
+ All notable changes to this project will be documented in this file. See
77
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
78
 
79
+ # [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
80
 
9
81
  ### Features
10
82
 
11
- * added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
12
-
13
-
14
-
15
-
83
+ - added tons of translations
84
+ ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
16
85
 
17
86
  # [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
87
 
19
-
20
88
  ### Features
21
89
 
22
- * **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
23
-
24
-
25
-
26
-
90
+ - **nextjs:** upgraded to nextjs 12
91
+ ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
27
92
 
28
93
  ## [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
94
 
30
-
31
95
  ### Bug Fixes
32
96
 
33
- * braintree typescript warning ([8bb6a8a](https://github.com/ho-nl/m2-pwa/commit/8bb6a8a7bdd4d90cb1486d88263971143a571fa1))
34
-
35
-
36
-
37
-
97
+ - braintree typescript warning
98
+ ([8bb6a8a](https://github.com/ho-nl/m2-pwa/commit/8bb6a8a7bdd4d90cb1486d88263971143a571fa1))
38
99
 
39
100
  ## [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
101
 
41
102
  **Note:** Version bump only for package @graphcommerce/magento-payment-braintree
42
103
 
43
-
44
-
45
-
46
-
47
104
  # 2.104.0 (2021-09-27)
48
105
 
49
-
50
106
  ### Bug Fixes
51
107
 
52
- * **braintree:** allow for proper initialization of braintree client libraries ([af87d1c](https://github.com/ho-nl/m2-pwa/commit/af87d1ccde1378127b9ef76b197d3946a9c7ca92))
53
- * ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
54
- * implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
55
- * paymentDone removed in favor of a more simple clearCart method ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
56
- * **playwright:** checkout button was renamed ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
57
- * rename NextButton to Button, change imports ([976adb0](https://github.com/ho-nl/m2-pwa/commit/976adb0bf906310d1efce888dcc9be1e28ce0f1b))
58
-
108
+ - **braintree:** allow for proper initialization of braintree client libraries
109
+ ([af87d1c](https://github.com/ho-nl/m2-pwa/commit/af87d1ccde1378127b9ef76b197d3946a9c7ca92))
110
+ - ignore md files from triggering version updates
111
+ ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
112
+ - implement next-ui barrel imports
113
+ ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
114
+ - paymentDone removed in favor of a more simple clearCart method
115
+ ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
116
+ - **playwright:** checkout button was renamed
117
+ ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
118
+ - rename NextButton to Button, change imports
119
+ ([976adb0](https://github.com/ho-nl/m2-pwa/commit/976adb0bf906310d1efce888dcc9be1e28ce0f1b))
59
120
 
60
121
  ### Features
61
122
 
62
- * ability to place order after the payment has completed ([8fd479a](https://github.com/ho-nl/m2-pwa/commit/8fd479aded46ec1ba61b5dc42eccf4aaedff6c0c))
63
- * added braintree libraries for checkout process ([970ae9a](https://github.com/ho-nl/m2-pwa/commit/970ae9a03510e6e6851ffb81758ab71daedc7096))
64
- * added PaymentModule API and persistent selection of form fields ([b67f735](https://github.com/ho-nl/m2-pwa/commit/b67f7358f62edd56a8232d625ecee56af350bfb8))
65
- * **braintree:** very basic implementation of credit card ([bb24f7e](https://github.com/ho-nl/m2-pwa/commit/bb24f7ec0577d018f0aff9b50de14f219e7504c5))
66
- * checkout/payment page added to checkout ([7e54cd6](https://github.com/ho-nl/m2-pwa/commit/7e54cd68685543ded27b285f15f6d9729b969a02))
67
- * created stacked-pages package ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
68
- * **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
69
- * **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
70
- * implemented checkmo payment method ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
71
- * next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
72
- * **payments:** make PaymentMethodContext injectable ([68c664a](https://github.com/ho-nl/m2-pwa/commit/68c664adb7eb6eb86d7a819213deb87152392347))
73
- * **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
74
- * renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
75
- * upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
76
- * upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
77
- * working on payment implementation contract ([bc3a41a](https://github.com/ho-nl/m2-pwa/commit/bc3a41a3de25c197bd65bdb68640c82f83c4698a))
78
-
123
+ - ability to place order after the payment has completed
124
+ ([8fd479a](https://github.com/ho-nl/m2-pwa/commit/8fd479aded46ec1ba61b5dc42eccf4aaedff6c0c))
125
+ - added braintree libraries for checkout process
126
+ ([970ae9a](https://github.com/ho-nl/m2-pwa/commit/970ae9a03510e6e6851ffb81758ab71daedc7096))
127
+ - added PaymentModule API and persistent selection of form fields
128
+ ([b67f735](https://github.com/ho-nl/m2-pwa/commit/b67f7358f62edd56a8232d625ecee56af350bfb8))
129
+ - **braintree:** very basic implementation of credit card
130
+ ([bb24f7e](https://github.com/ho-nl/m2-pwa/commit/bb24f7ec0577d018f0aff9b50de14f219e7504c5))
131
+ - checkout/payment page added to checkout
132
+ ([7e54cd6](https://github.com/ho-nl/m2-pwa/commit/7e54cd68685543ded27b285f15f6d9729b969a02))
133
+ - created stacked-pages package
134
+ ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
135
+ - **graphql:** introduced new graphql package that holds all generated files
136
+ ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
137
+ - **image:** introduced completely rewritten Image component
138
+ ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
139
+ - implemented checkmo payment method
140
+ ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
141
+ - next.js 11
142
+ ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
143
+ - **payments:** make PaymentMethodContext injectable
144
+ ([68c664a](https://github.com/ho-nl/m2-pwa/commit/68c664adb7eb6eb86d7a819213deb87152392347))
145
+ - **playwright:** added new playwright package to enable browser testing
146
+ ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
147
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
148
+ [@reachdigital](https://github.com/reachdigital)
149
+ ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
150
+ - upgrade to node 14
151
+ ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
152
+ - upgraded to nextjs 11
153
+ ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
154
+ - working on payment implementation contract
155
+ ([bc3a41a](https://github.com/ho-nl/m2-pwa/commit/bc3a41a3de25c197bd65bdb68640c82f83c4698a))
79
156
 
80
157
  ### Reverts
81
158
 
82
- * Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
83
-
84
-
85
-
86
-
159
+ - Revert "chore: upgrade @apollo/client"
160
+ ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
87
161
 
88
162
  # Change Log
89
163
 
@@ -1,4 +1,4 @@
1
- import { ApolloClient, useApolloClient } from '@apollo/client'
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
- "version": "2.106.48",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "3.0.2",
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,32 @@
13
12
  }
14
13
  },
15
14
  "devDependencies": {
16
- "@graphcommerce/browserslist-config-pwa": "^3.0.3",
17
- "@graphcommerce/eslint-config-pwa": "^3.1.10",
18
- "@graphcommerce/magento-cart-shipping-address": "^2.106.47",
19
- "@graphcommerce/magento-product": "^3.8.13",
20
- "@graphcommerce/magento-product-configurable": "^3.6.43",
21
- "@graphcommerce/prettier-config-pwa": "^3.0.5",
22
- "@graphcommerce/typescript-config-pwa": "^3.1.2",
23
- "@playwright/test": "^1.17.1",
24
- "@types/braintree-web": "^3.75.13"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.2",
16
+ "@graphcommerce/magento-cart-shipping-address": "^3.0.2",
17
+ "@graphcommerce/magento-product": "^4.0.2",
18
+ "@graphcommerce/magento-product-configurable": "^4.0.2",
19
+ "@graphcommerce/prettier-config-pwa": "^4.0.1",
20
+ "@graphcommerce/typescript-config-pwa": "^4.0.1",
21
+ "@playwright/test": "^1.19.1",
22
+ "@types/braintree-web": "^3.75.17"
25
23
  },
26
24
  "dependencies": {
27
- "@apollo/client": "^3.5.6",
28
- "@graphcommerce/graphql": "^2.105.13",
29
- "@graphcommerce/image": "^2.105.13",
30
- "@graphcommerce/magento-cart": "^3.10.3",
31
- "@graphcommerce/magento-cart-payment-method": "^2.111.47",
32
- "@graphcommerce/magento-store": "^3.4.12",
33
- "@graphcommerce/next-ui": "^3.25.3",
34
- "@graphcommerce/react-hook-form": "^2.104.7",
35
- "@lingui/macro": "^3.13.0",
36
- "@material-ui/core": "^4.12.3",
37
- "@material-ui/lab": "^4.0.0-alpha.60",
38
- "braintree-web": "^3.84.0",
39
- "clsx": "^1.1.1",
40
- "framer-motion": "^5.5.5",
41
- "next": "^12.0.7",
42
- "react": "^17.0.2",
43
- "react-dom": "^17.0.2",
44
- "type-fest": "^2.8.0"
25
+ "@graphcommerce/graphql": "^3.0.2",
26
+ "@graphcommerce/image": "^3.0.2",
27
+ "@graphcommerce/magento-cart": "^4.1.1",
28
+ "@graphcommerce/magento-cart-payment-method": "^3.0.2",
29
+ "@graphcommerce/magento-store": "^4.0.2",
30
+ "@graphcommerce/next-ui": "^4.1.1",
31
+ "@graphcommerce/react-hook-form": "^3.0.2",
32
+ "braintree-web": "^3.85.2",
33
+ "type-fest": "^2.11.2"
45
34
  },
46
- "gitHead": "41e42c8cd6f565ab0cbba81a1954a0041dc46768"
35
+ "peerDependencies": {
36
+ "@lingui/macro": "^3.13.2",
37
+ "@mui/material": "^5.4.1",
38
+ "framer-motion": "^6.2.4",
39
+ "next": "^12.0.10",
40
+ "react": "^17.0.2",
41
+ "react-dom": "^17.0.2"
42
+ }
47
43
  }