-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat: add base256emoji #187
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand all the details of the implementation.
It seems like you made base256emoji a special cases which a bunch of adhoc rules.
I would try to avoid that since this is an increased load on the future maintainers (including future you).
There's two special cases in here:
|
If JS doesn't have
👍 this is clearly a negative priority item, being slow is fine |
Well .. We could do that in a future release though, it would be nicer than a |
I think contract is that they pass in string without multicodec tag, so far that meant first character, but if tag is first emoji in the sequence it would mean snipping it off. |
Updated with s/☉/🐉 from the latest spec change for this |
## [9.7.0](v9.6.5...v9.7.0) (2022-06-23) ### Features * add base256emoji ([#187](#187)) ([c6c5c46](c6c5c46)) ### Trivial Changes * **no-release:** bump @types/node from 17.0.45 to 18.0.0 ([#188](#188)) ([99e94ed](99e94ed)) * **no-release:** bump actions/setup-node from 3.1.0 to 3.2.0 ([#182](#182)) ([86ec43d](86ec43d)) * **no-release:** bump actions/setup-node from 3.2.0 to 3.3.0 ([#186](#186)) ([712c1c4](712c1c4)) * **no-release:** fix typo implemnetation -> implementation ([#184](#184)) ([3d4ae50](3d4ae50))
🎉 This PR is included in version 9.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Ref: multiformats/multibase#88
Too much fun, I couldn't help myself. Not intended to be performant of course.
/cc @Jorropo