@graphcommerce/magento-payment-braintree 4.14.0-canary.6 → 4.14.0-canary.7
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 +6 -0
- package/package.json +11 -11
- package/plugins/AddBraintreeMethods.tsx +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 4.14.0-canary.7
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`52882a63e`](https://github.com/graphcommerce-org/graphcommerce/commit/52882a63e96c0d3ba9641c3714d288fa4f420c82) - Do not forward the Prev prop in plugins ([@paales](https://github.com/paales))
|
8
|
+
|
3
9
|
## 4.14.0-canary.6
|
4
10
|
|
5
11
|
## 4.14.0-canary.5
|
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.
|
5
|
+
"version": "4.14.0-canary.7",
|
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.
|
17
|
-
"@graphcommerce/magento-product": "4.14.0-canary.
|
18
|
-
"@graphcommerce/magento-product-configurable": "4.14.0-canary.
|
16
|
+
"@graphcommerce/magento-cart-shipping-address": "4.14.0-canary.7",
|
17
|
+
"@graphcommerce/magento-product": "4.14.0-canary.7",
|
18
|
+
"@graphcommerce/magento-product-configurable": "4.14.0-canary.7",
|
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.
|
27
|
-
"@graphcommerce/image": "4.31.0-canary.
|
28
|
-
"@graphcommerce/magento-cart": "4.14.0-canary.
|
29
|
-
"@graphcommerce/magento-cart-payment-method": "4.14.0-canary.
|
30
|
-
"@graphcommerce/magento-store": "4.14.0-canary.
|
31
|
-
"@graphcommerce/next-ui": "4.31.0-canary.
|
32
|
-
"@graphcommerce/react-hook-form": "4.31.0-canary.
|
26
|
+
"@graphcommerce/graphql": "4.31.0-canary.5",
|
27
|
+
"@graphcommerce/image": "4.31.0-canary.5",
|
28
|
+
"@graphcommerce/magento-cart": "4.14.0-canary.7",
|
29
|
+
"@graphcommerce/magento-cart-payment-method": "4.14.0-canary.7",
|
30
|
+
"@graphcommerce/magento-store": "4.14.0-canary.7",
|
31
|
+
"@graphcommerce/next-ui": "4.31.0-canary.5",
|
32
|
+
"@graphcommerce/react-hook-form": "4.31.0-canary.5",
|
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, Prev } = props
|
11
|
-
return <Prev {...
|
10
|
+
const { modules, Prev, ...rest } = props
|
11
|
+
return <Prev {...rest} modules={{ ...modules, braintree, braintree_local_payment }} />
|
12
12
|
}
|
13
13
|
|
14
14
|
export const Plugin = AddBrainTreeMethods
|