@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.
package/docs/README.md CHANGED
@@ -432,6 +432,7 @@
432
432
  - [StripeElementOptions](README.md#stripeelementoptions)
433
433
  - [StripeEventType](README.md#stripeeventtype)
434
434
  - [UserExperienceSettingNames](README.md#userexperiencesettingnames)
435
+ - [UserExperienceSettings](README.md#userexperiencesettings)
435
436
 
436
437
  ### Functions
437
438
 
@@ -732,6 +733,12 @@ ___
732
733
 
733
734
  Ƭ **UserExperienceSettingNames**: ``"walletButtonsOnTop"``
734
735
 
736
+ ___
737
+
738
+ ### UserExperienceSettings
739
+
740
+ Ƭ **UserExperienceSettings**: { [key in UserExperienceSettingNames]: boolean }
741
+
735
742
  ## Functions
736
743
 
737
744
  ### createBodlService
@@ -45,13 +45,7 @@ ___
45
45
 
46
46
  ### checkoutUserExperienceSettings
47
47
 
48
- • **checkoutUserExperienceSettings**: `Object`
49
-
50
- #### Type declaration
51
-
52
- | Name | Type |
53
- | :------ | :------ |
54
- | `walletButtonsOnTop` | `boolean` |
48
+ • **checkoutUserExperienceSettings**: [`UserExperienceSettings`](../README.md#userexperiencesettings)
55
49
 
56
50
  ___
57
51
 
@@ -35,6 +35,7 @@ checkout information, such as shipping and billing details.
35
35
  - [getShippingCountries](CheckoutStoreSelector.md#getshippingcountries)
36
36
  - [getShippingOptions](CheckoutStoreSelector.md#getshippingoptions)
37
37
  - [getSignInEmail](CheckoutStoreSelector.md#getsigninemail)
38
+ - [getUserExperienceSettings](CheckoutStoreSelector.md#getuserexperiencesettings)
38
39
  - [isPaymentDataRequired](CheckoutStoreSelector.md#ispaymentdatarequired)
39
40
  - [isPaymentDataSubmitted](CheckoutStoreSelector.md#ispaymentdatasubmitted)
40
41
 
@@ -447,6 +448,20 @@ The sign-in email object if sent, otherwise undefined
447
448
 
448
449
  ___
449
450
 
451
+ ### getUserExperienceSettings
452
+
453
+ ▸ **getUserExperienceSettings**(): `undefined` \| [`UserExperienceSettings`](../README.md#userexperiencesettings)
454
+
455
+ Gets user experience settings.
456
+
457
+ #### Returns
458
+
459
+ `undefined` \| [`UserExperienceSettings`](../README.md#userexperiencesettings)
460
+
461
+ The object of user experience settings if it is loaded, otherwise undefined.
462
+
463
+ ___
464
+
450
465
  ### isPaymentDataRequired
451
466
 
452
467
  ▸ **isPaymentDataRequired**(`useStoreCredit?`): `boolean`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.341.0",
3
+ "version": "1.343.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",