@liquidcommerce/elements-sdk 2.6.0-beta.53 → 2.6.0-beta.55

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.
@@ -19,7 +19,7 @@ export declare class ApiClientService {
19
19
  getAddressDetails(id: string): Promise<ApiResult<IAddressDetailsResult>>;
20
20
  getProductsData(identifier: string[], location?: ILocation): Promise<ApiResult<IProductAvailabilityResponse>>;
21
21
  productListSearch(params: IProductSearchParams): Promise<ApiResult<IProductSearchResponse>>;
22
- getProductAvailabilityByState(identifier: string, state: string): Promise<ApiResult<IProductAvailabilityResponse>>;
22
+ getProductAvailabilityByState(identifiers: string[], state: string): Promise<ApiResult<IProductAvailabilityResponse>>;
23
23
  getCartData(id: string | null): Promise<ApiResult<ICart>>;
24
24
  updateCart(params: ICartUpdateParams): Promise<ApiResult<ICart>>;
25
25
  prepareCheckout(params: ICheckoutPrepareParams): Promise<ApiResult<ICheckoutPrepare>>;
@@ -20,7 +20,7 @@ export interface ICheckoutActions {
20
20
  updateBillingInfo: (params: Record<BillingFieldName, string>) => void;
21
21
  updateGiftInfo: (params: Record<GiftFieldName, string>) => void;
22
22
  getDetails: () => ICheckoutDetailsEventData;
23
- getProductAvailabilityByState: (identifier: string, state: string) => Promise<IProductAvailabilityResponse>;
23
+ getProductAvailabilityByState: (identifiers: string[], state: string) => Promise<IProductAvailabilityResponse>;
24
24
  }
25
25
  export declare class ClientCheckoutActionService extends BaseActionService {
26
26
  private readonly command;
@@ -3,7 +3,7 @@ import type { IProductAvailabilityResponse } from '@/interfaces/api/product.inte
3
3
  import { BaseActionService } from './base-action.service';
4
4
  export interface IProductActions {
5
5
  getDetails: (identifier: string) => IBaseProductEventData;
6
- getProductAvailabilityByState: (identifier: string, state: string) => Promise<IProductAvailabilityResponse>;
6
+ getProductAvailabilityByState: (identifiers: string[], state: string) => Promise<IProductAvailabilityResponse>;
7
7
  }
8
8
  export declare class ClientProductActionService extends BaseActionService {
9
9
  private readonly command;
@@ -2,6 +2,8 @@ export * from './clients/builder';
2
2
  export * from './clients/main';
3
3
  export * from './core/sdk-error-handler';
4
4
  export * from './enums';
5
+ export type { LiquidCommerceGlobal } from './global';
6
+ export * from './interfaces/api';
5
7
  export * from './interfaces/client.interface';
6
8
  export * from './interfaces/component.interface';
7
9
  export * from './interfaces/config.interface';
@@ -0,0 +1,5 @@
1
+ export * from './address.interface';
2
+ export * from './cart.interface';
3
+ export * from './checkout.interface';
4
+ export * from './product.interface';
5
+ export * from './product-list.interface';
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.53",
6
+ "version": "2.6.0-beta.55",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",
@@ -81,7 +81,7 @@
81
81
  "embeddable commerce"
82
82
  ],
83
83
  "devDependencies": {
84
- "@biomejs/biome": "^2.4.2",
84
+ "@biomejs/biome": "^2.4.4",
85
85
  "@commitlint/cli": "^20.4.2",
86
86
  "@commitlint/config-conventional": "^20.4.2",
87
87
  "@rollup/plugin-alias": "^6.0.0",
@@ -101,7 +101,7 @@
101
101
  "conventional-changelog-cli": "^5.0.0",
102
102
  "husky": "^9.1.7",
103
103
  "process": "^0.11.10",
104
- "rollup": "^4.57.1",
104
+ "rollup": "^4.59.0",
105
105
  "rollup-obfuscator": "^4.1.1",
106
106
  "rollup-plugin-typescript2": "^0.36.0",
107
107
  "semantic-release": "^25.0.3",