nuxt-og-image 2.0.0-beta.12 → 2.0.0-beta.13

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/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "bridge": false
6
6
  },
7
7
  "configKey": "ogImage",
8
- "version": "2.0.0-beta.12"
8
+ "version": "2.0.0-beta.13"
9
9
  }
@@ -4,7 +4,8 @@ export default async function(svg, options) {
4
4
  const loader = wasmLoader("/* NUXT_OG_IMAGE_SVG2PNG_WASM */", "/svg2png.wasm", options.baseUrl);
5
5
  if (!await loader.loaded()) {
6
6
  await initialize(await loader.load()).catch((e) => {
7
- console.log("svg2png wasm failed to load", e);
7
+ if (!e.message.trim().endsWith("function can be used only once."))
8
+ throw e;
8
9
  });
9
10
  }
10
11
  return await svg2png(svg, options);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-og-image",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.12",
4
+ "version": "2.0.0-beta.13",
5
5
  "packageManager": "pnpm@8.1.0",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",