Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/stripe.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
requestSender: RequestSenderFactory = defaultRequestSenderFactory
): typeof Stripe {
Stripe.PACKAGE_VERSION = '18.3.0';
Stripe.API_VERSION = ApiVersion;
Stripe.USER_AGENT = {
bindings_version: Stripe.PACKAGE_VERSION,
lang: 'node',
Expand Down Expand Up @@ -188,8 +189,8 @@

Stripe.prototype = {
// Properties are set in the constructor above
_appInfo: undefined!,

Check warning on line 192 in src/stripe.core.ts

View workflow job for this annotation

GitHub Actions / Static Checks

Forbidden non-null assertion
on: null!,

Check warning on line 193 in src/stripe.core.ts

View workflow job for this annotation

GitHub Actions / Static Checks

Forbidden non-null assertion
off: null!,
once: null!,
VERSION: null!,
Expand Down
1 change: 1 addition & 0 deletions types/lib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ declare module 'stripe' {
static MAX_BUFFERED_REQUEST_METRICS: number;
}
export type LatestApiVersion = '2025-06-30.basil';
export const API_VERSION: string;
export type HttpAgent = Agent;
export type HttpProtocol = 'http' | 'https';

Expand Down
Loading