getSignedTransformUrl
function getSignedTransformUrl( asset, opts, signingKey): Promise<string> | null;Defined in: packages/asset-client/src/transform.ts:327
Build AND sign a transform URL, allowing an off-ladder custom width.
This is the escape hatch for SignedTransformOptions: off-ladder widths only pass the edge whitelist when the URL is signed, so building one and signing it must happen together. For on-ladder widths prefer the plain getTransformUrl (+ signTransformUrl if you need a signature).
Returns null only when opts serialize to an empty DSL (no transform
requested) — same contract as getTransformUrl.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
asset |
Pick<AssetDTO, "sha"> |
opts |
SignedTransformOptions |
signingKey |
string |
Returns
Section titled “Returns”Promise<string> | null