@graphcommerce/mollie-magento-payment 9.0.3 → 9.0.4-canary.1

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,8 +1,8 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.3
3
+ ## 9.0.4-canary.1
4
4
 
5
- ## 9.0.3-canary.0
5
+ ## 9.0.4-canary.0
6
6
 
7
7
  ## 9.0.2
8
8
 
@@ -10,16 +10,6 @@
10
10
 
11
11
  - [`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))
12
12
 
13
- ## 9.0.2-canary.0
14
-
15
- ### Patch Changes
16
-
17
- - [`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))
18
-
19
- ## 9.0.1
20
-
21
- ## 9.0.1-canary.1
22
-
23
13
  ## 9.0.0
24
14
 
25
15
  ### 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 { FormRow, filterNonNullableKeys } from '@graphcommerce/next-ui'
4
+ import { filterNonNullableKeys, FormRow } 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 { MollieField } from './MollieField'
12
- import { SetMolliePaymentMethodTokenOnCartDocument } from './SetMolliePaymentMethodTokenOnCart.gql'
13
11
  import type { MollieContext } from './mollieContext'
14
12
  import { mollieContext } from './mollieContext'
13
+ import { MollieField } from './MollieField'
14
+ import { SetMolliePaymentMethodTokenOnCartDocument } from './SetMolliePaymentMethodTokenOnCart.gql'
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
35
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises, @typescript-eslint/no-extra-semi
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
- }, [called, error, handle, isActive, lockState, onSuccess, recoverCart, router])
66
+ }, [assignCartId, 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.3",
5
+ "version": "9.0.4-canary.1",
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.3",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.3",
17
- "@graphcommerce/graphql": "^9.0.3",
18
- "@graphcommerce/graphql-mesh": "^9.0.3",
19
- "@graphcommerce/image": "^9.0.3",
20
- "@graphcommerce/magento-cart": "^9.0.3",
21
- "@graphcommerce/magento-cart-payment-method": "^9.0.3",
22
- "@graphcommerce/magento-cart-shipping-address": "^9.0.3",
23
- "@graphcommerce/magento-product": "^9.0.3",
24
- "@graphcommerce/magento-product-configurable": "^9.0.3",
25
- "@graphcommerce/magento-store": "^9.0.3",
26
- "@graphcommerce/next-ui": "^9.0.3",
27
- "@graphcommerce/prettier-config-pwa": "^9.0.3",
28
- "@graphcommerce/react-hook-form": "^9.0.3",
29
- "@graphcommerce/typescript-config-pwa": "^9.0.3",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.4-canary.1",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.1",
17
+ "@graphcommerce/graphql": "^9.0.4-canary.1",
18
+ "@graphcommerce/graphql-mesh": "^9.0.4-canary.1",
19
+ "@graphcommerce/image": "^9.0.4-canary.1",
20
+ "@graphcommerce/magento-cart": "^9.0.4-canary.1",
21
+ "@graphcommerce/magento-cart-payment-method": "^9.0.4-canary.1",
22
+ "@graphcommerce/magento-cart-shipping-address": "^9.0.4-canary.1",
23
+ "@graphcommerce/magento-product": "^9.0.4-canary.1",
24
+ "@graphcommerce/magento-product-configurable": "^9.0.4-canary.1",
25
+ "@graphcommerce/magento-store": "^9.0.4-canary.1",
26
+ "@graphcommerce/next-ui": "^9.0.4-canary.1",
27
+ "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.1",
28
+ "@graphcommerce/react-hook-form": "^9.0.4-canary.1",
29
+ "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.1",
30
30
  "@lingui/core": "^4.2.1",
31
31
  "@lingui/macro": "^4.2.1",
32
32
  "@lingui/react": "^4.2.1",