storyblok 3.12.0 → 3.12.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyblok",
3
- "version": "3.12.0",
3
+ "version": "3.12.1",
4
4
  "description": "A simple CLI to start Storyblok from your command line.",
5
5
  "keywords": [
6
6
  "storyblok",
@@ -210,7 +210,7 @@ class SyncComponents {
210
210
  return Object.keys(sourceSchema).reduce((acc, key) => {
211
211
  // handle blocks separately
212
212
  const sourceSchemaItem = sourceSchema[key]
213
- if (sourceSchemaItem.type === 'bloks') {
213
+ if (sourceSchemaItem?.type === 'bloks' || sourceSchemaItem?.type === 'richtext') {
214
214
  acc[key] = this.mergeBloksSchema(sourceSchemaItem)
215
215
  return acc
216
216
  }