@graphcommerce/magento-payment-braintree 4.14.0-canary.3 → 4.14.0-canary.5

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,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.14.0-canary.5
4
+
5
+ ## 4.14.0-canary.4
6
+
7
+ ### Patch Changes
8
+
9
+ - [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`b2d73c726`](https://github.com/graphcommerce-org/graphcommerce/commit/b2d73c726fa123435fa6c54b4e0fd0db2df7c4ab) - Move to <Prev/> instead of <Component/> to call the plugin component ([@paales](https://github.com/paales))
10
+
11
+ - [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`be10e8cd1`](https://github.com/graphcommerce-org/graphcommerce/commit/be10e8cd1dce172a914ee9e5f65fdca4d0929fc8) - Migrated payment methods to use the new `onSuccess` method from `PaymentMethodContextProvider` instead of redirecting manually, makes sure the onSuccess method can be used by plugins. ([@paales](https://github.com/paales))
12
+
3
13
  ## 4.14.0-canary.3
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-payment-braintree",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.14.0-canary.3",
5
+ "version": "4.14.0-canary.5",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@graphcommerce/eslint-config-pwa": "^4.1.11",
16
- "@graphcommerce/magento-cart-shipping-address": "4.14.0-canary.3",
17
- "@graphcommerce/magento-product": "4.14.0-canary.3",
18
- "@graphcommerce/magento-product-configurable": "4.14.0-canary.3",
16
+ "@graphcommerce/magento-cart-shipping-address": "4.14.0-canary.5",
17
+ "@graphcommerce/magento-product": "4.14.0-canary.5",
18
+ "@graphcommerce/magento-product-configurable": "4.14.0-canary.5",
19
19
  "@graphcommerce/prettier-config-pwa": "^4.0.7",
20
20
  "@graphcommerce/typescript-config-pwa": "^4.0.5",
21
21
  "@playwright/test": "^1.21.1",
@@ -23,13 +23,13 @@
23
23
  "type-fest": "^2.12.2"
24
24
  },
25
25
  "dependencies": {
26
- "@graphcommerce/graphql": "4.31.0-canary.2",
27
- "@graphcommerce/image": "4.31.0-canary.2",
28
- "@graphcommerce/magento-cart": "4.14.0-canary.3",
29
- "@graphcommerce/magento-cart-payment-method": "4.14.0-canary.3",
30
- "@graphcommerce/magento-store": "4.14.0-canary.3",
31
- "@graphcommerce/next-ui": "4.31.0-canary.2",
32
- "@graphcommerce/react-hook-form": "4.31.0-canary.2",
26
+ "@graphcommerce/graphql": "4.31.0-canary.4",
27
+ "@graphcommerce/image": "4.31.0-canary.4",
28
+ "@graphcommerce/magento-cart": "4.14.0-canary.5",
29
+ "@graphcommerce/magento-cart-payment-method": "4.14.0-canary.5",
30
+ "@graphcommerce/magento-store": "4.14.0-canary.5",
31
+ "@graphcommerce/next-ui": "4.31.0-canary.4",
32
+ "@graphcommerce/react-hook-form": "4.31.0-canary.4",
33
33
  "braintree-web": "^3.86.0"
34
34
  },
35
35
  "peerDependencies": {
@@ -7,8 +7,8 @@ export const component = 'PaymentMethodContextProvider'
7
7
  export const exported = '@graphcommerce/magento-cart-payment-method'
8
8
 
9
9
  function AddBrainTreeMethods(props: PluginProps<PaymentMethodContextProviderProps>) {
10
- const { modules, Component } = props
11
- return <Component {...props} modules={{ ...modules, braintree, braintree_local_payment }} />
10
+ const { modules, Prev } = props
11
+ return <Prev {...props} modules={{ ...modules, braintree, braintree_local_payment }} />
12
12
  }
13
13
 
14
14
  export const Plugin = AddBrainTreeMethods