@rendley/sdk 1.10.1 → 1.10.3

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.
@@ -461,6 +461,7 @@ export declare const ClipSchema: z.ZodObject<{
461
461
  filters: z.ZodArray<z.ZodObject<{
462
462
  id: z.ZodString;
463
463
  sourceId: z.ZodString;
464
+ intensity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
464
465
  options: z.ZodObject<{
465
466
  lutUrl: z.ZodString;
466
467
  }, "strip", z.ZodTypeAny, {
@@ -474,12 +475,14 @@ export declare const ClipSchema: z.ZodObject<{
474
475
  lutUrl: string;
475
476
  };
476
477
  sourceId: string;
478
+ intensity: number;
477
479
  }, {
478
480
  id: string;
479
481
  options: {
480
482
  lutUrl: string;
481
483
  };
482
484
  sourceId: string;
485
+ intensity?: number | undefined;
483
486
  }>, "many">;
484
487
  effects: z.ZodArray<z.ZodObject<{
485
488
  id: z.ZodString;
@@ -973,6 +976,7 @@ export declare const ClipSchema: z.ZodObject<{
973
976
  lutUrl: string;
974
977
  };
975
978
  sourceId: string;
979
+ intensity: number;
976
980
  }[];
977
981
  effects: {
978
982
  id: string;
@@ -1078,6 +1082,7 @@ export declare const ClipSchema: z.ZodObject<{
1078
1082
  lutUrl: string;
1079
1083
  };
1080
1084
  sourceId: string;
1085
+ intensity?: number | undefined;
1081
1086
  }[];
1082
1087
  effects: {
1083
1088
  id: string;
@@ -1193,7 +1198,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1193
1198
  style: K;
1194
1199
  state: ClipState;
1195
1200
  protected clipMasksLazyDeserialize: z.infer<typeof MaskFilterSchema>[];
1196
- private AnimationClass;
1201
+ private readonly AnimationClass;
1197
1202
  readonly animationController: InstanceType<typeof this.AnimationClass>;
1198
1203
  constructor(options: ClipOptions);
1199
1204
  init(layerId: string): Promise<void>;
@@ -1288,6 +1293,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1288
1293
  lutUrl: string;
1289
1294
  };
1290
1295
  sourceId: string;
1296
+ intensity: number;
1291
1297
  }[];
1292
1298
  effects: {
1293
1299
  id: string;
@@ -58,6 +58,7 @@ export declare class AudioClip extends Clip {
58
58
  lutUrl: string;
59
59
  };
60
60
  sourceId: string;
61
+ intensity: number;
61
62
  }[];
62
63
  effects: {
63
64
  id: string;
@@ -22,6 +22,7 @@ export declare class CustomClip extends Clip<PIXI.Sprite, ClipStyle> {
22
22
  lutUrl: string;
23
23
  };
24
24
  sourceId: string;
25
+ intensity: number;
25
26
  }[];
26
27
  effects: {
27
28
  id: string;
@@ -130,6 +130,7 @@ export declare class HtmlTextClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprit
130
130
  lutUrl: string;
131
131
  };
132
132
  sourceId: string;
133
+ intensity: number;
133
134
  }[];
134
135
  effects: {
135
136
  id: string;
@@ -119,10 +119,15 @@ export declare class LottieClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>
119
119
  protected properties: Property[];
120
120
  protected groups: Group[];
121
121
  private propertyMap;
122
+ private autoFit;
122
123
  constructor(options: LottieClipOptions);
123
124
  init(layerId: string): Promise<void>;
124
125
  private initProperties;
125
126
  setProperty(propertyId: string, value: unknown): void;
127
+ getGroups(): {
128
+ id: string;
129
+ label: string;
130
+ }[];
126
131
  getProperties(): Map<string, {
127
132
  type: LottiePropertyTypeEnum;
128
133
  id: string;
@@ -166,6 +171,7 @@ export declare class LottieClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>
166
171
  lutUrl: string;
167
172
  };
168
173
  sourceId: string;
174
+ intensity: number;
169
175
  }[];
170
176
  effects: {
171
177
  id: string;
@@ -25,6 +25,7 @@ export declare class ShapeClip extends Clip<ShapeSprite, ShapeStyle> {
25
25
  lutUrl: string;
26
26
  };
27
27
  sourceId: string;
28
+ intensity: number;
28
29
  }[];
29
30
  effects: {
30
31
  id: string;
@@ -34,6 +34,7 @@ export declare class TextClip extends Clip<TextSprite, TextStyle> {
34
34
  lutUrl: string;
35
35
  };
36
36
  sourceId: string;
37
+ intensity: number;
37
38
  }[];
38
39
  effects: {
39
40
  id: string;
@@ -80,6 +80,7 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
80
80
  lutUrl: string;
81
81
  };
82
82
  sourceId: string;
83
+ intensity: number;
83
84
  }[];
84
85
  effects: {
85
86
  id: string;
@@ -3,6 +3,7 @@ import { z } from "zod";
3
3
  export declare const FilterSchema: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  sourceId: z.ZodString;
6
+ intensity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6
7
  options: z.ZodObject<{
7
8
  lutUrl: z.ZodString;
8
9
  }, "strip", z.ZodTypeAny, {
@@ -16,16 +17,19 @@ export declare const FilterSchema: z.ZodObject<{
16
17
  lutUrl: string;
17
18
  };
18
19
  sourceId: string;
20
+ intensity: number;
19
21
  }, {
20
22
  id: string;
21
23
  options: {
22
24
  lutUrl: string;
23
25
  };
24
26
  sourceId: string;
27
+ intensity?: number | undefined;
25
28
  }>;
26
29
  export interface FilterOptions {
27
30
  lutUrl: string;
28
31
  sourceId: string;
32
+ intensity?: number;
29
33
  }
30
34
  export declare class Filter {
31
35
  id: string;
@@ -35,6 +39,8 @@ export declare class Filter {
35
39
  private lutTexture;
36
40
  private pixiFilter;
37
41
  constructor(options: FilterOptions);
42
+ setIntensity(intensity: number): void;
43
+ getIntensity(): number;
38
44
  getSourceId(): string;
39
45
  getPixiFilter(): PIXI.Filter;
40
46
  serialize(): {
@@ -43,6 +49,7 @@ export declare class Filter {
43
49
  lutUrl: string;
44
50
  };
45
51
  sourceId: string;
52
+ intensity: number;
46
53
  };
47
54
  static deserialize(data: object): Filter;
48
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rendley/sdk",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "license": "LICENSE",
5
5
  "author": "Onix Technologies",
6
6
  "homepage": "https://rendley.com",