nuxt-og-image 0.4.5 → 0.4.6

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": "0.4.5"
8
+ "version": "0.4.6"
9
9
  }
package/dist/module.mjs CHANGED
@@ -178,7 +178,7 @@ declare module 'nitropack' {
178
178
  if (routeRules.ogImage === false)
179
179
  return;
180
180
  const screenshotPath = ctx._contents.match(new RegExp(`<link id="${LinkPrerenderId}" rel="prerender" href="(.*?)">`))?.[1];
181
- const fileName = `${hash({ route: ctx.route, time: Date.now() })}.png`;
181
+ const fileName = `${hash({ route: ctx.route })}.png`;
182
182
  const absoluteUrl = withBase(`${config.outputDir}/${fileName}`, config.host);
183
183
  const entry = {
184
184
  fileName,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-og-image",
3
3
  "type": "module",
4
- "version": "0.4.5",
4
+ "version": "0.4.6",
5
5
  "packageManager": "pnpm@7.8.0",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",