@graphcommerce/magento-payment-multisafepay 9.0.0-canary.58 → 9.0.0-canary.60

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,13 @@
1
1
  # @graphcommerce/magento-payment-multisafepay
2
2
 
3
+ ## 9.0.0-canary.60
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2331](https://github.com/graphcommerce-org/graphcommerce/pull/2331) [`702bfc9`](https://github.com/graphcommerce-org/graphcommerce/commit/702bfc93566c9745546988e57988431d5d4d8cb0) - Moved plugins to new format ([@paales](https://github.com/paales))
8
+
9
+ ## 9.0.0-canary.59
10
+
3
11
  ## 9.0.0-canary.58
4
12
 
5
13
  ## 9.0.0-canary.57
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-payment-multisafepay",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.58",
5
+ "version": "9.0.0-canary.60",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,22 +12,22 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.0-canary.58",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.58",
17
- "@graphcommerce/graphql": "^9.0.0-canary.58",
18
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.58",
19
- "@graphcommerce/image": "^9.0.0-canary.58",
20
- "@graphcommerce/magento-cart": "^9.0.0-canary.58",
21
- "@graphcommerce/magento-cart-checkout": "^9.0.0-canary.58",
22
- "@graphcommerce/magento-cart-payment-method": "^9.0.0-canary.58",
23
- "@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.58",
24
- "@graphcommerce/magento-product": "^9.0.0-canary.58",
25
- "@graphcommerce/magento-product-configurable": "^9.0.0-canary.58",
26
- "@graphcommerce/magento-store": "^9.0.0-canary.58",
27
- "@graphcommerce/next-ui": "^9.0.0-canary.58",
28
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.58",
29
- "@graphcommerce/react-hook-form": "^9.0.0-canary.58",
30
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.58",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.60",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.60",
17
+ "@graphcommerce/graphql": "^9.0.0-canary.60",
18
+ "@graphcommerce/graphql-mesh": "^9.0.0-canary.60",
19
+ "@graphcommerce/image": "^9.0.0-canary.60",
20
+ "@graphcommerce/magento-cart": "^9.0.0-canary.60",
21
+ "@graphcommerce/magento-cart-checkout": "^9.0.0-canary.60",
22
+ "@graphcommerce/magento-cart-payment-method": "^9.0.0-canary.60",
23
+ "@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.60",
24
+ "@graphcommerce/magento-product": "^9.0.0-canary.60",
25
+ "@graphcommerce/magento-product-configurable": "^9.0.0-canary.60",
26
+ "@graphcommerce/magento-store": "^9.0.0-canary.60",
27
+ "@graphcommerce/next-ui": "^9.0.0-canary.60",
28
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.60",
29
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.60",
30
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.60",
31
31
  "@lingui/core": "^4.2.1",
32
32
  "@lingui/macro": "^4.2.1",
33
33
  "@lingui/react": "^4.2.1",
@@ -1,13 +1,15 @@
1
1
  import { PaymentMethodContextProviderProps } from '@graphcommerce/magento-cart-payment-method'
2
- import type { PluginProps } from '@graphcommerce/next-config'
2
+ import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
3
3
  import { multisafepay } from '../methods'
4
4
 
5
- export const component = 'PaymentMethodContextProvider'
6
- export const exported = '@graphcommerce/magento-cart-payment-method'
5
+ export const config: PluginConfig = {
6
+ type: 'component',
7
+ module: '@graphcommerce/magento-cart-payment-method',
8
+ }
7
9
 
8
- function AddMultisafepayMethods(props: PluginProps<PaymentMethodContextProviderProps>) {
10
+ export function PaymentMethodContextProvider(
11
+ props: PluginProps<PaymentMethodContextProviderProps>,
12
+ ) {
9
13
  const { modules, Prev, ...rest } = props
10
14
  return <Prev {...rest} modules={{ ...modules, ...multisafepay }} />
11
15
  }
12
-
13
- export const Plugin = AddMultisafepayMethods