@graphcommerce/magento-payment-braintree 3.0.14 → 3.0.17
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 +66 -0
- package/package.json +14 -13
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,71 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 3.0.17
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`c30893857`](https://github.com/graphcommerce-org/graphcommerce/commit/c3089385791291e812a48c2691a39a2325ee0439)]:
|
8
|
+
- @graphcommerce/magento-store@4.2.3
|
9
|
+
- @graphcommerce/magento-cart@4.2.14
|
10
|
+
- @graphcommerce/magento-cart-payment-method@3.1.10
|
11
|
+
|
12
|
+
## 3.0.16
|
13
|
+
|
14
|
+
### Patch Changes
|
15
|
+
|
16
|
+
- [#1451](https://github.com/graphcommerce-org/graphcommerce/pull/1451) [`f698ff85d`](https://github.com/graphcommerce-org/graphcommerce/commit/f698ff85df6bb0922288471bb3c81856091b8061) Thanks [@paales](https://github.com/paales)! - Removed all occurences of @lingui/macro and moved to @lingui/macro / @lingui/core in preparation to move to swc.
|
17
|
+
|
18
|
+
Since we've removed @lingui/macro, all occurences need to be replaced with @lingui/core and @lingui/react.
|
19
|
+
|
20
|
+
All occurences of `<Trans>` and `t` need to be replaced:
|
21
|
+
|
22
|
+
```tsx
|
23
|
+
import { Trans, t } from '@lingui/macro'
|
24
|
+
|
25
|
+
function MyComponent() {
|
26
|
+
const foo = 'bar'
|
27
|
+
return (
|
28
|
+
<div aria-label={t`Account ${foo}`}>
|
29
|
+
<Trans>My Translation {foo}</Trans>
|
30
|
+
</div>
|
31
|
+
)
|
32
|
+
}
|
33
|
+
```
|
34
|
+
|
35
|
+
Needs to be replaced with:
|
36
|
+
|
37
|
+
```tsx
|
38
|
+
import { Trans } from '@lingui/react'
|
39
|
+
import { i18n } from '@lingui/core'
|
40
|
+
|
41
|
+
function MyComponent() {
|
42
|
+
const foo = 'bar'
|
43
|
+
return (
|
44
|
+
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
45
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
46
|
+
</div>
|
47
|
+
)
|
48
|
+
}
|
49
|
+
```
|
50
|
+
|
51
|
+
[More examples for Trans](https://lingui.js.org/ref/macro.html#examples-of-jsx-macros) and [more examples for `t`](https://lingui.js.org/ref/macro.html#examples-of-js-macros)
|
52
|
+
|
53
|
+
- Updated dependencies [[`50188e378`](https://github.com/graphcommerce-org/graphcommerce/commit/50188e378b4c77561ebc600958ea11cd114fa61a), [`f698ff85d`](https://github.com/graphcommerce-org/graphcommerce/commit/f698ff85df6bb0922288471bb3c81856091b8061)]:
|
54
|
+
- @graphcommerce/magento-cart-payment-method@3.1.9
|
55
|
+
- @graphcommerce/react-hook-form@3.1.3
|
56
|
+
- @graphcommerce/magento-cart@4.2.13
|
57
|
+
- @graphcommerce/magento-store@4.2.2
|
58
|
+
- @graphcommerce/next-ui@4.7.2
|
59
|
+
- @graphcommerce/graphql@3.1.3
|
60
|
+
|
61
|
+
## 3.0.15
|
62
|
+
|
63
|
+
### Patch Changes
|
64
|
+
|
65
|
+
- Updated dependencies []:
|
66
|
+
- @graphcommerce/magento-cart@4.2.12
|
67
|
+
- @graphcommerce/magento-cart-payment-method@3.1.8
|
68
|
+
|
3
69
|
## 3.0.14
|
4
70
|
|
5
71
|
### 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": "3.0.
|
5
|
+
"version": "3.0.17",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,28 +12,29 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"devDependencies": {
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.1.
|
16
|
-
"@graphcommerce/magento-cart-shipping-address": "3.0.
|
17
|
-
"@graphcommerce/magento-product": "4.3.
|
18
|
-
"@graphcommerce/magento-product-configurable": "4.1.
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.1.7",
|
16
|
+
"@graphcommerce/magento-cart-shipping-address": "3.0.17",
|
17
|
+
"@graphcommerce/magento-product": "4.3.4",
|
18
|
+
"@graphcommerce/magento-product-configurable": "4.1.4",
|
19
19
|
"@graphcommerce/prettier-config-pwa": "^4.0.6",
|
20
|
-
"@graphcommerce/typescript-config-pwa": "^4.0.
|
20
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.3",
|
21
21
|
"@playwright/test": "^1.21.1",
|
22
22
|
"@types/braintree-web": "^3.75.19",
|
23
23
|
"type-fest": "^2.12.2"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@graphcommerce/graphql": "3.1.
|
26
|
+
"@graphcommerce/graphql": "3.1.3",
|
27
27
|
"@graphcommerce/image": "3.1.5",
|
28
|
-
"@graphcommerce/magento-cart": "4.2.
|
29
|
-
"@graphcommerce/magento-cart-payment-method": "3.1.
|
30
|
-
"@graphcommerce/magento-store": "4.2.
|
31
|
-
"@graphcommerce/next-ui": "4.7.
|
32
|
-
"@graphcommerce/react-hook-form": "3.1.
|
28
|
+
"@graphcommerce/magento-cart": "4.2.14",
|
29
|
+
"@graphcommerce/magento-cart-payment-method": "3.1.10",
|
30
|
+
"@graphcommerce/magento-store": "4.2.3",
|
31
|
+
"@graphcommerce/next-ui": "4.7.2",
|
32
|
+
"@graphcommerce/react-hook-form": "3.1.3",
|
33
33
|
"braintree-web": "^3.85.3"
|
34
34
|
},
|
35
35
|
"peerDependencies": {
|
36
|
-
"@lingui/
|
36
|
+
"@lingui/react": "^3.13.2",
|
37
|
+
"@lingui/core": "^3.13.2",
|
37
38
|
"@mui/material": "5.5.3",
|
38
39
|
"framer-motion": "^6.2.4",
|
39
40
|
"next": "12.1.2",
|