@imagekit/javascript 5.0.0-beta.5 → 5.0.0-beta.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.
@@ -425,7 +425,7 @@ export interface TextOverlay extends BaseOverlay {
425
425
  *
426
426
  * Regardless of the encoding method, the input text is always percent-encoded to ensure it is URL-safe.
427
427
  */
428
- encoding: "auto" | "plain" | "base64";
428
+ encoding?: "auto" | "plain" | "base64";
429
429
  /**
430
430
  * Control styling of the text overlay.
431
431
  */
@@ -447,7 +447,7 @@ export interface ImageOverlay extends BaseOverlay {
447
447
  * - Leading and trailing slashes are removed.
448
448
  * - Remaining slashes within the path are replaced with `@@` when using plain text.
449
449
  */
450
- encoding: "auto" | "plain" | "base64";
450
+ encoding?: "auto" | "plain" | "base64";
451
451
  /**
452
452
  * Array of transformations to be applied to the overlay image. Supported transformations depends on the base/parent asset.
453
453
  *
@@ -471,7 +471,7 @@ export interface VideoOverlay extends BaseOverlay {
471
471
  * - Leading and trailing slashes are removed.
472
472
  * - Remaining slashes within the path are replaced with `@@` when using plain text.
473
473
  */
474
- encoding: "auto" | "plain" | "base64";
474
+ encoding?: "auto" | "plain" | "base64";
475
475
  /**
476
476
  * Array of transformation to be applied to the overlay video. Except `streamingResolutions`, all other video transformations are supported.
477
477
  *
@@ -495,7 +495,7 @@ export interface SubtitleOverlay extends BaseOverlay {
495
495
  * - Leading and trailing slashes are removed.
496
496
  * - Remaining slashes within the path are replaced with `@@` when using plain text.
497
497
  */
498
- encoding: "auto" | "plain" | "base64";
498
+ encoding?: "auto" | "plain" | "base64";
499
499
  /**
500
500
  * Control styling of the subtitle.
501
501
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imagekit/javascript",
3
- "version": "5.0.0-beta.5",
3
+ "version": "5.0.0-beta.6",
4
4
  "description": "ImageKit Javascript SDK",
5
5
  "main": "dist/imagekit.cjs.js",
6
6
  "module": "dist/imagekit.esm.js",
@@ -496,7 +496,7 @@ export interface TextOverlay extends BaseOverlay {
496
496
  * Regardless of the encoding method, the input text is always percent-encoded to ensure it is URL-safe.
497
497
  */
498
498
 
499
- encoding: "auto" | "plain" | "base64";
499
+ encoding?: "auto" | "plain" | "base64";
500
500
 
501
501
  /**
502
502
  * Control styling of the text overlay.
@@ -522,7 +522,7 @@ export interface ImageOverlay extends BaseOverlay {
522
522
  * - Leading and trailing slashes are removed.
523
523
  * - Remaining slashes within the path are replaced with `@@` when using plain text.
524
524
  */
525
- encoding: "auto" | "plain" | "base64";
525
+ encoding?: "auto" | "plain" | "base64";
526
526
 
527
527
  /**
528
528
  * Array of transformations to be applied to the overlay image. Supported transformations depends on the base/parent asset.
@@ -549,7 +549,7 @@ export interface VideoOverlay extends BaseOverlay {
549
549
  * - Leading and trailing slashes are removed.
550
550
  * - Remaining slashes within the path are replaced with `@@` when using plain text.
551
551
  */
552
- encoding: "auto" | "plain" | "base64";
552
+ encoding?: "auto" | "plain" | "base64";
553
553
 
554
554
  /**
555
555
  * Array of transformation to be applied to the overlay video. Except `streamingResolutions`, all other video transformations are supported.
@@ -576,7 +576,7 @@ export interface SubtitleOverlay extends BaseOverlay {
576
576
  * - Leading and trailing slashes are removed.
577
577
  * - Remaining slashes within the path are replaced with `@@` when using plain text.
578
578
  */
579
- encoding: "auto" | "plain" | "base64";
579
+ encoding?: "auto" | "plain" | "base64";
580
580
 
581
581
  /**
582
582
  * Control styling of the subtitle.