stripe 8.181.0 → 8.182.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
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 8.182.0 - 2021-10-14
|
|
4
|
+
* [#1271](https://github.com/stripe/stripe-node/pull/1271) API Updates
|
|
5
|
+
* Change `Charge.payment_method_details.klarna.payment_method_category`, `Charge.payment_method_details.klarna.preferred_locale`, `Checkout.Session.customer_details.phone`, and `PaymentMethod.klarna.dob` to be required
|
|
6
|
+
* Add support for new value `klarna` on enum `CheckoutSessionCreateParams.payment_method_types[]`
|
|
7
|
+
|
|
3
8
|
## 8.181.0 - 2021-10-11
|
|
4
9
|
* [#1269](https://github.com/stripe/stripe-node/pull/1269) API Updates
|
|
5
10
|
* Add support for `payment_method_category` and `preferred_locale` on `Charge.payment_method_details.klarna`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
8.
|
|
1
|
+
8.182.0
|
package/package.json
CHANGED
|
@@ -1409,13 +1409,13 @@ declare module 'stripe' {
|
|
|
1409
1409
|
* The Klarna payment method used for this transaction.
|
|
1410
1410
|
* Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
|
|
1411
1411
|
*/
|
|
1412
|
-
payment_method_category
|
|
1412
|
+
payment_method_category: string | null;
|
|
1413
1413
|
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Preferred language of the Klarna authorization page that the customer is redirected to.
|
|
1416
1416
|
* Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `it-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `fr-FR`, or `en-FR`
|
|
1417
1417
|
*/
|
|
1418
|
-
preferred_locale
|
|
1418
|
+
preferred_locale: string | null;
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
1421
|
interface Multibanco {
|
|
@@ -284,7 +284,7 @@ declare module 'stripe' {
|
|
|
284
284
|
/**
|
|
285
285
|
* The customer's phone number at the time of checkout
|
|
286
286
|
*/
|
|
287
|
-
phone
|
|
287
|
+
phone: string | null;
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
290
|
* The customer's tax exempt status at time of checkout.
|
|
@@ -1561,6 +1561,7 @@ declare module 'stripe' {
|
|
|
1561
1561
|
| 'giropay'
|
|
1562
1562
|
| 'grabpay'
|
|
1563
1563
|
| 'ideal'
|
|
1564
|
+
| 'klarna'
|
|
1564
1565
|
| 'oxxo'
|
|
1565
1566
|
| 'p24'
|
|
1566
1567
|
| 'sepa_debit'
|