@graphcommerce/magento-payment-included 3.0.5 → 3.0.8

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,5 +1,42 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @graphcommerce/magento-cart@4.2.5
9
+ - @graphcommerce/magento-cart-payment-method@3.1.1
10
+
11
+ ## 3.0.7
12
+
13
+ ### Patch Changes
14
+
15
+ - [#1379](https://github.com/graphcommerce-org/graphcommerce/pull/1379) [`b8d04130a`](https://github.com/graphcommerce-org/graphcommerce/commit/b8d04130a1b1cb8fc85308939235140288744465) Thanks [@paales](https://github.com/paales)! - Removed unused trigger: onChange for useForm handler
16
+
17
+ - Updated dependencies [[`3c801f45c`](https://github.com/graphcommerce-org/graphcommerce/commit/3c801f45c7df55131acf30ae2fe0d2344830d480), [`b8d04130a`](https://github.com/graphcommerce-org/graphcommerce/commit/b8d04130a1b1cb8fc85308939235140288744465), [`3192fab82`](https://github.com/graphcommerce-org/graphcommerce/commit/3192fab82560e2211dfcacadc3b0b305260527d8), [`104abd14e`](https://github.com/graphcommerce-org/graphcommerce/commit/104abd14e1585ef0d8de77937d25156b8fa1e201), [`0e425e85e`](https://github.com/graphcommerce-org/graphcommerce/commit/0e425e85ee8fed280349317ee0440c7bceea5823), [`2a125b1f9`](https://github.com/graphcommerce-org/graphcommerce/commit/2a125b1f98bb9272d96c3577f21d6c984caad892), [`8a354d1cd`](https://github.com/graphcommerce-org/graphcommerce/commit/8a354d1cd4757497ddfc9b1969a0addbc8ff616b), [`6ebe9d12d`](https://github.com/graphcommerce-org/graphcommerce/commit/6ebe9d12db9fcaa2af67a475e64a08d63e232b46)]:
18
+ - @graphcommerce/next-ui@4.6.0
19
+ - @graphcommerce/magento-cart@4.2.4
20
+ - @graphcommerce/magento-cart-payment-method@3.1.0
21
+ - @graphcommerce/react-hook-form@3.1.0
22
+ - @graphcommerce/image@3.1.4
23
+ - @graphcommerce/magento-store@4.1.6
24
+
25
+ ## 3.0.6
26
+
27
+ ### Patch Changes
28
+
29
+ - [#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
30
+
31
+ - Updated dependencies [[`b610a6e40`](https://github.com/graphcommerce-org/graphcommerce/commit/b610a6e4049e8c9e8b5d2aeff31b8e1bfc24abe5), [`22ff9df16`](https://github.com/graphcommerce-org/graphcommerce/commit/22ff9df1677742ae8e07d9b7e5b12fbb487580dc)]:
32
+ - @graphcommerce/graphql@3.0.7
33
+ - @graphcommerce/image@3.1.3
34
+ - @graphcommerce/magento-cart@4.2.3
35
+ - @graphcommerce/magento-cart-payment-method@3.0.7
36
+ - @graphcommerce/magento-store@4.1.5
37
+ - @graphcommerce/next-ui@4.5.1
38
+ - @graphcommerce/react-hook-form@3.0.7
39
+
3
40
  ## 3.0.5
4
41
 
5
42
  ### Patch Changes
@@ -11,7 +11,6 @@ export function PurchaseOrderOptions(props: PaymentOptionsProps) {
11
11
  const poNumber = selected?.purchase_order_number ?? undefined
12
12
 
13
13
  const form = useFormGqlMutationCart(PurchaseOrderOptionsDocument, {
14
- mode: 'onChange',
15
14
  defaultValues: { code, poNumber },
16
15
  })
17
16
  const { handleSubmit, muiRegister, formState, required } = form
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.5",
5
+ "version": "3.0.8",
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.1.3",
16
- "@graphcommerce/magento-cart-shipping-address": "^3.0.5",
17
- "@graphcommerce/magento-product": "^4.1.3",
18
- "@graphcommerce/magento-product-configurable": "^4.0.7",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.4",
16
+ "@graphcommerce/magento-cart-shipping-address": "3.0.8",
17
+ "@graphcommerce/magento-product": "4.1.6",
18
+ "@graphcommerce/magento-product-configurable": "4.0.10",
19
19
  "@graphcommerce/prettier-config-pwa": "^4.0.5",
20
20
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
21
21
  "@playwright/test": "^1.20.1",
22
22
  "type-fest": "2.12.1"
23
23
  },
24
24
  "dependencies": {
25
- "@graphcommerce/graphql": "^3.0.6",
26
- "@graphcommerce/image": "^3.1.2",
27
- "@graphcommerce/magento-cart": "^4.2.2",
28
- "@graphcommerce/magento-cart-payment-method": "^3.0.6",
29
- "@graphcommerce/magento-store": "^4.1.4",
30
- "@graphcommerce/next-ui": "^4.5.0",
31
- "@graphcommerce/react-hook-form": "^3.0.6"
25
+ "@graphcommerce/graphql": "3.0.7",
26
+ "@graphcommerce/image": "3.1.4",
27
+ "@graphcommerce/magento-cart": "4.2.5",
28
+ "@graphcommerce/magento-cart-payment-method": "3.1.1",
29
+ "@graphcommerce/magento-store": "4.1.6",
30
+ "@graphcommerce/next-ui": "4.6.0",
31
+ "@graphcommerce/react-hook-form": "3.1.0"
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
  }
@@ -19,5 +19,5 @@ test('banktransfer', async ({ page, productURL, apolloClient }) => {
19
19
  expect((await waitForPlaceOrder).errors).toBeUndefined()
20
20
  expect((await waitForPlaceOrder).data?.placeOrder?.order.order_number).toBeDefined()
21
21
 
22
- expect(await page.locator('text=Back to home').innerText()).toBeDefined()
22
+ expect(await page.locator('#back-to-home').innerText()).toBeDefined()
23
23
  })
@@ -22,5 +22,5 @@ test('place order', async ({ page, productURL, apolloClient }) => {
22
22
  expect((await waitForPlaceOrder).errors).toBeUndefined()
23
23
  expect((await waitForPlaceOrder).data?.placeOrder?.order.order_number).toBeDefined()
24
24
 
25
- expect(await page.locator('text=Back to home').innerText()).toBeDefined()
25
+ expect(await page.locator('#back-to-home').innerText()).toBeDefined()
26
26
  })