Skip to content

Fix WinterTC lint issue in beta branch#2722

Closed
jar-stripe wants to merge 1 commit into
betafrom
jar/fix-linting
Closed

Fix WinterTC lint issue in beta branch#2722
jar-stripe wants to merge 1 commit into
betafrom
jar/fix-linting

Conversation

@jar-stripe
Copy link
Copy Markdown
Contributor

@jar-stripe jar-stripe commented May 20, 2026

Why?

#2715 added a lint rule to ensure we conform to the WinterTC Minimum Web Platform API standard. The EventNotificationHandler class in the private-preview uses Buffer which is not allowed by these rules.

What?

  • replaced Buffer with Uint8Array in src/StripeEventNotificationHandler.ts

See Also

…ificationHandler

Buffer is a Node.js-specific global. Since Buffer extends Uint8Array,
this is a compatible change — callers passing Buffer still work.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@jar-stripe jar-stripe requested a review from a team as a code owner May 20, 2026 23:57
@jar-stripe jar-stripe requested review from prathmesh-stripe and removed request for a team May 20, 2026 23:57
@jar-stripe jar-stripe changed the title Fix WinterTC lint: use Uint8Array instead of Buffer in StripeEventNot… Fix WinterTC lint issue in beta branch May 20, 2026
@jar-stripe jar-stripe closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant