@bigcommerce/checkout-sdk 1.341.0 → 1.343.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.
@@ -3306,9 +3306,7 @@ declare interface CheckoutSettings {
3306
3306
  [featureName: string]: boolean;
3307
3307
  };
3308
3308
  checkoutBillingSameAsShippingEnabled: boolean;
3309
- checkoutUserExperienceSettings: {
3310
- [key in UserExperienceSettingNames]: boolean;
3311
- };
3309
+ checkoutUserExperienceSettings: UserExperienceSettings;
3312
3310
  enableOrderComments: boolean;
3313
3311
  enableTermsAndConditions: boolean;
3314
3312
  googleMapsApiKey: string;
@@ -3812,6 +3810,12 @@ declare interface CheckoutStoreSelector {
3812
3810
  * otherwise undefined.
3813
3811
  */
3814
3812
  getPickupOptions(consignmentId: string, searchArea: SearchArea): PickupOptionResult[] | undefined;
3813
+ /**
3814
+ * Gets user experience settings.
3815
+ *
3816
+ * @returns The object of user experience settings if it is loaded, otherwise undefined.
3817
+ */
3818
+ getUserExperienceSettings(): UserExperienceSettings | undefined;
3815
3819
  }
3816
3820
 
3817
3821
  /**
@@ -7500,6 +7504,10 @@ declare interface UnknownObject {
7500
7504
 
7501
7505
  declare type UserExperienceSettingNames = 'walletButtonsOnTop';
7502
7506
 
7507
+ declare type UserExperienceSettings = {
7508
+ [key in UserExperienceSettingNames]: boolean;
7509
+ };
7510
+
7503
7511
  declare interface VaultedInstrument {
7504
7512
  instrumentId: string;
7505
7513
  ccCvv?: string;