@vercel/og 0.6.2 → 0.6.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/dist/index.edge.js +5 -1
- package/dist/index.edge.js.map +1 -1
- package/dist/index.node.js +5 -1
- package/dist/index.node.js.map +1 -1
- package/dist/og.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.edge.js
CHANGED
|
@@ -18784,7 +18784,11 @@ async function render(satori, resvg, opts, defaultFonts, element) {
|
|
|
18784
18784
|
value: options.width
|
|
18785
18785
|
}
|
|
18786
18786
|
});
|
|
18787
|
-
|
|
18787
|
+
const pngData = resvgJS.render();
|
|
18788
|
+
const pngBuffer = pngData.asPng();
|
|
18789
|
+
pngData.free();
|
|
18790
|
+
resvgJS.free();
|
|
18791
|
+
return pngBuffer;
|
|
18788
18792
|
}
|
|
18789
18793
|
|
|
18790
18794
|
// src/figma/index.tsx
|