@graphcommerce/mollie-magento-payment 9.0.4-canary.8 → 9.0.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,29 +1,27 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.4-canary.8
3
+ ## 9.0.4
4
4
 
5
- ## 9.0.4-canary.7
5
+ ## 9.0.3
6
6
 
7
- ## 9.0.4-canary.6
7
+ ## 9.0.3-canary.0
8
8
 
9
- ## 9.0.4-canary.5
10
-
11
- ## 9.0.4-canary.4
12
-
13
- ## 9.0.4-canary.3
14
-
15
- ## 9.0.4-canary.2
9
+ ## 9.0.2
16
10
 
17
- ## 9.0.4-canary.1
11
+ ### Patch Changes
18
12
 
19
- ## 9.0.4-canary.0
13
+ - [`dc70489`](https://github.com/graphcommerce-org/graphcommerce/commit/dc70489c82aaf532bed7a6a500de8eae988e3773) - Support Magento 2.4.7 placeOrder.errors field when placing a Mollie order ([@paales](https://github.com/paales))
20
14
 
21
- ## 9.0.2
15
+ ## 9.0.2-canary.0
22
16
 
23
17
  ### Patch Changes
24
18
 
25
19
  - [`dc70489`](https://github.com/graphcommerce-org/graphcommerce/commit/dc70489c82aaf532bed7a6a500de8eae988e3773) - Support Magento 2.4.7 placeOrder.errors field when placing a Mollie order ([@paales](https://github.com/paales))
26
20
 
21
+ ## 9.0.1
22
+
23
+ ## 9.0.1-canary.1
24
+
27
25
  ## 9.0.0
28
26
 
29
27
  ### Major Changes
@@ -1,7 +1,7 @@
1
1
  import { SelectElement } from '@graphcommerce/ecommerce-ui'
2
2
  import { useFormGqlMutationCart } from '@graphcommerce/magento-cart'
3
3
  import type { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
4
- import { filterNonNullableKeys, FormRow } from '@graphcommerce/next-ui'
4
+ import { FormRow, filterNonNullableKeys } from '@graphcommerce/next-ui'
5
5
  import { FormPersist, useFormCompose } from '@graphcommerce/react-hook-form'
6
6
  import { SetMolliePaymentMethodIssuerOnCartDocument } from './SetMolliePaymentMethodIssuerOnCart.gql'
7
7
 
@@ -8,10 +8,10 @@ import { Alert } from '@mui/material'
8
8
  import Script from 'next/script'
9
9
  import { useEffect, useState } from 'react'
10
10
  import type { Mollie } from '../../Mollie'
11
- import type { MollieContext } from './mollieContext'
12
- import { mollieContext } from './mollieContext'
13
11
  import { MollieField } from './MollieField'
14
12
  import { SetMolliePaymentMethodTokenOnCartDocument } from './SetMolliePaymentMethodTokenOnCart.gql'
13
+ import type { MollieContext } from './mollieContext'
14
+ import { mollieContext } from './mollieContext'
15
15
 
16
16
  declare global {
17
17
  interface Window {
@@ -32,7 +32,7 @@ export function MolliePaymentHandler({ code }: PaymentHandlerProps) {
32
32
  const { called, error, data } = handleResult
33
33
 
34
34
  useEffect(() => {
35
- // eslint-disable-next-line @typescript-eslint/no-floating-promises, @typescript-eslint/no-extra-semi
35
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
36
36
  ;(async () => {
37
37
  if (!isActive) return
38
38
  if (lockState.locked && lockState.justLocked) return
@@ -63,7 +63,7 @@ export function MolliePaymentHandler({ code }: PaymentHandlerProps) {
63
63
  router.replace('/checkout/payment')
64
64
  }
65
65
  })()
66
- }, [assignCartId, called, error, handle, isActive, lockState, onSuccess, recoverCart, router])
66
+ }, [called, error, handle, isActive, lockState, onSuccess, recoverCart, router])
67
67
 
68
68
  const paymentStatus = data?.mollieProcessTransaction?.paymentStatus
69
69
  if (paymentStatus && !successStatusses.includes(paymentStatus)) {
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": "9.0.4-canary.8",
5
+ "version": "9.0.4",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,21 +12,21 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.4-canary.8",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.8",
17
- "@graphcommerce/graphql": "^9.0.4-canary.8",
18
- "@graphcommerce/graphql-mesh": "^9.0.4-canary.8",
19
- "@graphcommerce/image": "^9.0.4-canary.8",
20
- "@graphcommerce/magento-cart": "^9.0.4-canary.8",
21
- "@graphcommerce/magento-cart-payment-method": "^9.0.4-canary.8",
22
- "@graphcommerce/magento-cart-shipping-address": "^9.0.4-canary.8",
23
- "@graphcommerce/magento-product": "^9.0.4-canary.8",
24
- "@graphcommerce/magento-product-configurable": "^9.0.4-canary.8",
25
- "@graphcommerce/magento-store": "^9.0.4-canary.8",
26
- "@graphcommerce/next-ui": "^9.0.4-canary.8",
27
- "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.8",
28
- "@graphcommerce/react-hook-form": "^9.0.4-canary.8",
29
- "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.8",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.4",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.4",
17
+ "@graphcommerce/graphql": "^9.0.4",
18
+ "@graphcommerce/graphql-mesh": "^9.0.4",
19
+ "@graphcommerce/image": "^9.0.4",
20
+ "@graphcommerce/magento-cart": "^9.0.4",
21
+ "@graphcommerce/magento-cart-payment-method": "^9.0.4",
22
+ "@graphcommerce/magento-cart-shipping-address": "^9.0.4",
23
+ "@graphcommerce/magento-product": "^9.0.4",
24
+ "@graphcommerce/magento-product-configurable": "^9.0.4",
25
+ "@graphcommerce/magento-store": "^9.0.4",
26
+ "@graphcommerce/next-ui": "^9.0.4",
27
+ "@graphcommerce/prettier-config-pwa": "^9.0.4",
28
+ "@graphcommerce/react-hook-form": "^9.0.4",
29
+ "@graphcommerce/typescript-config-pwa": "^9.0.4",
30
30
  "@lingui/core": "^4.2.1",
31
31
  "@lingui/macro": "^4.2.1",
32
32
  "@lingui/react": "^4.2.1",