@graphcommerce/mollie-magento-payment 3.5.0 → 3.5.3

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,35 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`396b5de5d`](https://github.com/graphcommerce-org/graphcommerce/commit/396b5de5d50c7b8f59bf636807e7a4b50f14e0b2)]:
8
+ - @graphcommerce/graphql@3.4.8
9
+ - @graphcommerce/magento-cart@4.7.3
10
+ - @graphcommerce/magento-cart-payment-method@3.5.3
11
+ - @graphcommerce/magento-store@4.2.31
12
+
13
+ ## 3.5.2
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`755d2cf83`](https://github.com/graphcommerce-org/graphcommerce/commit/755d2cf83343a5ad3d61063eff595d821de360aa), [`dc7f2dda4`](https://github.com/graphcommerce-org/graphcommerce/commit/dc7f2dda40ff8572fc11161de6eb62ca13e720dd)]:
18
+ - @graphcommerce/next-ui@4.23.0
19
+ - @graphcommerce/magento-cart@4.7.2
20
+ - @graphcommerce/magento-cart-payment-method@3.5.2
21
+ - @graphcommerce/magento-store@4.2.30
22
+
23
+ ## 3.5.1
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [[`448c77681`](https://github.com/graphcommerce-org/graphcommerce/commit/448c77681f9a7794e84ec93139d7e0f16afafbd9)]:
28
+ - @graphcommerce/graphql-mesh@4.1.9
29
+ - @graphcommerce/magento-store@4.2.29
30
+ - @graphcommerce/magento-cart@4.7.1
31
+ - @graphcommerce/magento-cart-payment-method@3.5.1
32
+
3
33
  ## 3.5.0
4
34
 
5
35
  ### Minor Changes
@@ -2,15 +2,14 @@ import { useFormGqlMutationCart } from '@graphcommerce/magento-cart'
2
2
  import { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
3
3
  import { FormRow, InputCheckmark } from '@graphcommerce/next-ui'
4
4
  import { useFormCompose, useFormPersist, useFormValidFields } from '@graphcommerce/react-hook-form'
5
- import { Trans } from '@lingui/react'
6
- import { TextField, Typography } from '@mui/material'
5
+ import { TextField } from '@mui/material'
7
6
  import { SetMolliePaymentMethodIssuerOnCartDocument } from './SetMolliePaymentMethodIssuerOnCart.gql'
8
7
 
9
8
  type MollieIssuerOptionsProps = PaymentOptionsProps & { label: string; children?: React.ReactNode }
10
9
 
11
10
  export function MollieIssuerOptions(props: MollieIssuerOptionsProps) {
12
11
  const { mollie_available_issuers = [], children } = props
13
- const { code, step, Container, label, title = '' } = props
12
+ const { code, step, label } = props
14
13
 
15
14
  const form = useFormGqlMutationCart(SetMolliePaymentMethodIssuerOnCartDocument, {
16
15
  defaultValues: { code },
@@ -4,17 +4,16 @@ import { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
4
4
  import { StoreConfigDocument } from '@graphcommerce/magento-store'
5
5
  import { FormRow } from '@graphcommerce/next-ui'
6
6
  import { useFormCompose } from '@graphcommerce/react-hook-form'
7
- import { Trans } from '@lingui/react'
8
- import { Typography, Alert } from '@mui/material'
7
+ import { Alert } from '@mui/material'
9
8
  import Script from 'next/script'
10
- import React, { useEffect, useState } from 'react'
9
+ import { useEffect, useState } from 'react'
11
10
  import { Mollie } from '../../Mollie'
12
11
  import { MollieField } from './MollieField'
13
12
  import { SetMolliePaymentMethodTokenOnCartDocument } from './SetMolliePaymentMethodTokenOnCart.gql'
14
13
  import { mollieContext, MollieContext } from './mollieContext'
15
14
 
16
15
  export function MollieCreditCardOptions(props: PaymentOptionsProps) {
17
- const { code, step, Container, title = '' } = props
16
+ const { code, step, Container } = props
18
17
  const [loaded, setLoaded] = useState<boolean>(false)
19
18
  const [mollie, setMollie] = useState<MollieContext>(undefined)
20
19
  const conf = useQuery(StoreConfigDocument)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/mollie-magento-payment",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.5.0",
5
+ "version": "3.5.3",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -13,22 +13,22 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@graphcommerce/eslint-config-pwa": "^4.1.10",
16
- "@graphcommerce/magento-cart-shipping-address": "3.4.0",
17
- "@graphcommerce/magento-product": "4.5.0",
18
- "@graphcommerce/magento-product-configurable": "4.2.0",
16
+ "@graphcommerce/magento-cart-shipping-address": "3.4.3",
17
+ "@graphcommerce/magento-product": "4.5.3",
18
+ "@graphcommerce/magento-product-configurable": "4.2.4",
19
19
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
20
20
  "@graphcommerce/typescript-config-pwa": "^4.0.4",
21
21
  "@playwright/test": "^1.21.1",
22
22
  "type-fest": "^2.12.2"
23
23
  },
24
24
  "dependencies": {
25
- "@graphcommerce/graphql": "3.4.7",
26
- "@graphcommerce/graphql-mesh": "4.1.8",
25
+ "@graphcommerce/graphql": "3.4.8",
26
+ "@graphcommerce/graphql-mesh": "4.1.9",
27
27
  "@graphcommerce/image": "3.1.9",
28
- "@graphcommerce/magento-cart": "4.7.0",
29
- "@graphcommerce/magento-cart-payment-method": "3.5.0",
30
- "@graphcommerce/magento-store": "4.2.28",
31
- "@graphcommerce/next-ui": "4.22.0",
28
+ "@graphcommerce/magento-cart": "4.7.3",
29
+ "@graphcommerce/magento-cart-payment-method": "3.5.3",
30
+ "@graphcommerce/magento-store": "4.2.31",
31
+ "@graphcommerce/next-ui": "4.23.0",
32
32
  "@graphcommerce/react-hook-form": "3.3.2"
33
33
  },
34
34
  "peerDependencies": {