stripe 18.3.0-beta.1 → 18.3.0-beta.2

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,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 18.3.0-beta.2 - 2025-06-26
4
+ * [#2358](https://github.com/stripe/stripe-node/pull/2358) Pull in OffSessionPayment changes for the May release
5
+
3
6
  ## 18.3.0-beta.1 - 2025-05-29
4
7
  This release changes the pinned API version to 2025-05-28.preview.
5
8
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 18.3.0-beta.1
1
+ 18.3.0-beta.2
@@ -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 = '18.3.0-beta.1';
39
+ Stripe.PACKAGE_VERSION = '18.3.0-beta.2';
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;
@@ -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 = '18.3.0-beta.1';
36
+ Stripe.PACKAGE_VERSION = '18.3.0-beta.2';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "18.3.0-beta.1",
3
+ "version": "18.3.0-beta.2",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -23,11 +23,6 @@ declare module 'stripe' {
23
23
  */
24
24
  amount_requested: Amount;
25
25
 
26
- /**
27
- * Number of authorization attempts.
28
- */
29
- attempts: number;
30
-
31
26
  /**
32
27
  * The frequency of the underlying payment that this OSP represents.
33
28
  */
@@ -153,7 +148,7 @@ declare module 'stripe' {
153
148
  /**
154
149
  * Amount in minor units that you want to transfer.
155
150
  */
156
- amount: number;
151
+ amount: number | null;
157
152
 
158
153
  /**
159
154
  * ID of the connected account where you want money to go.
@@ -79,7 +79,7 @@ declare module 'stripe' {
79
79
  /**
80
80
  * Amount in minor units that you want to transfer.
81
81
  */
82
- amount: number;
82
+ amount?: number;
83
83
 
84
84
  /**
85
85
  * ID of the connected account where you want money to go.