koishi-plugin-vercel-satori-png-service 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -298,7 +298,7 @@ var initSatori = /* @__PURE__ */ __name(async () => {
298
298
  );
299
299
  await resvg.initWasm(await import_promises.default.readFile(reSvgWasm));
300
300
  fontData = await import_promises.default.readFile(
301
- require2.resolve("./noto-sans-v27-latin-regular.ttf")
301
+ require2.resolve("../noto-sans-v27-latin-regular.ttf")
302
302
  );
303
303
  initialized = true;
304
304
  }, "initSatori");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-vercel-satori-png-service",
3
3
  "description": "Use Vercel Satori and Resvg.js to convert html to png",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "scripts": {