@vercel/og 0.7.1 → 0.7.2
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 -3
- package/dist/index.edge.js.map +1 -1
- package/package.json +1 -1
package/dist/index.edge.js
CHANGED
|
@@ -20090,9 +20090,11 @@ var ImageResponse = class extends Response {
|
|
|
20090
20090
|
constructor(element, options = {}) {
|
|
20091
20091
|
const result = new ReadableStream({
|
|
20092
20092
|
async start(controller) {
|
|
20093
|
-
await
|
|
20094
|
-
|
|
20095
|
-
|
|
20093
|
+
const [fontData] = await Promise.all([
|
|
20094
|
+
fallbackFont,
|
|
20095
|
+
initializedYoga,
|
|
20096
|
+
initializedResvg
|
|
20097
|
+
]);
|
|
20096
20098
|
const fonts = [
|
|
20097
20099
|
{
|
|
20098
20100
|
name: "sans serif",
|