Merge to beta#2768
Merged
Merged
Conversation
* fix v1 accounts endpoint * Add test
* Pin @types/node to ~22.19 in CJS type test projects @types/node@22.20.0 introduced web-globals/streams.d.ts with circular type references (CompressionStream, DecompressionStream) that TypeScript 5.9 now rejects. Since lock files are gitignored, CI picked up 22.20.0 as soon as it published and started failing. Pinning to ~22.19 keeps the range at 22.19.x until @types/node fixes the upstream issue. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Committed-By-Agent: claude * Also pin @types/node to ~22.19 in cjs-ts test project Same issue as types-cjs and types-cjs-node16 — cjs-ts runs tsc with @types/node ~22 and typescript ^5.9.3, which would hit the same 22.20.0 circular reference failure via integrations-test. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Committed-By-Agent: claude --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…2765) * fix: regenerate types for CJS companion namespace access at all depths Regenerated from stripe/sdk-codegen#3768 which fixes: - Resource sub-types (e.g. Stripe.Price.Recurring) now accessible in CJS - Nested resource types (e.g. Stripe.Billing.Alert.Status) now accessible in both CJS and ESM - Deep params namespaces (e.g. AccountCreateParams.BusinessProfile.AnnualRevenue) now accessible in CJS Fixes #2683 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Committed-By-Agent: claude * test: add regression tests for nested namespace type access Adds type assertions for patterns that were previously broken in CJS (and some in ESM too): - Resource sub-types: Stripe.Price.Recurring, Stripe.Customer.InvoiceSettings - Deep resource sub-types: Stripe.Subscription.BillingMode.Type - Nested resource sub-types: Stripe.Billing.Alert.Status, Stripe.Terminal.Configuration.Tipping, Stripe.Apps.Secret.Scope - Deep params: Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue Added to both testProjects/types/ (ESM) and testProjects/types-cjs-node16/ (CJS) so both declaration files are covered. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Committed-By-Agent: claude * test: add namespace regression tests to types-cjs project Same coverage as types/ and types-cjs-node16/ — covers module: commonjs / moduleResolution: node resolution mode. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Committed-By-Agent: claude --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
#2766) * alias Stripe as Stripe_ and updated manual code, regenerated from spec * missed some renames
fix: use --loglevel error instead of silent for format step --loglevel silent swallows all prettier output, including parse errors. Switching to --loglevel error still suppresses the normal "reformatted N files" chatter but surfaces actual failures (e.g. merge markers, syntax errors in generated code). Committed-By-Agent: claude Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude # Conflicts: # CHANGELOG.md # VERSION # package.json # src/resources/Checkout/Sessions.ts # src/resources/FinancialConnections/Accounts.ts # src/resources/FinancialConnections/Sessions.ts # src/resources/Radar/PaymentEvaluations.ts # src/resources/Tax/CalculationLineItems.ts # src/resources/Tax/Calculations.ts # src/resources/Tax/Registrations.ts # src/resources/Tax/Transactions.ts # src/resources/Terminal/Configurations.ts # src/resources/Terminal/Readers.ts # src/resources/Treasury/FinancialAccountFeatures.ts # src/resources/Treasury/OutboundTransfers.ts # src/resources/Treasury/ReceivedCredits.ts # src/resources/Treasury/ReceivedDebits.ts # src/resources/V2/Core/AccountLinks.ts # src/resources/V2/Core/Accounts.ts # src/stripe.cjs.node.ts # src/stripe.core.ts # src/stripe.esm.node.ts
kidus-stripe
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why?
Routine merge of master changes into the
betarelease channel.What?
Merged master into
betausing sdk-codegen's automerge tooling (tools/automerge/node-beta.yaml). All conflicts were resolved automatically (VERSION, package.json, PACKAGE_VERSION took ours; CHANGELOG merged; generated code chunks merged).See Also