@infrab4a/connect 5.3.0-beta.11 → 5.3.0-beta.13

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
@@ -831,8 +831,8 @@ class ProductReview extends BaseModel {
831
831
  }
832
832
  }
833
833
  tslib.__decorate([
834
- classTransformer.Type(() => Product),
835
- tslib.__metadata("design:type", Array)
834
+ classTransformer.Type(() => resolveClass('Product')),
835
+ tslib.__metadata("design:type", Product)
836
836
  ], ProductReview.prototype, "product", void 0);
837
837
 
838
838
  class ProductBase extends BaseModel {
package/index.esm.js CHANGED
@@ -807,8 +807,8 @@ class ProductReview extends BaseModel {
807
807
  }
808
808
  }
809
809
  __decorate([
810
- Type(() => Product),
811
- __metadata("design:type", Array)
810
+ Type(() => resolveClass('Product')),
811
+ __metadata("design:type", Product)
812
812
  ], ProductReview.prototype, "product", void 0);
813
813
 
814
814
  class ProductBase extends BaseModel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.3.0-beta.11",
3
+ "version": "5.3.0-beta.13",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -17,6 +17,6 @@ export declare class ProductReview extends BaseModel<ProductReview> {
17
17
  orderId?: string;
18
18
  createdAt?: Date;
19
19
  updatedAt?: Date;
20
- product?: Product[];
20
+ product?: Product;
21
21
  static get identifiersFields(): GenericIdentifier[];
22
22
  }