@starlightcms/react-sdk 1.0.0 → 1.1.0
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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ const response = Starlight.posts.entries.list()
|
|
|
41
41
|
const response = Starlight.posts.entries.get('hello-world')
|
|
42
42
|
|
|
43
43
|
// Rendering visual editor content:
|
|
44
|
-
<VisualContent content={
|
|
44
|
+
<VisualContent content={response.data.data.content} />
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
The SDK is capable of requesting a myriad of different content from your workspaces. Check out
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starlightcms/react-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "The Starlight SDK for React",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"website"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@starlightcms/js-sdk": "^1.
|
|
63
|
+
"@starlightcms/js-sdk": "^1.1.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": ">=16.0.0"
|