Skip to content

Commit bf563e1

Browse files
Bump version to 22.0.2
1 parent e01b892 commit bf563e1

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## 22.0.2 - 2026-04-16
4+
* [#2685](https://github.com/stripe/stripe-node/pull/2685) Adds `parseEventNotificationAsync` to match existing sync function
5+
* [#2681](https://github.com/stripe/stripe-node/pull/2681) Add emitEventBodies config to include bodies in request/response events
6+
- Added `emitEventBodies` config option to include request and response bodies in `request`/`response` events.
7+
- Changed `httpClient` config type from `HttpClient` class to `HttpClientInterface` interface.
8+
* [#2670](https://github.com/stripe/stripe-node/pull/2670) tolerance, receivedAt, timestamp are now optional in Webhook.ts
9+
* [#2677](https://github.com/stripe/stripe-node/pull/2677) Fixed named export for Bun
10+
```ts
11+
// ✅ Fixed
12+
import { Stripe } from 'stripe';
13+
```
14+
315
## 22.0.1 - 2026-04-08
416
* [#2669](https://github.com/stripe/stripe-node/pull/2669) Add constructor based initialization for CJS based TypeScript imports
517
* Initialization of Stripe class with `new` keyword is now possible for CJS based TypeScript project. Resolves: [2660](https://github.com/stripe/stripe-node/issues/2660)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.0.1
1+
22.0.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stripe",
3-
"version": "22.0.1",
3+
"version": "22.0.2",
44
"description": "Stripe API wrapper",
55
"keywords": [
66
"stripe",

src/stripe.core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ const defaultRequestSenderFactory: RequestSenderFactory = (stripe) =>
938938
new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
939939

940940
export class Stripe {
941-
static PACKAGE_VERSION = '22.0.1';
941+
static PACKAGE_VERSION = '22.0.2';
942942
static API_VERSION: typeof ApiVersion = ApiVersion;
943943
static aiAgent =
944944
typeof process !== 'undefined' && process.env

src/stripe.esm.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ const defaultRequestSenderFactory: RequestSenderFactory = (stripe) =>
939939
new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
940940

941941
export class Stripe {
942-
static PACKAGE_VERSION = '22.0.1';
942+
static PACKAGE_VERSION = '22.0.2';
943943
static API_VERSION: typeof ApiVersion = ApiVersion;
944944
static aiAgent =
945945
typeof process !== 'undefined' && process.env

0 commit comments

Comments
 (0)