@cntrl-site/sdk 1.12.1 → 1.12.2

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.
Binary file
@@ -162,7 +162,8 @@ 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
164
  html: zod_1.z.string(),
165
- scale: zod_1.z.boolean()
165
+ scale: zod_1.z.boolean(),
166
+ iframe: zod_1.z.boolean()
166
167
  }),
167
168
  sticky: zod_1.z.record(zod_1.z.object({
168
169
  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.1",
3
+ "version": "1.12.2",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -205,7 +205,8 @@ const CodeEmbedItemSchema = ItemBaseSchema.extend({
205
205
  type: z.literal(ArticleItemType.CodeEmbed),
206
206
  commonParams: z.object({
207
207
  html: z.string(),
208
- scale: z.boolean()
208
+ scale: z.boolean(),
209
+ iframe: z.boolean()
209
210
  }),
210
211
  sticky: z.record(
211
212
  z.object({
@@ -74,6 +74,7 @@ interface GroupCommonParams {}
74
74
  interface CodeEmbedCommonParams {
75
75
  html: string;
76
76
  scale: boolean;
77
+ iframe: boolean;
77
78
  }
78
79
 
79
80
  interface VimeoEmbedCommonParams {
Binary file