@graphcommerce/magento-store 4.1.2 → 4.1.3
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 +9 -0
- package/PageMeta.tsx +2 -8
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1322](https://github.com/graphcommerce-org/graphcommerce/pull/1322) [`815132ea4`](https://github.com/graphcommerce-org/graphcommerce/commit/815132ea43937b4b84b59ec9974ac593cb4eb456) Thanks [@paales](https://github.com/paales)! - Make sure canonicals don’t report about double slashes and add warning when incorrect URL is passed
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`5266388ea`](https://github.com/graphcommerce-org/graphcommerce/commit/5266388eaffda41592623ef7a3ddbbe03c8e0dad), [`9b35403d9`](https://github.com/graphcommerce-org/graphcommerce/commit/9b35403d9dbb2606ac7cf3bb641a0f9cc3d8a2ba), [`0298a0de1`](https://github.com/graphcommerce-org/graphcommerce/commit/0298a0de1d13e543c4124a6a099297b4e27e2b05), [`815132ea4`](https://github.com/graphcommerce-org/graphcommerce/commit/815132ea43937b4b84b59ec9974ac593cb4eb456), [`3326742a0`](https://github.com/graphcommerce-org/graphcommerce/commit/3326742a0dceb45f0cac4741ca09dc4d4f09ad90), [`7a3799bfc`](https://github.com/graphcommerce-org/graphcommerce/commit/7a3799bfc107f26aa9991a91db5f228e3476f4aa), [`9a77f88ed`](https://github.com/graphcommerce-org/graphcommerce/commit/9a77f88ed26cbecdae9a135c3cb234a5b7ecf4df), [`0eeaad304`](https://github.com/graphcommerce-org/graphcommerce/commit/0eeaad30461b1d5b486438f0287fa76d49429044), [`bc5213547`](https://github.com/graphcommerce-org/graphcommerce/commit/bc52135471479c83d989449dad24798112e898f4), [`3f1912f55`](https://github.com/graphcommerce-org/graphcommerce/commit/3f1912f553318d5888f8af2b841918ef4ae96a84), [`b6c68cda8`](https://github.com/graphcommerce-org/graphcommerce/commit/b6c68cda8836a1d0c78ef351899cec9ec1037385)]:
|
|
10
|
+
- @graphcommerce/next-ui@4.3.0
|
|
11
|
+
|
|
3
12
|
## 4.1.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/PageMeta.tsx
CHANGED
|
@@ -10,7 +10,7 @@ type PageMetaProps = Pick<NextPageMetaProps, 'title' | 'metaDescription' | 'meta
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export function PageMeta(props: PageMetaProps) {
|
|
13
|
-
const { title,
|
|
13
|
+
const { title, ...pageMetaProps } = props
|
|
14
14
|
const config = useQuery(StoreConfigDocument)
|
|
15
15
|
|
|
16
16
|
const prefix = config.data?.storeConfig?.title_prefix ?? ''
|
|
@@ -23,11 +23,5 @@ export function PageMeta(props: PageMetaProps) {
|
|
|
23
23
|
if (separator && suffix) pageTitle += ` ${separator}`
|
|
24
24
|
if (suffix) pageTitle += ` ${suffix}`
|
|
25
25
|
|
|
26
|
-
return
|
|
27
|
-
<NextPageMeta
|
|
28
|
-
title={pageTitle ?? ''}
|
|
29
|
-
canonical={canonical ? `/${canonical}` : canonical}
|
|
30
|
-
{...pageMetaProps}
|
|
31
|
-
/>
|
|
32
|
-
)
|
|
26
|
+
return <NextPageMeta title={pageTitle ?? ''} {...pageMetaProps} />
|
|
33
27
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-store",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.1.
|
|
5
|
+
"version": "4.1.3",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@graphcommerce/graphql": "^3.0.4",
|
|
22
22
|
"@graphcommerce/image": "^3.1.1",
|
|
23
|
-
"@graphcommerce/next-ui": "^4.
|
|
23
|
+
"@graphcommerce/next-ui": "^4.3.0",
|
|
24
24
|
"type-fest": "^2.12.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|