@graphcommerce/magento-payment-included 3.0.3 → 3.0.6

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,21 +1,61 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1378](https://github.com/graphcommerce-org/graphcommerce/pull/1378) [`b610a6e40`](https://github.com/graphcommerce-org/graphcommerce/commit/b610a6e4049e8c9e8b5d2aeff31b8e1bfc24abe5) Thanks [@paales](https://github.com/paales)! - Pin all versions internally so we can’t end up in an unfixable state for the user
8
+
9
+ - Updated dependencies [[`b610a6e40`](https://github.com/graphcommerce-org/graphcommerce/commit/b610a6e4049e8c9e8b5d2aeff31b8e1bfc24abe5), [`22ff9df16`](https://github.com/graphcommerce-org/graphcommerce/commit/22ff9df1677742ae8e07d9b7e5b12fbb487580dc)]:
10
+ - @graphcommerce/graphql@3.0.7
11
+ - @graphcommerce/image@3.1.3
12
+ - @graphcommerce/magento-cart@4.2.3
13
+ - @graphcommerce/magento-cart-payment-method@3.0.7
14
+ - @graphcommerce/magento-store@4.1.5
15
+ - @graphcommerce/next-ui@4.5.1
16
+ - @graphcommerce/react-hook-form@3.0.7
17
+
18
+ ## 3.0.5
19
+
20
+ ### Patch Changes
21
+
22
+ - [#1369](https://github.com/graphcommerce-org/graphcommerce/pull/1369) [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9) Thanks [@paales](https://github.com/paales)! - Upgraded dependencies
23
+
24
+ - Updated dependencies [[`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a)]:
25
+ - @graphcommerce/graphql@3.0.6
26
+ - @graphcommerce/next-ui@4.5.0
27
+ - @graphcommerce/image@3.1.2
28
+ - @graphcommerce/magento-cart@4.2.2
29
+ - @graphcommerce/magento-cart-payment-method@3.0.6
30
+ - @graphcommerce/magento-store@4.1.4
31
+ - @graphcommerce/react-hook-form@3.0.6
32
+
33
+ ## 3.0.4
34
+
35
+ ### Patch Changes
36
+
37
+ - [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
38
+
39
+ * [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
40
+
41
+ * Updated dependencies [[`3d63b39f7`](https://github.com/ho-nl/m2-pwa/commit/3d63b39f7e330d1827a32dba782667d7b21adaba), [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
42
+ - @graphcommerce/next-ui@4.2.4
43
+ - @graphcommerce/graphql@3.0.4
44
+ - @graphcommerce/image@3.1.1
45
+ - @graphcommerce/magento-cart@4.1.4
46
+ - @graphcommerce/magento-cart-payment-method@3.0.5
47
+ - @graphcommerce/magento-store@4.1.2
48
+ - @graphcommerce/react-hook-form@3.0.4
49
+
3
50
  ## 3.0.3
4
51
 
5
52
  ### Patch Changes
6
53
 
7
- - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
8
- Thanks [@paales](https://github.com/paales)! - made packages public
54
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
9
55
 
10
- * [#1278](https://github.com/ho-nl/m2-pwa/pull/1278)
11
- [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20)
12
- Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
56
+ * [#1278](https://github.com/ho-nl/m2-pwa/pull/1278) [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
13
57
 
14
- * Updated dependencies
15
- [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
16
- [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
17
- [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
18
- [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
58
+ * Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96), [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20), [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d), [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
19
59
  - @graphcommerce/graphql@3.0.3
20
60
  - @graphcommerce/image@3.1.0
21
61
  - @graphcommerce/magento-cart@4.1.2
@@ -28,30 +68,13 @@
28
68
 
29
69
  ### Patch Changes
30
70
 
31
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
32
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
33
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
34
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
35
- duplicate packages in the node_modules folders.
36
-
37
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
38
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
39
- Thanks [@paales](https://github.com/paales)! - Upgraded to
40
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
41
- implementing
42
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
43
- soon.
44
-
45
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
46
- frontend to be able to revalidate pages manually.
47
-
48
- * Updated dependencies
49
- [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
50
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
51
- [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
52
- [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
53
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
54
- [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
71
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
72
+
73
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
74
+
75
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
76
+
77
+ * Updated dependencies [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7), [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b), [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275), [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d), [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
55
78
  - @graphcommerce/magento-cart@4.1.1
56
79
  - @graphcommerce/magento-cart-payment-method@3.0.2
57
80
  - @graphcommerce/next-ui@4.1.1
@@ -64,11 +87,8 @@
64
87
 
65
88
  ### Patch Changes
66
89
 
67
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
68
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
69
- so that the packages link to back to the website and repository
70
- - Updated dependencies
71
- [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
90
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514) Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files, so that the packages link to back to the website and repository
91
+ - Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
72
92
  - @graphcommerce/graphql@3.0.1
73
93
  - @graphcommerce/image@3.0.1
74
94
  - @graphcommerce/magento-cart@4.0.1
@@ -81,14 +101,11 @@
81
101
 
82
102
  ### Major Changes
83
103
 
84
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
85
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
86
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
104
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258) [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05) Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
87
105
 
88
106
  ### Patch Changes
89
107
 
90
- - Updated dependencies
91
- [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
108
+ - Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
92
109
  - @graphcommerce/graphql@3.0.0
93
110
  - @graphcommerce/image@3.0.0
94
111
  - @graphcommerce/magento-cart@4.0.0
@@ -97,22 +114,19 @@
97
114
  - @graphcommerce/next-ui@4.0.0
98
115
  - @graphcommerce/react-hook-form@3.0.0
99
116
 
100
- All notable changes to this project will be documented in this file. See
101
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
117
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
102
118
 
103
119
  # [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.104.32...@graphcommerce/magento-payment-included@2.105.0) (2021-11-12)
104
120
 
105
121
  ### Features
106
122
 
107
- - added tons of translations
108
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
123
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
109
124
 
110
125
  # [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.103.39...@graphcommerce/magento-payment-included@2.104.0) (2021-10-27)
111
126
 
112
127
  ### Features
113
128
 
114
- - **nextjs:** upgraded to nextjs 12
115
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
129
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
116
130
 
117
131
  ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.103.0...@graphcommerce/magento-payment-included@2.103.1) (2021-09-27)
118
132
 
@@ -122,95 +136,68 @@ All notable changes to this project will be documented in this file. See
122
136
 
123
137
  ### Bug Fixes
124
138
 
125
- - **checkout:** purchaseorder and other build in methods wouldnt properly submit
126
- ([331cb8e](https://github.com/ho-nl/m2-pwa/commit/331cb8e2bed58c14cd41fceeab03e2cdfbe7e6a9))
127
- - ignore md files from triggering version updates
128
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
129
- - implement next-ui barrel imports
130
- ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
131
- - paymentDone removed in favor of a more simple clearCart method
132
- ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
133
- - **playwright:** checkout button was renamed
134
- ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
139
+ - **checkout:** purchaseorder and other build in methods wouldnt properly submit ([331cb8e](https://github.com/ho-nl/m2-pwa/commit/331cb8e2bed58c14cd41fceeab03e2cdfbe7e6a9))
140
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
141
+ - implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
142
+ - paymentDone removed in favor of a more simple clearCart method ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
143
+ - **playwright:** checkout button was renamed ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
135
144
 
136
145
  ### Features
137
146
 
138
- - **graphql:** introduced new graphql package that holds all generated files
139
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
140
- - **image:** introduced completely rewritten Image component
141
- ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
142
- - implemented checkmo payment method
143
- ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
144
- - implemented purchase order
145
- ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
146
- - **mollie:** first version of mollie payment methods
147
- ([e2f7d78](https://github.com/ho-nl/m2-pwa/commit/e2f7d78e50a9afe928f1d8c478f946e03c63b0f2))
148
- - next.js 11
149
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
150
- - only show free payment method when zero subtotal quote
151
- ([fd3ba86](https://github.com/ho-nl/m2-pwa/commit/fd3ba86d3060ebe7dc72ce27fca21464b46b4392))
152
- - **playwright:** added new playwright package to enable browser testing
153
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
154
- - **react-hook-form:** added buttonState to ComposedSubmit
155
- ([57e77c2](https://github.com/ho-nl/m2-pwa/commit/57e77c29f17720f7f3ee3b63be82779c0e5d8714))
156
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
157
- [@reachdigital](https://github.com/reachdigital)
158
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
159
- - solve issue where the order couldn’t be submitted
160
- ([ec0d357](https://github.com/ho-nl/m2-pwa/commit/ec0d3579a1277976e2dc515f420996cf716f83a6))
161
- - upgraded to nextjs 11
162
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
163
- - useFormMutationCart and simpler imports
164
- ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
147
+ - **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
148
+ - **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
149
+ - implemented checkmo payment method ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
150
+ - implemented purchase order ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
151
+ - **mollie:** first version of mollie payment methods ([e2f7d78](https://github.com/ho-nl/m2-pwa/commit/e2f7d78e50a9afe928f1d8c478f946e03c63b0f2))
152
+ - next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
153
+ - only show free payment method when zero subtotal quote ([fd3ba86](https://github.com/ho-nl/m2-pwa/commit/fd3ba86d3060ebe7dc72ce27fca21464b46b4392))
154
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
155
+ - **react-hook-form:** added buttonState to ComposedSubmit ([57e77c2](https://github.com/ho-nl/m2-pwa/commit/57e77c29f17720f7f3ee3b63be82779c0e5d8714))
156
+ - 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))
157
+ - solve issue where the order couldn’t be submitted ([ec0d357](https://github.com/ho-nl/m2-pwa/commit/ec0d3579a1277976e2dc515f420996cf716f83a6))
158
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
159
+ - useFormMutationCart and simpler imports ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
165
160
 
166
161
  ### Reverts
167
162
 
168
- - Revert "chore: upgrade @apollo/client"
169
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
163
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
170
164
 
171
165
  # Change Log
172
166
 
173
- All notable changes to this project will be documented in this file. See
174
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
167
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
175
168
 
176
169
  ## [2.102.7](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.102.6...@graphcommerce/magento-payment-included@2.102.7) (2021-08-17)
177
170
 
178
171
  ### Bug Fixes
179
172
 
180
- - **playwright:** checkout button was renamed
181
- ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
173
+ - **playwright:** checkout button was renamed ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
182
174
 
183
175
  # [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.101.10...@graphcommerce/magento-payment-included@2.102.0) (2021-08-12)
184
176
 
185
177
  ### Features
186
178
 
187
- - upgraded to nextjs 11
188
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
179
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
189
180
 
190
181
  ## [2.101.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.101.8...@graphcommerce/magento-payment-included@2.101.9) (2021-08-09)
191
182
 
192
183
  ### Reverts
193
184
 
194
- - Revert "chore: upgrade @apollo/client"
195
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
185
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
196
186
 
197
187
  ## [2.101.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.101.2...@graphcommerce/magento-payment-included@2.101.3) (2021-07-29)
198
188
 
199
189
  ### Bug Fixes
200
190
 
201
- - paymentDone removed in favor of a more simple clearCart method
202
- ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
191
+ - paymentDone removed in favor of a more simple clearCart method ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
203
192
 
204
193
  # [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.100.19...@graphcommerce/magento-payment-included@2.101.0) (2021-07-26)
205
194
 
206
195
  ### Features
207
196
 
208
- - **playwright:** added new playwright package to enable browser testing
209
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
197
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
210
198
 
211
199
  ## [2.100.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.100.10...@graphcommerce/magento-payment-included@2.100.11) (2021-07-20)
212
200
 
213
201
  ### Bug Fixes
214
202
 
215
- - ignore md files from triggering version updates
216
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
203
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
@@ -4,10 +4,9 @@ import { FormRow, InputCheckmark } from '@graphcommerce/next-ui'
4
4
  import { useFormCompose, useFormValidFields } from '@graphcommerce/react-hook-form'
5
5
  import { Trans } from '@lingui/macro'
6
6
  import { TextField, Typography } from '@mui/material'
7
- import React from 'react'
8
7
  import { PurchaseOrderOptionsDocument } from './PurchaseOrderOptions.gql'
9
8
 
10
- function PurchaseOrderOptions(props: PaymentOptionsProps) {
9
+ export function PurchaseOrderOptions(props: PaymentOptionsProps) {
11
10
  const { code, step, selected, Container, title = '' } = props
12
11
  const poNumber = selected?.purchase_order_number ?? undefined
13
12
 
@@ -45,5 +44,3 @@ function PurchaseOrderOptions(props: PaymentOptionsProps) {
45
44
  </Container>
46
45
  )
47
46
  }
48
-
49
- export default PurchaseOrderOptions
@@ -2,7 +2,7 @@ import {
2
2
  PaymentModule,
3
3
  PaymentMethodPlaceOrderNoop,
4
4
  } from '@graphcommerce/magento-cart-payment-method'
5
- import PurchaseOrderOptions from './PurchaseOrderOptions'
5
+ import { PurchaseOrderOptions } from './PurchaseOrderOptions'
6
6
 
7
7
  export const purchaseorder: PaymentModule = {
8
8
  PaymentOptions: PurchaseOrderOptions,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-payment-included",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.3",
5
+ "version": "3.0.6",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,29 +12,29 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.3",
16
- "@graphcommerce/magento-cart-shipping-address": "^3.0.3",
17
- "@graphcommerce/magento-product": "^4.0.3",
18
- "@graphcommerce/magento-product-configurable": "^4.0.3",
19
- "@graphcommerce/prettier-config-pwa": "^4.0.2",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.4",
16
+ "@graphcommerce/magento-cart-shipping-address": "3.0.6",
17
+ "@graphcommerce/magento-product": "4.1.4",
18
+ "@graphcommerce/magento-product-configurable": "4.0.8",
19
+ "@graphcommerce/prettier-config-pwa": "^4.0.5",
20
20
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
21
- "@playwright/test": "^1.19.1"
21
+ "@playwright/test": "^1.20.1",
22
+ "type-fest": "2.12.1"
22
23
  },
23
24
  "dependencies": {
24
- "@graphcommerce/graphql": "^3.0.3",
25
- "@graphcommerce/image": "^3.1.0",
26
- "@graphcommerce/magento-cart": "^4.1.2",
27
- "@graphcommerce/magento-cart-payment-method": "^3.0.3",
28
- "@graphcommerce/magento-store": "^4.0.3",
29
- "@graphcommerce/next-ui": "^4.1.2",
30
- "@graphcommerce/react-hook-form": "^3.0.3",
31
- "type-fest": "^2.12.0"
25
+ "@graphcommerce/graphql": "3.0.7",
26
+ "@graphcommerce/image": "3.1.3",
27
+ "@graphcommerce/magento-cart": "4.2.3",
28
+ "@graphcommerce/magento-cart-payment-method": "3.0.7",
29
+ "@graphcommerce/magento-store": "4.1.5",
30
+ "@graphcommerce/next-ui": "4.5.1",
31
+ "@graphcommerce/react-hook-form": "3.0.7"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@lingui/macro": "^3.13.2",
35
- "@mui/material": "^5.4.1",
35
+ "@mui/material": "5.5.3",
36
36
  "framer-motion": "^6.2.4",
37
- "next": "^12.0.10",
37
+ "next": "12.1.2",
38
38
  "react": "^17.0.2",
39
39
  "react-dom": "^17.0.2"
40
40
  }
@@ -0,0 +1,23 @@
1
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
+ import { waitForGraphQlResponse } from '@graphcommerce/graphql/test/apolloClient.fixture'
3
+ import { PaymentMethodPlaceOrderNoopDocument } from '@graphcommerce/magento-cart-payment-method/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.gql'
4
+ import { goToPayment } from '@graphcommerce/magento-cart-payment-method/test/goToPayment'
5
+ import { addConfigurableProductToCart } from '@graphcommerce/magento-product-configurable/test/addConfigurableProductToCart'
6
+ import { test } from '@graphcommerce/magento-product/test/productURL.fixture'
7
+ import { expect } from '@playwright/test'
8
+
9
+ test('banktransfer', async ({ page, productURL, apolloClient }) => {
10
+ await addConfigurableProductToCart(page, productURL.ConfigurableProduct)
11
+ await goToPayment(page, apolloClient)
12
+
13
+ await page.click('button[value=banktransfer]')
14
+
15
+ const waitForPlaceOrder = waitForGraphQlResponse(page, PaymentMethodPlaceOrderNoopDocument)
16
+
17
+ await Promise.all([page.waitForNavigation(), page.click('#place-order')])
18
+
19
+ expect((await waitForPlaceOrder).errors).toBeUndefined()
20
+ expect((await waitForPlaceOrder).data?.placeOrder?.order.order_number).toBeDefined()
21
+
22
+ expect(await page.locator('text=Back to home').innerText()).toBeDefined()
23
+ })
@@ -0,0 +1,26 @@
1
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
+ import { waitForGraphQlResponse } from '@graphcommerce/graphql/test/apolloClient.fixture'
3
+ import { PaymentMethodPlaceOrderNoopDocument } from '@graphcommerce/magento-cart-payment-method/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.gql'
4
+ import { goToPayment } from '@graphcommerce/magento-cart-payment-method/test/goToPayment'
5
+ import { addConfigurableProductToCart } from '@graphcommerce/magento-product-configurable/test/addConfigurableProductToCart'
6
+ import { test } from '@graphcommerce/magento-product/test/productURL.fixture'
7
+ import { expect } from '@playwright/test'
8
+
9
+ test('place order', async ({ page, productURL, apolloClient }) => {
10
+ await addConfigurableProductToCart(page, productURL.ConfigurableProduct)
11
+ await goToPayment(page, apolloClient)
12
+
13
+ await page.click('button[value=purchaseorder]')
14
+
15
+ await page.click('input[name="poNumber"]')
16
+ await page.fill('input[name="poNumber"]', '1234567890')
17
+
18
+ const waitForPlaceOrder = waitForGraphQlResponse(page, PaymentMethodPlaceOrderNoopDocument)
19
+
20
+ await Promise.all([page.waitForNavigation(), page.click('#place-order')])
21
+
22
+ expect((await waitForPlaceOrder).errors).toBeUndefined()
23
+ expect((await waitForPlaceOrder).data?.placeOrder?.order.order_number).toBeDefined()
24
+
25
+ expect(await page.locator('text=Back to home').innerText()).toBeDefined()
26
+ })
@@ -1,39 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
- import { waitForGraphQlResponse } from '@graphcommerce/graphql/_playwright/apolloClient.fixture'
3
- import { PaymentMethodPlaceOrderNoopDocument } from '@graphcommerce/magento-cart-payment-method/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.gql'
4
- import { fillShippingAddressForm } from '@graphcommerce/magento-cart-shipping-address/_playwright/fillShippingAddressForm'
5
- import { addConfigurableProductToCart } from '@graphcommerce/magento-product-configurable/_playwright/addConfigurableProductToCart'
6
- import { test } from '@graphcommerce/magento-product/_playwright/productURL.fixture'
7
- import { expect } from '@playwright/test'
8
-
9
- test('place order', async ({ page, productURL }) => {
10
- await addConfigurableProductToCart(page, productURL.ConfigurableProduct)
11
-
12
- await page.click('a:has-text("View shopping cart")')
13
-
14
- await page.click('a[href="/checkout"]:last-of-type')
15
-
16
- await page.click('input[name="email"]')
17
- await page.fill('input[name="email"]', 'test@test.com')
18
-
19
- await fillShippingAddressForm(page)
20
-
21
- await page.click('button[value=flatrate-flatrate]')
22
- await page.click('button:has-text("Next")')
23
-
24
- await page.click('button[value=purchaseorder___]')
25
-
26
- await page.click('input[name="poNumber"]')
27
- await page.fill('input[name="poNumber"]', '1234567890')
28
-
29
- const [, , placeOrder] = await Promise.all([
30
- page.waitForNavigation(),
31
- page.click('button[name="placeOrder"]'),
32
- waitForGraphQlResponse(page, PaymentMethodPlaceOrderNoopDocument),
33
- ])
34
-
35
- expect(placeOrder.errors).toBeUndefined()
36
- expect(placeOrder.data?.placeOrder?.order.order_number).toBeDefined()
37
-
38
- expect(await page.$('h2:has-text("Thank you for your order!")')).toBeDefined()
39
- })