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 web exports #1957

Merged
merged 2 commits into from
Nov 9, 2024
Merged

add web exports #1957

merged 2 commits into from
Nov 9, 2024

Conversation

cedvdb
Copy link
Contributor

@cedvdb cedvdb commented Oct 12, 2024

Fix #1955 some classes used in PaymentElement constructor are not exported.

ElementAppearanceLabels;

// TODO: should not use src of other package
export 'package:stripe_js/src/api/elements/payment_element_options.dart';
Copy link
Contributor Author

@cedvdb cedvdb Oct 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some overlaps between stripe_js/api and platform_interface so this file is exported instead. It is not recommended to do this this way. I added a TODO if someone wants to organize this in the future, in the meantime organizing exports is way out of scope of this PR.

@cedvdb
Copy link
Contributor Author

cedvdb commented Nov 7, 2024

@remonh87 requesting review

Copy link
Member

@remonh87 remonh87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@remonh87 remonh87 merged commit 9876884 into flutter-stripe:main Nov 9, 2024
3 of 5 checks passed
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.

Classes used in PaymentElement constructor are not exported
2 participants