-
Notifications
You must be signed in to change notification settings - Fork 15
chore: Upgrades minors and patches #665
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #665 +/- ##
===========================================
+ Coverage 62.79% 79.73% +16.93%
===========================================
Files 77 77
Lines 5886 5886
Branches 1229 1229
===========================================
+ Hits 3696 4693 +997
+ Misses 2094 1176 -918
+ Partials 96 17 -79 ☔ View full report in Codecov by Sentry. |
const long = Long.fromNumber(value, false); | ||
arr = new Uint8Array(long.toBytesBE()).buffer; |
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.
The implicit conversion from number[]
to ArrayBuffer
was being rejected by the build phase ( failed action )
An explicit conversion was implemented through Uint8Array
, and according to the unit tests is working correctly.
9ae3f43
to
67c2bfc
Compare
67c2bfc
to
57c64b1
Compare
Acceptance Criteria
axios
from1.6.8
to1.7.2
( a continuation of chore: Upgradesaxios
#634 )axios-mock-adapter
from1.17.0
to1.22.0
( same here )level
from8.0.0
to8.0.1
long
from4.0.0
to5.2.3
( the release notes says it's only a refactor )Notes
Following a suggestion from @r4mmer I have tested the built lib on both the Desktop and Headless wallets to ensure the browser and node environments correctly handle the
Uint8Array
code change as well.The manual test on the Desktop wallet worked correctly and the full integration tests suite on the headless also passed.
Security Checklist