@kachingappz/bundles-js 1.0.1 → 1.1.0

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.
@@ -403,7 +403,7 @@ declare type DefaultSortOption = "relevance" | "newest-first" | "price-low-to-hi
403
403
 
404
404
  declare type DiscountType = "default" | "percentage" | "amount" | "specific";
405
405
 
406
- export declare const fetchKachingBundlesData: (storefront: HydrogenV2Storefront | ReactHydrogenStorefront | ShopifyStorefrontApiClient | StorefrontCredentials, { productId, dealBlockId, country, language, }: {
406
+ export declare const fetchKachingBundlesData: (storefront: HydrogenV2Storefront | HydrogenStorefrontClient | ReactHydrogenStorefront | ShopifyStorefrontApiClient | StorefrontCredentials, { productId, dealBlockId, country, language, }: {
407
407
  productId: string;
408
408
  dealBlockId?: string;
409
409
  country?: string;
@@ -507,7 +507,6 @@ declare interface GlobalConfig {
507
507
  "system.deal_page_percentage_off"?: string;
508
508
  "system.deal_page_price_each"?: string;
509
509
  "system.deal_page_quantity_for_price"?: string;
510
- "system.deal_page_save_up_to"?: string;
511
510
  "system.deal_page_in_your_box"?: string;
512
511
  "system.deal_page_in_your_box_count"?: string;
513
512
  "system.deal_page_in_box_count"?: string;
@@ -585,6 +584,7 @@ declare interface GlobalConfig {
585
584
  label?: string | null;
586
585
  };
587
586
  featureFlags: {
587
+ accelerated_checkout_additional_items?: boolean;
588
588
  atc_total_price?: boolean;
589
589
  cart_change_response_rewrite?: boolean;
590
590
  cart_interceptor_dedupe_disabled?: boolean;
@@ -630,6 +630,21 @@ declare type Highlights = {
630
630
  customIconGID?: string | null;
631
631
  };
632
632
 
633
+ declare interface HydrogenStorefrontClient {
634
+ graphql(query: string, options?: {
635
+ variables?: Record<string, unknown>;
636
+ }): Promise<{
637
+ data: unknown;
638
+ errors?: readonly {
639
+ message: string;
640
+ }[];
641
+ }>;
642
+ i18n: {
643
+ country: string;
644
+ language: string;
645
+ };
646
+ }
647
+
633
648
  declare interface HydrogenV2Storefront {
634
649
  query: (query: string, options?: {
635
650
  variables?: Record<string, unknown>;
@@ -800,6 +815,7 @@ declare type ProgressiveGifts = {
800
815
  hideLockedGifts: boolean;
801
816
  showLockedGiftLabels: boolean;
802
817
  showLockedGiftProducts: boolean;
818
+ includeInCompareAt?: boolean;
803
819
  gifts: ProgressiveGift[];
804
820
  titleColor: Color;
805
821
  titleAlignment: "start" | "center" | "end";