@kiminix/tp-client 2.8.0 → 2.8.1

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.
@@ -25,7 +25,8 @@ export interface Category {
25
25
  isPublic: boolean;
26
26
  products: Product[];
27
27
  }
28
- export interface Product {
28
+ export declare class Product {
29
+ id: string;
29
30
  label: string;
30
31
  description?: string;
31
32
  picture: string;
@@ -1,3 +1,9 @@
1
+ var Product = /** @class */ (function () {
2
+ function Product() {
3
+ }
4
+ return Product;
5
+ }());
6
+ export { Product };
1
7
  export function isAvailable(product) {
2
8
  return product.variants.map(function (variant) { return variant.isAvailable; })
3
9
  .reduce(function (a, b) { return a || b; }, false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiminix/tp-client",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [