@graphcommerce/magento-payment-braintree 2.106.48 → 3.0.0

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