@rankwrangler/http-client 0.8.0 → 0.9.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.
@@ -347,10 +347,9 @@ export interface ProductSearch {
347
347
  product: ProductSearchProduct;
348
348
  }>;
349
349
  }
350
- export type BasicProduct = {
350
+ export interface BasicProduct {
351
351
  marketplaceId: string;
352
352
  asin: string;
353
- status: "available";
354
353
  title: string | null;
355
354
  thumbnail: {
356
355
  status: "available";
@@ -358,11 +357,8 @@ export type BasicProduct = {
358
357
  } | {
359
358
  status: "unavailable";
360
359
  };
361
- } | {
362
- marketplaceId: string;
363
- asin: string;
364
- status: "unavailable";
365
- };
360
+ isUnavailable: boolean;
361
+ }
366
362
  export interface ProductHistorySummary {
367
363
  first: number | null;
368
364
  latest: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rankwrangler/http-client",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Typed tRPC client for RankWrangler",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",