diff --git a/node_modules/@vercel/og/dist/index.edge.js b/node_modules/@vercel/og/dist/index.edge.js index 5187f88..c4a1c41 100644 --- a/node_modules/@vercel/og/dist/index.edge.js +++ b/node_modules/@vercel/og/dist/index.edge.js @@ -18673,8 +18673,8 @@ var Resvg2 = class extends Resvg { }; // src/index.edge.ts -import resvg_wasm from "./resvg.wasm?module"; -import yoga_wasm from "./yoga.wasm?module"; +import resvg_wasm from "./resvg.wasm"; +import yoga_wasm from "./yoga.wasm"; // src/emoji/index.ts var U200D = String.fromCharCode(8205); @@ -18809,18 +18809,18 @@ async function render(satori, resvg, opts, defaultFonts, element) { // src/index.edge.ts var initializedResvg = initWasm(resvg_wasm); var initializedYoga = initYoga(yoga_wasm).then((yoga2) => Ll(yoga2)); -var fallbackFont = fetch(new URL("./noto-sans-v27-latin-regular.ttf", import.meta.url)).then((res) => res.arrayBuffer()); +// var fallbackFont = fetch(new URL("https://fonts.gstatic.com/s/notosans/v28/o-0IIpQlx3QUlC5A4PNr6zRF.ttf", import.meta.url)).then((res) => res.arrayBuffer()); var ImageResponse = class { constructor(element, options = {}) { const result = new ReadableStream({ async start(controller) { await initializedYoga; await initializedResvg; - const fontData = await fallbackFont; + // const fontData = await fallbackFont; const fonts = [ { name: "sans serif", - data: fontData, + // data: fontData, weight: 700, style: "normal" } diff --git a/node_modules/@vercel/og/dist/types.d.ts b/node_modules/@vercel/og/dist/types.d.ts index dde26cc..eb59ff4 100644 --- a/node_modules/@vercel/og/dist/types.d.ts +++ b/node_modules/@vercel/og/dist/types.d.ts @@ -30,7 +30,7 @@ declare type ImageOptions = { * @type {{ data: ArrayBuffer; name: string; weight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900; style?: 'normal' | 'italic' }[]} * @default Noto Sans Latin Regular. */ - fonts?: SatoriOptions['fonts']; + fonts: SatoriOptions['fonts']; /** * Using a specific Emoji style. Defaults to `twemoji`. *