@cntrl-site/sdk 1.16.0 → 1.16.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.
@@ -38,7 +38,9 @@ const FXParams = zod_1.z.object({
38
38
  });
39
39
  const ImageItemSchema = ItemBase_schema_1.ItemBaseSchema.extend({
40
40
  type: zod_1.z.literal(ArticleItemType_1.ArticleItemType.Image),
41
- commonParams: FXParams,
41
+ commonParams: zod_1.z.object({
42
+ pointerEvents
43
+ }).merge(FXParams),
42
44
  sticky: zod_1.z.record(zod_1.z.object({
43
45
  from: zod_1.z.number(),
44
46
  to: zod_1.z.number().optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -56,7 +56,9 @@ const FXParams = z.object({
56
56
 
57
57
  const ImageItemSchema = ItemBaseSchema.extend({
58
58
  type: z.literal(ArticleItemType.Image),
59
- commonParams: FXParams,
59
+ commonParams: z.object({
60
+ pointerEvents
61
+ }).merge(FXParams),
60
62
  sticky: z.record(
61
63
  z.object({
62
64
  from: z.number(),