@autoblogwriter/sdk 3.0.2 → 3.0.4

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/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-BGEL2I_1.cjs';
2
- export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-BGEL2I_1.cjs';
1
+ import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-DuDmhtM7.cjs';
2
+ export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-DuDmhtM7.cjs';
3
3
  export { createRevalidateRouteHandler, verifyWebhookSignature } from './revalidate.cjs';
4
- export { N as NextMetadata, b as buildNextMetadata } from './metadata-B1qgCykd.cjs';
4
+ export { N as NextMetadata, b as buildNextMetadata } from './metadata-DaBB2mdh.cjs';
5
5
 
6
6
  interface AutoBlogWriterClient {
7
7
  getPosts(params?: {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-BGEL2I_1.js';
2
- export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-BGEL2I_1.js';
1
+ import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-DuDmhtM7.js';
2
+ export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-DuDmhtM7.js';
3
3
  export { createRevalidateRouteHandler, verifyWebhookSignature } from './revalidate.js';
4
- export { N as NextMetadata, b as buildNextMetadata } from './metadata-e3-91L92.js';
4
+ export { N as NextMetadata, b as buildNextMetadata } from './metadata-Du-JkBih.js';
5
5
 
6
6
  interface AutoBlogWriterClient {
7
7
  getPosts(params?: {
@@ -1,4 +1,4 @@
1
- import { B as BlogPost } from './types-BGEL2I_1.cjs';
1
+ import { B as BlogPost } from './types-DuDmhtM7.cjs';
2
2
 
3
3
  interface NextMetadata {
4
4
  title?: string;
@@ -1,4 +1,4 @@
1
- import { B as BlogPost } from './types-BGEL2I_1.js';
1
+ import { B as BlogPost } from './types-DuDmhtM7.js';
2
2
 
3
3
  interface NextMetadata {
4
4
  title?: string;
package/dist/next.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { N as NextMetadata } from './metadata-B1qgCykd.cjs';
2
- import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-BGEL2I_1.cjs';
1
+ import { N as NextMetadata } from './metadata-DaBB2mdh.cjs';
2
+ import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-DuDmhtM7.cjs';
3
3
 
4
4
  interface FetchBlogPostsOptions {
5
5
  limit?: number;
package/dist/next.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { N as NextMetadata } from './metadata-e3-91L92.js';
2
- import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-BGEL2I_1.js';
1
+ import { N as NextMetadata } from './metadata-Du-JkBih.js';
2
+ import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-DuDmhtM7.js';
3
3
 
4
4
  interface FetchBlogPostsOptions {
5
5
  limit?: number;
package/dist/react.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { B as BlogPost$1 } from './types-BGEL2I_1.cjs';
2
+ import { B as BlogPost$1 } from './types-DuDmhtM7.cjs';
3
3
 
4
4
  interface MarkdownProps {
5
5
  source?: string | null;
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { B as BlogPost$1 } from './types-BGEL2I_1.js';
2
+ import { B as BlogPost$1 } from './types-DuDmhtM7.js';
3
3
 
4
4
  interface MarkdownProps {
5
5
  source?: string | null;
@@ -1,4 +1,4 @@
1
- import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-BGEL2I_1.cjs';
1
+ import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-DuDmhtM7.cjs';
2
2
 
3
3
  interface VerifyWebhookSignatureOptions {
4
4
  rawBody: string | Buffer;
@@ -1,4 +1,4 @@
1
- import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-BGEL2I_1.js';
1
+ import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-DuDmhtM7.js';
2
2
 
3
3
  interface VerifyWebhookSignatureOptions {
4
4
  rawBody: string | Buffer;
@@ -17,6 +17,14 @@ interface InternalClientConfig extends Required<Pick<AutoBlogWriterClientConfig,
17
17
  headers: Record<string, string>;
18
18
  timeoutMs?: number;
19
19
  }
20
+ interface BlogPostImageAsset {
21
+ status?: string;
22
+ style?: string;
23
+ width?: number;
24
+ height?: number;
25
+ url?: string;
26
+ createdAt?: string;
27
+ }
20
28
  interface BlogPost {
21
29
  id: string;
22
30
  title: string;
@@ -32,10 +40,15 @@ interface BlogPost {
32
40
  };
33
41
  metadata?: {
34
42
  canonicalUrl?: string;
43
+ heroImageUrl?: string;
35
44
  ogImageUrl?: string;
36
45
  readingTimeMinutes?: number;
37
46
  wordCount?: number;
38
47
  };
48
+ images?: {
49
+ hero?: BlogPostImageAsset;
50
+ og?: BlogPostImageAsset;
51
+ };
39
52
  publishedAt?: string;
40
53
  updatedAt: string;
41
54
  }
@@ -17,6 +17,14 @@ interface InternalClientConfig extends Required<Pick<AutoBlogWriterClientConfig,
17
17
  headers: Record<string, string>;
18
18
  timeoutMs?: number;
19
19
  }
20
+ interface BlogPostImageAsset {
21
+ status?: string;
22
+ style?: string;
23
+ width?: number;
24
+ height?: number;
25
+ url?: string;
26
+ createdAt?: string;
27
+ }
20
28
  interface BlogPost {
21
29
  id: string;
22
30
  title: string;
@@ -32,10 +40,15 @@ interface BlogPost {
32
40
  };
33
41
  metadata?: {
34
42
  canonicalUrl?: string;
43
+ heroImageUrl?: string;
35
44
  ogImageUrl?: string;
36
45
  readingTimeMinutes?: number;
37
46
  wordCount?: number;
38
47
  };
48
+ images?: {
49
+ hero?: BlogPostImageAsset;
50
+ og?: BlogPostImageAsset;
51
+ };
39
52
  publishedAt?: string;
40
53
  updatedAt: string;
41
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autoblogwriter/sdk",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "Official AutoBlogWriter SDK for fetching posts, building sitemaps, rendering helpers, and revalidation utilities.",
5
5
  "license": "MIT",
6
6
  "type": "module",