@sentecacommerce-theme/lib 0.14.14 → 0.14.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,7 @@ function GlobalSEO() {
21
21
  var organizationJSONLd = "{\n \"@context\": \"https://schema.org\",\n \"@type\": \"Organization\",\n \"url\": \"".concat(domain, "\",\n \"contactPoint\": [\n {\n \"@type\": \"ContactPoint\",\n \"telephone\": \"").concat(organizationPhone, "\",\n \"contactType\": \"customer service\"\n }\n ]\n }");
22
22
  var defaultIcon = (favicon === null || favicon === void 0 ? void 0 : favicon.default) || (favicon === null || favicon === void 0 ? void 0 : favicon.medium) || (favicon === null || favicon === void 0 ? void 0 : favicon.svg);
23
23
  return(/*#__PURE__*/ _react.default.createElement(_head.default, null, /*#__PURE__*/ _react.default.createElement("link", {
24
+ key: "canonical",
24
25
  rel: "canonical",
25
26
  href: "https://".concat(domain).concat(router === null || router === void 0 ? void 0 : (ref = router.asPath) === null || ref === void 0 ? void 0 : ref.split('?')[0])
26
27
  }), /*#__PURE__*/ _react.default.createElement("script", {
@@ -11,6 +11,7 @@ export function GlobalSEO() {
11
11
  var organizationJSONLd = "{\n \"@context\": \"https://schema.org\",\n \"@type\": \"Organization\",\n \"url\": \"".concat(domain, "\",\n \"contactPoint\": [\n {\n \"@type\": \"ContactPoint\",\n \"telephone\": \"").concat(organizationPhone, "\",\n \"contactType\": \"customer service\"\n }\n ]\n }");
12
12
  var defaultIcon = (favicon === null || favicon === void 0 ? void 0 : favicon.default) || (favicon === null || favicon === void 0 ? void 0 : favicon.medium) || (favicon === null || favicon === void 0 ? void 0 : favicon.svg);
13
13
  return(/*#__PURE__*/ React.createElement(Head, null, /*#__PURE__*/ React.createElement("link", {
14
+ key: "canonical",
14
15
  rel: "canonical",
15
16
  href: "https://".concat(domain).concat(router === null || router === void 0 ? void 0 : (ref = router.asPath) === null || ref === void 0 ? void 0 : ref.split('?')[0])
16
17
  }), /*#__PURE__*/ React.createElement("script", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sentecacommerce-theme/lib",
3
3
  "sideEffects": false,
4
- "version": "0.14.14",
4
+ "version": "0.14.15",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/types/index.d.ts",
@@ -31,13 +31,13 @@
31
31
  "watch:cjs": "swc src --out-dir dist/cjs -w",
32
32
  "watch:esm": "swc src --out-dir dist/esm --no-swcrc -w"
33
33
  },
34
- "gitHead": "89d31b540120ff38257958cf2072a0506d1141cb",
34
+ "gitHead": "7391deed8f45e0eab052c1f4a7adff5aaf21449c",
35
35
  "peerDependencies": {
36
36
  "react-query": "^2.26.2"
37
37
  },
38
38
  "dependencies": {
39
- "@sentecacommerce-theme/base": "^0.14.14",
40
- "@sentecacommerce-theme/cms": "^0.14.14",
39
+ "@sentecacommerce-theme/base": "^0.14.15",
40
+ "@sentecacommerce-theme/cms": "^0.14.15",
41
41
  "@sentecacommerce/sdk": "2.0.175",
42
42
  "body-scroll-lock": "^3.1.5",
43
43
  "copy-to-clipboard": "^3.3.1",