@sitecore-jss/sitecore-jss 21.0.1 → 21.0.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.
|
@@ -73,8 +73,6 @@ class GraphQLSitemapXmlService {
|
|
|
73
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
74
74
|
const searchSitemap = `${PREFIX_NAME_SITEMAP}${id}.xml`;
|
|
75
75
|
const sitemaps = yield this.fetchSitemaps();
|
|
76
|
-
// added this item - there is default sitemap when will be available everytime
|
|
77
|
-
sitemaps.push('sitemap.xml');
|
|
78
76
|
return sitemaps.find((sitemap) => sitemap.includes(searchSitemap));
|
|
79
77
|
});
|
|
80
78
|
}
|
|
@@ -67,8 +67,6 @@ export class GraphQLSitemapXmlService {
|
|
|
67
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
68
68
|
const searchSitemap = `${PREFIX_NAME_SITEMAP}${id}.xml`;
|
|
69
69
|
const sitemaps = yield this.fetchSitemaps();
|
|
70
|
-
// added this item - there is default sitemap when will be available everytime
|
|
71
|
-
sitemaps.push('sitemap.xml');
|
|
72
70
|
return sitemaps.find((sitemap) => sitemap.includes(searchSitemap));
|
|
73
71
|
});
|
|
74
72
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.3",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"description": "",
|
|
66
66
|
"types": "types/index.d.ts",
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "7af7750d21733a3b83931dc81f950a925edd72d0",
|
|
68
68
|
"files": [
|
|
69
69
|
"dist",
|
|
70
70
|
"types",
|