@liquidcommerce/elements-sdk 2.6.0-beta.4 → 2.6.0-beta.5

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.
@@ -8,10 +8,11 @@ export interface IProductDrawerStore {
8
8
  isOpen: boolean;
9
9
  contentConfig: IProductDrawerContentConfig | null;
10
10
  }
11
- export type IProductFulfillmentStore = IProductVariant & IFulfillment & {
11
+ export type IProductFulfillmentStore = IFulfillment & {
12
12
  retailerName: string;
13
13
  retailerAddress: IRetailerAddress;
14
14
  retailerAddressFormatted: string;
15
+ variant: IProductVariant;
15
16
  };
16
17
  export interface IProductSizeStore extends Omit<IProductSize, 'shippingVariants' | 'onDemandVariants'> {
17
18
  onDemandFulfillments: Record<string, IProductFulfillmentStore>;
@@ -13,7 +13,6 @@ export interface IProductVariant {
13
13
  shippingFulfillmentId: string;
14
14
  onDemandFulfillmentId: string;
15
15
  isEngravable: boolean;
16
- fulfillmentTypes: FulfillmentType[];
17
16
  partNumber: string;
18
17
  price: number;
19
18
  stock: number;
@@ -29,6 +28,7 @@ export interface IProductSize {
29
28
  image: string;
30
29
  uom: string;
31
30
  volume: string;
31
+ maxQuantityPerOrder: number;
32
32
  attributes: IProductSizeAttributes;
33
33
  shippingVariants: Record<string, IProductVariant>;
34
34
  onDemandVariants: Record<string, IProductVariant>;
@@ -69,8 +69,8 @@ export interface IProduct {
69
69
  sizes: Record<string, IProductSize>;
70
70
  }
71
71
  export interface IFulfillment {
72
- fulfillmentId: string;
73
- fulfillmentType: FulfillmentType;
72
+ id: string;
73
+ type: FulfillmentType;
74
74
  doesAllowGiftCards: boolean;
75
75
  doesAllowPromos: boolean;
76
76
  expectationText: string;
@@ -97,7 +97,6 @@ export interface IProductSizeEngraving {
97
97
  export interface IProductSizeAttributes {
98
98
  presale: IProductPresale;
99
99
  engraving: IProductSizeEngraving;
100
- maxQuantityPerOrder: number;
101
100
  }
102
101
  export interface IProductPresale {
103
102
  canPurchaseOn: null | string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LiquidCommerce Elements SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "LiquidCommerce Team",
6
- "version": "2.6.0-beta.4",
6
+ "version": "2.6.0-beta.5",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",