@bigcommerce/checkout-sdk 1.258.0 → 1.260.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/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.260.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.259.0...v1.260.0) (2022-06-27)
6
+
7
+
8
+ ### Features
9
+
10
+ * **payment:** PAYPAL-1505 removed BraintreePayPalV1Button strategy ([#1475](https://github.com/bigcommerce/checkout-sdk-js/issues/1475)) ([23978e0](https://github.com/bigcommerce/checkout-sdk-js/commit/23978e04a4d57c4761cc2f88391e45128aba4a0b))
11
+
12
+
13
+ ### Code Refactoring
14
+
15
+ * **payment:** PAYPAL-1530 removed Progressive Onboarding feature from PayPalCommerce ([#1478](https://github.com/bigcommerce/checkout-sdk-js/issues/1478)) ([5ece6a8](https://github.com/bigcommerce/checkout-sdk-js/commit/5ece6a8afa8ab7c951a3b30e251acb1589f08253))
16
+
17
+ ## [1.259.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.258.1...v1.259.0) (2022-06-21)
18
+
19
+
20
+ ### Features
21
+
22
+ * **checkout:** CHECKOUT-6765 Update checkout SDK to pass checkout Id to checkout settings api as query string ([c25f293](https://github.com/bigcommerce/checkout-sdk-js/commit/c25f2932aa6c3b1bfff59e6a99560773fdbd82c3))
23
+
24
+ ### [1.258.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.258.0...v1.258.1) (2022-06-20)
25
+
5
26
  ## [1.258.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.257.0...v1.258.0) (2022-06-20)
6
27
 
7
28
 
@@ -135,7 +135,11 @@ declare interface BraintreeError extends Error {
135
135
  details?: unknown;
136
136
  }
137
137
 
138
- declare interface BraintreePaypalCreditButtonInitializeOptions {
138
+ declare interface BraintreePaypalButtonInitializeOptions {
139
+ /**
140
+ * The ID of a container which the messaging should be inserted.
141
+ */
142
+ messagingContainerId?: string;
139
143
  /**
140
144
  * A set of styling options for the checkout button.
141
145
  */
@@ -165,19 +169,11 @@ declare interface BraintreePaypalCreditButtonInitializeOptions {
165
169
  onError?(error: BraintreeError | StandardError): void;
166
170
  }
167
171
 
168
- declare interface BraintreePaypalV1ButtonInitializeOptions {
169
- /**
170
- * The ID of a container which the messaging should be inserted.
171
- */
172
- messagingContainerId?: string;
172
+ declare interface BraintreePaypalCreditButtonInitializeOptions {
173
173
  /**
174
174
  * A set of styling options for the checkout button.
175
175
  */
176
176
  style?: Pick<PaypalButtonStyleOptions, 'layout' | 'size' | 'color' | 'label' | 'shape' | 'tagline' | 'fundingicons' | 'height'>;
177
- /**
178
- * Whether or not to show a credit button.
179
- */
180
- allowCredit?: boolean;
181
177
  /**
182
178
  * Address to be used for shipping.
183
179
  * If not provided, it will use the first saved address from the active customer.
@@ -244,17 +240,12 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
244
240
  * The options that are required to facilitate Braintree PayPal. They can be
245
241
  * omitted unless you need to support Braintree PayPal.
246
242
  */
247
- braintreepaypal?: BraintreePaypalV1ButtonInitializeOptions;
248
- /**
249
- * The options that are required to facilitate Braintree Credit. They can be
250
- * omitted unless you need to support Braintree Credit.
251
- */
252
- braintreepaypalcredit?: BraintreePaypalV1ButtonInitializeOptions;
243
+ braintreepaypal?: BraintreePaypalButtonInitializeOptions;
253
244
  /**
254
245
  * The options that are required to facilitate Braintree Credit. They can be
255
246
  * omitted unless you need to support Braintree Credit.
256
247
  */
257
- braintreepaypalcreditv2?: BraintreePaypalCreditButtonInitializeOptions;
248
+ braintreepaypalcredit?: BraintreePaypalCreditButtonInitializeOptions;
258
249
  /**
259
250
  * The options that are required to facilitate Braintree Venmo. They can be
260
251
  * omitted unless you need to support Braintree Venmo.