@storyblok/svelte 3.1.3 → 3.1.4
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 +4 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -95,7 +95,8 @@ Full example for a space created in the US:
|
|
|
95
95
|
}
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
> Note
|
|
98
|
+
> **Note**
|
|
99
|
+
> For spaces created in the United States or China, the `region` parameter **must** be specified.
|
|
99
100
|
|
|
100
101
|
## Getting started
|
|
101
102
|
|
|
@@ -116,7 +117,8 @@ Use the `getStoryblokApi`()` to get your stories from the Storyblok CDN API:
|
|
|
116
117
|
</script>
|
|
117
118
|
```
|
|
118
119
|
|
|
119
|
-
> Note
|
|
120
|
+
> **Note**
|
|
121
|
+
> You can skip using `storyblokApi` if you prefer your own method or function to fetch your data.
|
|
120
122
|
|
|
121
123
|
### 2. Listen to Storyblok Visual Editor events
|
|
122
124
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storyblok/svelte",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Storyblok SDK to connect Storyblok with Svelte",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
"prepublishOnly": "npm run build && cp ../README.md ."
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@storyblok/js": "^2.2.
|
|
29
|
+
"@storyblok/js": "^2.2.11"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/core": "^7.22.
|
|
33
|
-
"@sveltejs/package": "^2.2.
|
|
32
|
+
"@babel/core": "^7.22.10",
|
|
33
|
+
"@sveltejs/package": "^2.2.1",
|
|
34
34
|
"@tsconfig/svelte": "^5.0.0",
|
|
35
35
|
"babel-jest": "^29",
|
|
36
36
|
"eslint-plugin-jest": "^27.2.3",
|
|
37
37
|
"jest": "^29.6.2",
|
|
38
|
-
"svelte": "^4.
|
|
38
|
+
"svelte": "^4.2.0",
|
|
39
39
|
"svelte-preprocess": "^5.0.4",
|
|
40
40
|
"typescript": "^5.1.6",
|
|
41
|
-
"vite": "^4.4.
|
|
41
|
+
"vite": "^4.4.9"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"svelte": "^3.0.0 || ^4.0.0"
|