@sitecore-content-sdk/react 0.1.0-beta.40 → 0.1.0-beta.41

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/README.md CHANGED
@@ -1,10 +1,11 @@
1
- # Sitecore JavaScript Rendering SDK for React
1
+ # Sitecore Content SDK for React
2
2
 
3
- This module is provided as a part of Sitecore JavaScript Rendering SDK (JSS). It contains React components and integration for JSS.
3
+ This module is provided as a part of Sitecore Content SDK. It contains React components and integration for Sitecore Content SDK.
4
4
 
5
5
  <!---
6
- @TODO: use new name when decided
6
+ @TODO: Update link with appropriate page when avaiable
7
7
  -->
8
- [Documentation (XM Cloud)](https://doc.sitecore.com/xmc/en/developers/xm-cloud/sitecore-javascript-rendering-sdk--jss--for-next-js.html)
8
+
9
+ [Documentation](https://doc.sitecore.com/xmc/en/developers/xm-cloud/sitecore-javascript-rendering-sdk--jss--for-next-js.html)
9
10
 
10
11
  [API reference documentation](/ref-docs/react/)
@@ -23,7 +23,6 @@ function withSitecoreContext(options) {
23
23
  * - pageEditing - Provided by Layout Service, a boolean indicating whether the route is being accessed via the Sitecore Editor.
24
24
  * - pageState - Like pageEditing, but a string: normal, preview or edit.
25
25
  * - site - Provided by Layout Service, an object containing the name of the current Sitecore site context.
26
- * @see https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-extending-context
27
26
  * @param {WithSitecoreContextOptions} [options] hook options
28
27
  * @example
29
28
  * const EditMode = () => {
@@ -16,7 +16,6 @@ export function withSitecoreContext(options) {
16
16
  * - pageEditing - Provided by Layout Service, a boolean indicating whether the route is being accessed via the Sitecore Editor.
17
17
  * - pageState - Like pageEditing, but a string: normal, preview or edit.
18
18
  * - site - Provided by Layout Service, an object containing the name of the current Sitecore site context.
19
- * @see https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-extending-context
20
19
  * @param {WithSitecoreContextOptions} [options] hook options
21
20
  * @example
22
21
  * const EditMode = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore-content-sdk/react",
3
- "version": "0.1.0-beta.40",
3
+ "version": "0.1.0-beta.41",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "author": {
24
24
  "name": "Sitecore Corporation",
25
- "url": "https://jss.sitecore.com"
25
+ "url": "https://doc.sitecore.com/xmc/en/developers/content-sdk/sitecore-content-sdk-for-xm-cloud.html"
26
26
  },
27
27
  "license": "Apache-2.0",
28
- "homepage": "https://jss.sitecore.com",
28
+ "homepage": "https://doc.sitecore.com/xmc/en/developers/content-sdk/sitecore-content-sdk-for-xm-cloud.html",
29
29
  "bugs": {
30
- "url": "https://github.com/sitecore/jss/issues"
30
+ "url": "https://github.com/sitecore/content-sdk/issues"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@sitecore-feaas/clientside": "^0.5.19",
@@ -67,13 +67,13 @@
67
67
  "react-dom": "^18.2.0"
68
68
  },
69
69
  "dependencies": {
70
- "@sitecore-content-sdk/core": "0.1.0-beta.40",
70
+ "@sitecore-content-sdk/core": "0.1.0-beta.41",
71
71
  "fast-deep-equal": "^3.1.3",
72
72
  "prop-types": "^15.8.1"
73
73
  },
74
74
  "description": "",
75
75
  "types": "types/index.d.ts",
76
- "gitHead": "90440a673c5d818a20218d8a0800bbd784caf924",
76
+ "gitHead": "3524592710edbbab27b25dd5652ba84b72a491c9",
77
77
  "files": [
78
78
  "dist",
79
79
  "types"
@@ -20,7 +20,6 @@ export declare function withSitecoreContext(options?: WithSitecoreContextOptions
20
20
  * - pageEditing - Provided by Layout Service, a boolean indicating whether the route is being accessed via the Sitecore Editor.
21
21
  * - pageState - Like pageEditing, but a string: normal, preview or edit.
22
22
  * - site - Provided by Layout Service, an object containing the name of the current Sitecore site context.
23
- * @see https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-extending-context
24
23
  * @param {WithSitecoreContextOptions} [options] hook options
25
24
  * @example
26
25
  * const EditMode = () => {