@graphcommerce/mollie-magento-payment 3.5.1 → 3.5.4
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.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`9b84a68a1`](https://github.com/graphcommerce-org/graphcommerce/commit/9b84a68a1e7311a79eb687c7dcee905d3000facf)]:
|
|
8
|
+
- @graphcommerce/next-ui@4.23.1
|
|
9
|
+
- @graphcommerce/magento-cart@4.7.4
|
|
10
|
+
- @graphcommerce/magento-cart-payment-method@3.5.4
|
|
11
|
+
- @graphcommerce/magento-store@4.2.32
|
|
12
|
+
|
|
13
|
+
## 3.5.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`396b5de5d`](https://github.com/graphcommerce-org/graphcommerce/commit/396b5de5d50c7b8f59bf636807e7a4b50f14e0b2)]:
|
|
18
|
+
- @graphcommerce/graphql@3.4.8
|
|
19
|
+
- @graphcommerce/magento-cart@4.7.3
|
|
20
|
+
- @graphcommerce/magento-cart-payment-method@3.5.3
|
|
21
|
+
- @graphcommerce/magento-store@4.2.31
|
|
22
|
+
|
|
23
|
+
## 3.5.2
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [[`755d2cf83`](https://github.com/graphcommerce-org/graphcommerce/commit/755d2cf83343a5ad3d61063eff595d821de360aa), [`dc7f2dda4`](https://github.com/graphcommerce-org/graphcommerce/commit/dc7f2dda40ff8572fc11161de6eb62ca13e720dd)]:
|
|
28
|
+
- @graphcommerce/next-ui@4.23.0
|
|
29
|
+
- @graphcommerce/magento-cart@4.7.2
|
|
30
|
+
- @graphcommerce/magento-cart-payment-method@3.5.2
|
|
31
|
+
- @graphcommerce/magento-store@4.2.30
|
|
32
|
+
|
|
3
33
|
## 3.5.1
|
|
4
34
|
|
|
5
35
|
### Patch 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 {
|
|
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,
|
|
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 {
|
|
8
|
-
import { Typography, Alert } from '@mui/material'
|
|
7
|
+
import { Alert } from '@mui/material'
|
|
9
8
|
import Script from 'next/script'
|
|
10
|
-
import
|
|
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
|
|
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.
|
|
5
|
+
"version": "3.5.4",
|
|
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.
|
|
17
|
-
"@graphcommerce/magento-product": "4.5.
|
|
18
|
-
"@graphcommerce/magento-product-configurable": "4.2.
|
|
16
|
+
"@graphcommerce/magento-cart-shipping-address": "3.4.4",
|
|
17
|
+
"@graphcommerce/magento-product": "4.5.4",
|
|
18
|
+
"@graphcommerce/magento-product-configurable": "4.2.5",
|
|
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.
|
|
25
|
+
"@graphcommerce/graphql": "3.4.8",
|
|
26
26
|
"@graphcommerce/graphql-mesh": "4.1.9",
|
|
27
27
|
"@graphcommerce/image": "3.1.9",
|
|
28
|
-
"@graphcommerce/magento-cart": "4.7.
|
|
29
|
-
"@graphcommerce/magento-cart-payment-method": "3.5.
|
|
30
|
-
"@graphcommerce/magento-store": "4.2.
|
|
31
|
-
"@graphcommerce/next-ui": "4.
|
|
28
|
+
"@graphcommerce/magento-cart": "4.7.4",
|
|
29
|
+
"@graphcommerce/magento-cart-payment-method": "3.5.4",
|
|
30
|
+
"@graphcommerce/magento-store": "4.2.32",
|
|
31
|
+
"@graphcommerce/next-ui": "4.23.1",
|
|
32
32
|
"@graphcommerce/react-hook-form": "3.3.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|