@jetprint/editor-sdk 1.0.5 → 1.0.6

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/dist/index.d.ts CHANGED
@@ -79,7 +79,13 @@ declare const _default: {
79
79
  color: string;
80
80
  bundle: any;
81
81
  }>>;
82
- renderEffectImagesForSizesColors: (sizes?: string[], colors?: string[]) => Promise<Array<{
82
+ renderEffectImagesForSizesColors: (sizes?: string[], colors?: string[], onImage?: (img: {
83
+ size: string;
84
+ color: string;
85
+ index: number;
86
+ name?: string;
87
+ blob: Blob;
88
+ }) => void) => Promise<Array<{
83
89
  size: string;
84
90
  color: string;
85
91
  index: number;
@@ -223,7 +229,13 @@ declare const _default: {
223
229
  color: string;
224
230
  bundle: any;
225
231
  }>>;
226
- renderEffectImagesForSizesColors: (sizes?: string[], colors?: string[]) => Promise<Array<{
232
+ renderEffectImagesForSizesColors: (sizes?: string[], colors?: string[], onImage?: (img: {
233
+ size: string;
234
+ color: string;
235
+ index: number;
236
+ name?: string;
237
+ blob: Blob;
238
+ }) => void) => Promise<Array<{
227
239
  size: string;
228
240
  color: string;
229
241
  index: number;
@@ -361,7 +373,13 @@ declare const _default: {
361
373
  color: string;
362
374
  bundle: any;
363
375
  }>>;
364
- renderEffectImagesForSizesColors: (sizes?: string[], colors?: string[]) => Promise<Array<{
376
+ renderEffectImagesForSizesColors: (sizes?: string[], colors?: string[], onImage?: (img: {
377
+ size: string;
378
+ color: string;
379
+ index: number;
380
+ name?: string;
381
+ blob: Blob;
382
+ }) => void) => Promise<Array<{
365
383
  size: string;
366
384
  color: string;
367
385
  index: number;