-
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
CID equality #208
Labels
Comments
achingbrain
added a commit
that referenced
this issue
Oct 15, 2022
From #203 > I would like to also address byteOffset, byteLength fields. I don't think they were a bad idea, it's just I was not allowed to complete implementation of that idea. Given that the feature is incomplete and untested, remove it for now and if it's required it can be implemented fully in the future. Fixes #208 BREAKING CHANGE: The CID class no longer has `.byteOffset` and `.byteLength` properties - these can be accessed via the `.bytes` property instead
achingbrain
added a commit
that referenced
this issue
Oct 15, 2022
From #203 > I would like to also address byteOffset, byteLength fields. I don't think they were a bad idea, it's just I was not allowed to complete implementation of that idea. Given that the feature is incomplete and untested, remove it for now and if it's required it can be implemented fully in the future. Fixes #208 BREAKING CHANGE: The CID class no longer has `.byteOffset` and `.byteLength` properties - these can be accessed via the `.bytes` property instead
This was referenced Oct 15, 2022
That probably can be easily fixed by turning these to getters that just return Lines 81 to 85 in 0ec751a
|
This was referenced Oct 17, 2022
Closed
🎉 This issue has been resolved in version 10.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We compare CIDs in our tests in lots (and lots) of places. E.g:
With v10 these checks have started failing where one of these CIDs has been read out of a byte array and does not occupy the entire byte array because of the now enumerable
byteOffset
property, for example here, blocking ipld/js-dag-pb#59.The text was updated successfully, but these errors were encountered: