@cntrl-site/sdk 1.12.0 → 1.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.
@@ -161,7 +161,8 @@ const YoutubeEmbedItemSchema = ItemBase_schema_1.ItemBaseSchema.extend({
161
161
  const CodeEmbedItemSchema = ItemBase_schema_1.ItemBaseSchema.extend({
162
162
  type: zod_1.z.literal(ArticleItemType_1.ArticleItemType.CodeEmbed),
163
163
  commonParams: zod_1.z.object({
164
- html: zod_1.z.string()
164
+ html: zod_1.z.string(),
165
+ scale: zod_1.z.boolean()
165
166
  }),
166
167
  sticky: zod_1.z.record(zod_1.z.object({
167
168
  from: zod_1.z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -204,7 +204,8 @@ const YoutubeEmbedItemSchema = ItemBaseSchema.extend({
204
204
  const CodeEmbedItemSchema = ItemBaseSchema.extend({
205
205
  type: z.literal(ArticleItemType.CodeEmbed),
206
206
  commonParams: z.object({
207
- html: z.string()
207
+ html: z.string(),
208
+ scale: z.boolean()
208
209
  }),
209
210
  sticky: z.record(
210
211
  z.object({
@@ -73,6 +73,7 @@ interface GroupCommonParams {}
73
73
 
74
74
  interface CodeEmbedCommonParams {
75
75
  html: string;
76
+ scale: boolean;
76
77
  }
77
78
 
78
79
  interface VimeoEmbedCommonParams {