perspectapi-ts-sdk 5.1.0 → 5.3.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.
package/dist/index.d.mts CHANGED
@@ -3139,6 +3139,7 @@ interface V2ContentListParams extends V2PaginationParams {
3139
3139
  type?: "post" | "page" | "block";
3140
3140
  search?: string;
3141
3141
  slug_prefix?: string;
3142
+ category?: string;
3142
3143
  }
3143
3144
  interface V2Product extends V2Object {
3144
3145
  object: "product";
package/dist/index.d.ts CHANGED
@@ -3139,6 +3139,7 @@ interface V2ContentListParams extends V2PaginationParams {
3139
3139
  type?: "post" | "page" | "block";
3140
3140
  search?: string;
3141
3141
  slug_prefix?: string;
3142
+ category?: string;
3142
3143
  }
3143
3144
  interface V2Product extends V2Object {
3144
3145
  object: "product";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perspectapi-ts-sdk",
3
- "version": "5.1.0",
3
+ "version": "5.3.0",
4
4
  "description": "TypeScript SDK for PerspectAPI - Cloudflare Workers compatible",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/v2/types.ts CHANGED
@@ -89,6 +89,7 @@ export interface V2ContentListParams extends V2PaginationParams {
89
89
  type?: "post" | "page" | "block";
90
90
  search?: string;
91
91
  slug_prefix?: string;
92
+ category?: string;
92
93
  }
93
94
 
94
95
  // --- Products ---