nuxt-og-image 2.0.0-beta.60 → 2.0.0-beta.62

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.60"
8
+ "version": "2.0.0-beta.62"
9
9
  }
package/dist/module.mjs CHANGED
@@ -284,7 +284,8 @@ const autodetectableProviders = {
284
284
  netlify: "netlify",
285
285
  stormkit: "stormkit",
286
286
  vercel: "vercel",
287
- cleavr: "cleavr"
287
+ cleavr: "cleavr",
288
+ stackblitz: "stackblitz"
288
289
  };
289
290
  const autodetectableStaticProviders = {
290
291
  netlify: "netlify-static",
@@ -1,4 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
1
+ import type { OgImageOptions } from '../../../types';
2
+ declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<OgImageOptions>>, {
2
3
  [x: string]: any;
3
4
  }, {}>;
4
5
  export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<OgImageScreenshotOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
1
+ import type { OgImageScreenshotOptions } from '../../../types';
2
+ declare const _default: import("vue").DefineComponent<OgImageScreenshotOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<OgImageScreenshotOptions>>, {
2
3
  [x: string]: any;
4
+ [x: number]: any;
3
5
  }, {}>;
4
6
  export default _default;
@@ -1,7 +1,8 @@
1
+ import type { OgImageOptions } from '../../../types';
1
2
  /**
2
3
  * @deprecated Use OgImageWithoutCache
3
4
  */
4
- declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<OgImageOptions>>, {
5
6
  [x: string]: any;
6
7
  }, {}>;
7
8
  export default _default;
@@ -1,7 +1,8 @@
1
+ import type { OgImageOptions } from '../../../types';
1
2
  /**
2
3
  * @deprecated Use OgImageCached instead
3
4
  */
4
- declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<OgImageOptions>>, {
5
6
  [x: string]: any;
6
7
  }, {}>;
7
8
  export default _default;
@@ -1,4 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
1
+ import type { OgImageOptions } from '../../../types';
2
+ declare const _default: import("vue").DefineComponent<OgImageOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<OgImageOptions>>, {
2
3
  [x: string]: any;
3
4
  }, {}>;
4
5
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { defineComponent } from "vue";
2
+ import { defineOgImage } from "#imports";
2
3
  export default defineComponent({
3
4
  name: "OgImage",
4
5
  async setup(_, { attrs }) {
@@ -1,6 +1,6 @@
1
1
  import { withBase } from "ufo";
2
- import { useRequestEvent } from "#app";
3
- import { useNitroOrigin, useRouter, useRuntimeConfig, useServerHead, useSiteConfig } from "#imports";
2
+ import { unref } from "vue";
3
+ import { useNitroOrigin, useRequestEvent, useRouter, useRuntimeConfig, useServerHead, useSiteConfig } from "#imports";
4
4
  import { componentNames } from "#build/og-image-component-names.mjs";
5
5
  export function defineOgImageScreenshot(options = {}) {
6
6
  const router = useRouter();
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.60",
4
+ "version": "2.0.0-beta.62",
5
5
  "packageManager": "pnpm@8.6.0",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",