@autoblogwriter/sdk 2.0.6 → 3.0.0

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.
@@ -1,5 +1,5 @@
1
1
  type AuthMode = "bearer" | "x-api-key";
2
- interface BlogAutoClientConfig {
2
+ interface AutoBlogWriterClientConfig {
3
3
  apiUrl: string;
4
4
  apiKey: string;
5
5
  workspaceId?: string;
@@ -9,7 +9,7 @@ interface BlogAutoClientConfig {
9
9
  headers?: Record<string, string>;
10
10
  timeoutMs?: number;
11
11
  }
12
- interface InternalClientConfig extends Required<Pick<BlogAutoClientConfig, "apiUrl" | "apiKey">> {
12
+ interface InternalClientConfig extends Required<Pick<AutoBlogWriterClientConfig, "apiUrl" | "apiKey">> {
13
13
  workspaceId?: string;
14
14
  workspaceSlug?: string;
15
15
  authMode: AuthMode;
@@ -79,7 +79,7 @@ interface BuildRobotsOptions {
79
79
  siteUrl: string;
80
80
  sitemapPath?: string;
81
81
  }
82
- interface BlogAutoRevalidatePayload {
82
+ interface AutoBlogWriterRevalidatePayload {
83
83
  workspaceSlug: string;
84
84
  postSlug?: string | null;
85
85
  event: string;
@@ -97,4 +97,4 @@ interface FetchRequestOptions {
97
97
  next?: FetchNextConfig;
98
98
  }
99
99
 
100
- export type { AuthMode as A, BlogAutoClientConfig as B, FetchRequestOptions as F, InternalClientConfig as I, MetadataRouteSitemap as M, PostsResponse as P, RevalidatePathFn as R, SitemapEntry as S, BlogPost as a, BuildSitemapOptions as b, BuildRobotsOptions as c, MetadataRouteRobots as d, PaginatedList as e, BlogAutoRevalidatePayload as f, RevalidateTagFn as g, FetchNextConfig as h };
100
+ export type { AutoBlogWriterClientConfig as A, BlogPost as B, FetchRequestOptions as F, InternalClientConfig as I, MetadataRouteSitemap as M, PostsResponse as P, RevalidatePathFn as R, SitemapEntry as S, BuildSitemapOptions as a, BuildRobotsOptions as b, MetadataRouteRobots as c, AuthMode as d, PaginatedList as e, AutoBlogWriterRevalidatePayload as f, RevalidateTagFn as g, FetchNextConfig as h };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autoblogwriter/sdk",
3
- "version": "2.0.6",
3
+ "version": "3.0.0",
4
4
  "description": "Official AutoBlogWriter SDK for fetching posts, building sitemaps, rendering helpers, and revalidation utilities.",
5
5
  "license": "MIT",
6
6
  "type": "module",