Tested Library Version: 2.1.2-beta & 1.11.0
Node / TypeScript Version: Node v22.19.0 / TypeScript 5.9.2
Description:
When using getImages and passing the query parameter svg_outline_text: false, the parameter is removed by the internal toQueryParams function in index.js and is not sent to the Figma API endpoint.
This happens in the function:
function toQueryParams(x) {
if (!x) return "";
return Object.entries(x)
.map(([k, v]) => k && v && `${k}=${encodeURIComponent(v)}`)
.filter(Boolean)
.join("&");
}
Thank you for your work on this library!