stripe 17.6.0-beta.2 → 17.6.0-beta.3
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 +5 -0
- package/VERSION +1 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/Charges.d.ts +3 -3
- package/types/ConfirmationTokens.d.ts +1 -1
- package/types/PaymentMethods.d.ts +1 -1
- package/types/Refunds.d.ts +2 -2
- package/types/Terminal/Readers.d.ts +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 17.6.0-beta.3 - 2025-01-23
|
|
4
|
+
* [#2253](https://github.com/stripe/stripe-node/pull/2253) Update generated code for beta
|
|
5
|
+
* Change `Refund.destination_details.blik.network_decline_code` and `Refund.destination_details.swish.network_decline_code` to be required
|
|
6
|
+
* Remove support for `stripe_account` on `Terminal.Reader.action.collect_payment_method`, `Terminal.Reader.action.confirm_payment_intent`, `Terminal.Reader.action.process_payment_intent`, and `Terminal.Reader.action.refund_payment`
|
|
7
|
+
|
|
3
8
|
## 17.6.0-beta.2 - 2025-01-17
|
|
4
9
|
* [#2247](https://github.com/stripe/stripe-node/pull/2247) Update generated code for beta
|
|
5
10
|
* Add support for `pay_by_bank_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
17.6.0-beta.
|
|
1
|
+
17.6.0-beta.3
|
package/cjs/stripe.core.js
CHANGED
|
@@ -36,7 +36,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
36
36
|
];
|
|
37
37
|
const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
38
38
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
39
|
-
Stripe.PACKAGE_VERSION = '17.6.0-beta.
|
|
39
|
+
Stripe.PACKAGE_VERSION = '17.6.0-beta.3';
|
|
40
40
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
|
|
41
41
|
Stripe.StripeResource = StripeResource_js_1.StripeResource;
|
|
42
42
|
Stripe.resources = resources;
|
package/esm/stripe.core.js
CHANGED
|
@@ -33,7 +33,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
33
33
|
];
|
|
34
34
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
35
35
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
36
|
-
Stripe.PACKAGE_VERSION = '17.6.0-beta.
|
|
36
|
+
Stripe.PACKAGE_VERSION = '17.6.0-beta.3';
|
|
37
37
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
38
38
|
Stripe.StripeResource = StripeResource;
|
|
39
39
|
Stripe.resources = resources;
|
package/package.json
CHANGED
package/types/Charges.d.ts
CHANGED
|
@@ -910,7 +910,7 @@ declare module 'stripe' {
|
|
|
910
910
|
network_token?: Card.NetworkToken | null;
|
|
911
911
|
|
|
912
912
|
/**
|
|
913
|
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
|
|
913
|
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
914
914
|
*/
|
|
915
915
|
network_transaction_id: string | null;
|
|
916
916
|
|
|
@@ -1323,7 +1323,7 @@ declare module 'stripe' {
|
|
|
1323
1323
|
network: string | null;
|
|
1324
1324
|
|
|
1325
1325
|
/**
|
|
1326
|
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
|
|
1326
|
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
1327
1327
|
*/
|
|
1328
1328
|
network_transaction_id: string | null;
|
|
1329
1329
|
|
|
@@ -1753,7 +1753,7 @@ declare module 'stripe' {
|
|
|
1753
1753
|
network: string | null;
|
|
1754
1754
|
|
|
1755
1755
|
/**
|
|
1756
|
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
|
|
1756
|
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
1757
1757
|
*/
|
|
1758
1758
|
network_transaction_id: string | null;
|
|
1759
1759
|
|
|
@@ -598,7 +598,7 @@ declare module 'stripe' {
|
|
|
598
598
|
network: string | null;
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
|
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
|
|
601
|
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
602
602
|
*/
|
|
603
603
|
network_transaction_id: string | null;
|
|
604
604
|
|
|
@@ -500,7 +500,7 @@ declare module 'stripe' {
|
|
|
500
500
|
network: string | null;
|
|
501
501
|
|
|
502
502
|
/**
|
|
503
|
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
|
|
503
|
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
504
504
|
*/
|
|
505
505
|
network_transaction_id: string | null;
|
|
506
506
|
|
package/types/Refunds.d.ts
CHANGED
|
@@ -194,7 +194,7 @@ declare module 'stripe' {
|
|
|
194
194
|
/**
|
|
195
195
|
* For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
|
196
196
|
*/
|
|
197
|
-
network_decline_code
|
|
197
|
+
network_decline_code: string | null;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* The reference assigned to the refund.
|
|
@@ -355,7 +355,7 @@ declare module 'stripe' {
|
|
|
355
355
|
/**
|
|
356
356
|
* For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
|
357
357
|
*/
|
|
358
|
-
network_decline_code
|
|
358
|
+
network_decline_code: string | null;
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* The reference assigned to the refund.
|
|
@@ -374,11 +374,6 @@ declare module 'stripe' {
|
|
|
374
374
|
* Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
|
375
375
|
*/
|
|
376
376
|
payment_method?: Stripe.PaymentMethod;
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* This field will be deprecated. Please use `account` instead.
|
|
380
|
-
*/
|
|
381
|
-
stripe_account?: string;
|
|
382
377
|
}
|
|
383
378
|
|
|
384
379
|
namespace CollectPaymentMethod {
|
|
@@ -419,11 +414,6 @@ declare module 'stripe' {
|
|
|
419
414
|
* Most recent PaymentIntent processed by the reader.
|
|
420
415
|
*/
|
|
421
416
|
payment_intent: string | Stripe.PaymentIntent;
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* This field will be deprecated. Please use `account` instead.
|
|
425
|
-
*/
|
|
426
|
-
stripe_account?: string;
|
|
427
417
|
}
|
|
428
418
|
|
|
429
419
|
interface ProcessPaymentIntent {
|
|
@@ -441,11 +431,6 @@ declare module 'stripe' {
|
|
|
441
431
|
* Represents a per-transaction override of a reader configuration
|
|
442
432
|
*/
|
|
443
433
|
process_config?: ProcessPaymentIntent.ProcessConfig;
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* This field will be deprecated. Please use `account` instead.
|
|
447
|
-
*/
|
|
448
|
-
stripe_account?: string;
|
|
449
434
|
}
|
|
450
435
|
|
|
451
436
|
namespace ProcessPaymentIntent {
|
|
@@ -552,11 +537,6 @@ declare module 'stripe' {
|
|
|
552
537
|
* Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
|
|
553
538
|
*/
|
|
554
539
|
reverse_transfer?: boolean;
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* This field will be deprecated. Please use `account` instead.
|
|
558
|
-
*/
|
|
559
|
-
stripe_account?: string;
|
|
560
540
|
}
|
|
561
541
|
|
|
562
542
|
namespace RefundPayment {
|