@transcodely/sdk 0.3.2 → 0.3.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.
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6600,7 +6600,8 @@ declare enum ThumbnailMode {
|
|
|
6600
6600
|
* Free and bundled — animated previews add NO cost to a job (thumbnails are
|
|
6601
6601
|
* priced at 0). By default the worker produces BOTH an animated WebP and a
|
|
6602
6602
|
* muted MP4 loop from the same samples, so a consumer can pick whichever its
|
|
6603
|
-
* surface supports. Set `format = webp` to emit only the WebP
|
|
6603
|
+
* surface supports. Set `format = webp` to emit only the WebP, or
|
|
6604
|
+
* `format = mp4` to emit only the MP4 loop.
|
|
6604
6605
|
*
|
|
6605
6606
|
* Sampling is deterministic: unless `start_offsets` is set, clips are taken at
|
|
6606
6607
|
* fixed 25% / 50% / 75% marks of the source duration (no scene detection).
|
|
@@ -6642,7 +6643,15 @@ declare enum ThumbnailFormat {
|
|
|
6642
6643
|
/**
|
|
6643
6644
|
* @generated from enum value: THUMBNAIL_FORMAT_WEBP = 3;
|
|
6644
6645
|
*/
|
|
6645
|
-
WEBP = 3
|
|
6646
|
+
WEBP = 3,
|
|
6647
|
+
/**
|
|
6648
|
+
* Animated mode only: produce just the muted MP4 loop (no animated WebP).
|
|
6649
|
+
* Rejected on single/interval/sprite/timestamps specs. Unset format on an
|
|
6650
|
+
* animated spec still produces both artifacts.
|
|
6651
|
+
*
|
|
6652
|
+
* @generated from enum value: THUMBNAIL_FORMAT_MP4 = 4;
|
|
6653
|
+
*/
|
|
6654
|
+
MP4 = 4
|
|
6646
6655
|
}
|
|
6647
6656
|
/**
|
|
6648
6657
|
* Thumbnail generation specification.
|
|
@@ -6750,7 +6759,7 @@ declare class ThumbnailSpec extends Message<ThumbnailSpec> {
|
|
|
6750
6759
|
durationSeconds?: number;
|
|
6751
6760
|
/**
|
|
6752
6761
|
* Frames per second of the animated preview (animated mode only).
|
|
6753
|
-
* Range: 8-
|
|
6762
|
+
* Range: 8-30. Default (unset): 12, applied worker-side. Only valid for
|
|
6754
6763
|
* animated mode.
|
|
6755
6764
|
*
|
|
6756
6765
|
* @generated from field: optional int32 fps = 12;
|
|
@@ -13317,7 +13326,7 @@ declare class Transcodely {
|
|
|
13317
13326
|
}
|
|
13318
13327
|
|
|
13319
13328
|
/** SDK version. Bumped by release-please from package.json on each tag. */
|
|
13320
|
-
declare const SDK_VERSION = "0.3.
|
|
13329
|
+
declare const SDK_VERSION = "0.3.3";
|
|
13321
13330
|
/**
|
|
13322
13331
|
* API version this SDK release is pinned to. Sent on every request as
|
|
13323
13332
|
* `Transcodely-Version`. Customers can override per-client via the
|
package/dist/index.d.ts
CHANGED
|
@@ -6600,7 +6600,8 @@ declare enum ThumbnailMode {
|
|
|
6600
6600
|
* Free and bundled — animated previews add NO cost to a job (thumbnails are
|
|
6601
6601
|
* priced at 0). By default the worker produces BOTH an animated WebP and a
|
|
6602
6602
|
* muted MP4 loop from the same samples, so a consumer can pick whichever its
|
|
6603
|
-
* surface supports. Set `format = webp` to emit only the WebP
|
|
6603
|
+
* surface supports. Set `format = webp` to emit only the WebP, or
|
|
6604
|
+
* `format = mp4` to emit only the MP4 loop.
|
|
6604
6605
|
*
|
|
6605
6606
|
* Sampling is deterministic: unless `start_offsets` is set, clips are taken at
|
|
6606
6607
|
* fixed 25% / 50% / 75% marks of the source duration (no scene detection).
|
|
@@ -6642,7 +6643,15 @@ declare enum ThumbnailFormat {
|
|
|
6642
6643
|
/**
|
|
6643
6644
|
* @generated from enum value: THUMBNAIL_FORMAT_WEBP = 3;
|
|
6644
6645
|
*/
|
|
6645
|
-
WEBP = 3
|
|
6646
|
+
WEBP = 3,
|
|
6647
|
+
/**
|
|
6648
|
+
* Animated mode only: produce just the muted MP4 loop (no animated WebP).
|
|
6649
|
+
* Rejected on single/interval/sprite/timestamps specs. Unset format on an
|
|
6650
|
+
* animated spec still produces both artifacts.
|
|
6651
|
+
*
|
|
6652
|
+
* @generated from enum value: THUMBNAIL_FORMAT_MP4 = 4;
|
|
6653
|
+
*/
|
|
6654
|
+
MP4 = 4
|
|
6646
6655
|
}
|
|
6647
6656
|
/**
|
|
6648
6657
|
* Thumbnail generation specification.
|
|
@@ -6750,7 +6759,7 @@ declare class ThumbnailSpec extends Message<ThumbnailSpec> {
|
|
|
6750
6759
|
durationSeconds?: number;
|
|
6751
6760
|
/**
|
|
6752
6761
|
* Frames per second of the animated preview (animated mode only).
|
|
6753
|
-
* Range: 8-
|
|
6762
|
+
* Range: 8-30. Default (unset): 12, applied worker-side. Only valid for
|
|
6754
6763
|
* animated mode.
|
|
6755
6764
|
*
|
|
6756
6765
|
* @generated from field: optional int32 fps = 12;
|
|
@@ -13317,7 +13326,7 @@ declare class Transcodely {
|
|
|
13317
13326
|
}
|
|
13318
13327
|
|
|
13319
13328
|
/** SDK version. Bumped by release-please from package.json on each tag. */
|
|
13320
|
-
declare const SDK_VERSION = "0.3.
|
|
13329
|
+
declare const SDK_VERSION = "0.3.3";
|
|
13321
13330
|
/**
|
|
13322
13331
|
* API version this SDK release is pinned to. Sent on every request as
|
|
13323
13332
|
* `Transcodely-Version`. Customers can override per-client via the
|
package/dist/index.mjs
CHANGED
|
@@ -8694,13 +8694,15 @@ var ThumbnailFormat = /* @__PURE__ */ ((ThumbnailFormat2) => {
|
|
|
8694
8694
|
ThumbnailFormat2[ThumbnailFormat2["JPEG"] = 1] = "JPEG";
|
|
8695
8695
|
ThumbnailFormat2[ThumbnailFormat2["PNG"] = 2] = "PNG";
|
|
8696
8696
|
ThumbnailFormat2[ThumbnailFormat2["WEBP"] = 3] = "WEBP";
|
|
8697
|
+
ThumbnailFormat2[ThumbnailFormat2["MP4"] = 4] = "MP4";
|
|
8697
8698
|
return ThumbnailFormat2;
|
|
8698
8699
|
})(ThumbnailFormat || {});
|
|
8699
8700
|
proto3.util.setEnumType(ThumbnailFormat, "transcodely.v1.ThumbnailFormat", [
|
|
8700
8701
|
{ no: 0, name: "THUMBNAIL_FORMAT_UNSPECIFIED" },
|
|
8701
8702
|
{ no: 1, name: "THUMBNAIL_FORMAT_JPEG" },
|
|
8702
8703
|
{ no: 2, name: "THUMBNAIL_FORMAT_PNG" },
|
|
8703
|
-
{ no: 3, name: "THUMBNAIL_FORMAT_WEBP" }
|
|
8704
|
+
{ no: 3, name: "THUMBNAIL_FORMAT_WEBP" },
|
|
8705
|
+
{ no: 4, name: "THUMBNAIL_FORMAT_MP4" }
|
|
8704
8706
|
]);
|
|
8705
8707
|
var ThumbnailSpec = class _ThumbnailSpec extends Message {
|
|
8706
8708
|
/**
|
|
@@ -8802,7 +8804,7 @@ var ThumbnailSpec = class _ThumbnailSpec extends Message {
|
|
|
8802
8804
|
durationSeconds;
|
|
8803
8805
|
/**
|
|
8804
8806
|
* Frames per second of the animated preview (animated mode only).
|
|
8805
|
-
* Range: 8-
|
|
8807
|
+
* Range: 8-30. Default (unset): 12, applied worker-side. Only valid for
|
|
8806
8808
|
* animated mode.
|
|
8807
8809
|
*
|
|
8808
8810
|
* @generated from field: optional int32 fps = 12;
|
|
@@ -14746,7 +14748,7 @@ function backoff(attempt) {
|
|
|
14746
14748
|
}
|
|
14747
14749
|
|
|
14748
14750
|
// src/version.ts
|
|
14749
|
-
var SDK_VERSION = "0.3.
|
|
14751
|
+
var SDK_VERSION = "0.3.3";
|
|
14750
14752
|
var API_VERSION = "2026-05-03";
|
|
14751
14753
|
var DEFAULT_BASE_URL = "https://api.transcodely.com";
|
|
14752
14754
|
|