Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Deno entry point #1726

Merged
merged 2 commits into from Mar 20, 2023
Merged

Add Deno entry point #1726

merged 2 commits into from Mar 20, 2023

Conversation

anniel-stripe
Copy link
Contributor

@anniel-stripe anniel-stripe commented Mar 20, 2023

Summary

Add deno conditional exports target. Currently, Deno users who import Stripe using npm specifiers get the default version of stripe-node, which produces errors if they don't configure Stripe with the httpClient option. Adding this target will allow Deno users to receive the web platform version of stripe-node.

@anniel-stripe anniel-stripe merged commit 13ea0e9 into master Mar 20, 2023
@anniel-stripe anniel-stripe deleted the anniel-deno-entry-point branch March 24, 2023 03:21
anniel-stripe added a commit that referenced this pull request Mar 30, 2023
* Add Deno entry point (#1726)

* Convert Types.d.ts to be a local module (#1729)

* Make Types a local module

* Imports

* File ending doesn't need to change

* .js

* Move HttpClientInterface types out of Types.d.ts

* extensions

* Move more types out of Types.d.ts

* Update generated code (new) (#1730)

Update generated code for v277

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>

* Update generated code (new) (#1731)

Update generated code for v277

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>

* Bump version to 11.16.0

* Update generated code for v279

* Update generated code for v280

* Update generated code for v281

* Update generated code for v282

* Update generated code for v283

* Update generated code for v284

* Update generated code for v285

* Update generated code for v286

* Update generated code for v287

---------

Co-authored-by: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com>
Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Pavel Krymets <pakrym@stripe.com>
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.

None yet

2 participants