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

chore: rename sendToAlbyAccount to sendBoostagramToAlbyAccount #139

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Nov 17, 2023

BREAKING CHANGE

This is a keysend request so I think this naming makes more sense

@bumi
Copy link
Contributor

bumi commented Nov 17, 2023

I think we should deprecate it first.
meaning that the old method logs a deprecation warning that it will be removed soon.

@rolznz
Copy link
Contributor Author

rolznz commented Nov 17, 2023

@bumi good point, fixed. Thanks!

@rolznz rolznz merged commit ddd7df4 into master Nov 17, 2023
1 check passed
@bumi bumi deleted the chore/rename-send-to-alby-account branch November 17, 2023 09:05
@bumi
Copy link
Contributor

bumi commented Nov 17, 2023

Did you do a console.log ? or is that bad - because people will not read that code.

@rolznz
Copy link
Contributor Author

rolznz commented Nov 17, 2023

@bumi I don't know. console.warn sounds like a good idea. I will add one

@bumi
Copy link
Contributor

bumi commented Nov 17, 2023

do you know the JS best practices for this? what do others do?

@rolznz
Copy link
Contributor Author

rolznz commented Nov 17, 2023

I think we did the main things. I will update the comment to say it will be removed in version 3.0.0

https://stackoverflow.com/a/19525656

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.

2 participants