@infrab4a/connect 5.4.0-beta.2 → 5.4.0-beta.3

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/index.cjs.js CHANGED
@@ -871,12 +871,7 @@ class Variant extends ProductBase {
871
871
  static get identifiersFields() {
872
872
  return ['id', 'productId'];
873
873
  }
874
- }
875
- tslib.__decorate([
876
- classTransformer.Type(() => Product),
877
- tslib.__metadata("design:type", Product)
878
- ], Variant.prototype, "product", void 0);
879
- registerClass('Product', Product);
874
+ }
880
875
 
881
876
  class Product extends ProductBase {
882
877
  }
package/index.esm.js CHANGED
@@ -847,12 +847,7 @@ class Variant extends ProductBase {
847
847
  static get identifiersFields() {
848
848
  return ['id', 'productId'];
849
849
  }
850
- }
851
- __decorate([
852
- Type(() => Product),
853
- __metadata("design:type", Product)
854
- ], Variant.prototype, "product", void 0);
855
- registerClass('Product', Product);
850
+ }
856
851
 
857
852
  class Product extends ProductBase {
858
853
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.4.0-beta.2",
3
+ "version": "5.4.0-beta.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -1,10 +1,8 @@
1
- import { Product } from './product';
2
1
  import { ProductBase } from './product-base';
3
2
  import { VariantGrade } from './types';
4
3
  export type ProductVariantIdentifiers = 'id' | 'productId';
5
4
  export declare class Variant extends ProductBase<Variant, ProductVariantIdentifiers> {
6
5
  productId: string;
7
6
  grade?: VariantGrade[];
8
- product?: Product;
9
7
  static get identifiersFields(): ProductVariantIdentifiers[];
10
8
  }