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 +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/OgImage/Cached.d.ts +2 -1
- package/dist/runtime/components/OgImage/Screenshot.d.ts +3 -1
- package/dist/runtime/components/OgImage/_OgImageDynamic.d.ts +2 -1
- package/dist/runtime/components/OgImage/_OgImageStatic.d.ts +2 -1
- package/dist/runtime/components/OgImage/index.d.ts +2 -1
- package/dist/runtime/components/OgImage/index.mjs +1 -0
- package/dist/runtime/composables/defineOgImage.mjs +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
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
|
-
|
|
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
|
-
|
|
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<
|
|
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<
|
|
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
|
-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { withBase } from "ufo";
|
|
2
|
-
import {
|
|
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();
|