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

fix: convert from buffer now also accepts uint8Array #283

Merged
merged 1 commit into from
May 20, 2021

Conversation

berendsliedrecht
Copy link
Contributor

Also decodes from uint8Array now instead of only a Buffer.

Necessary for anything that is not in NodeJs.

Signed-off-by: blu3beri [email protected]

@berendsliedrecht berendsliedrecht requested a review from a team as a code owner May 19, 2021 17:17
Copy link
Contributor

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

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

Nice

@TimoGlastra
Copy link
Contributor

@jakubkoci we ran into an issue with buffer being transformed to uint8Array over the electron bridge

@codecov-commenter
Copy link

codecov-commenter commented May 19, 2021

Codecov Report

Merging #283 (a70f290) into main (dc3a575) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #283   +/-   ##
=======================================
  Coverage   88.63%   88.63%           
=======================================
  Files         216      216           
  Lines        3881     3881           
  Branches      431      446   +15     
=======================================
  Hits         3440     3440           
  Misses        441      441           
Impacted Files Coverage Δ
src/utils/BufferEncoder.ts 100.00% <100.00%> (ø)
src/utils/JsonEncoder.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc3a575...a70f290. Read the comment docs.

@TimoGlastra
Copy link
Contributor

Failing tests should be fixed by #282

@TimoGlastra TimoGlastra merged commit dae123b into openwallet-foundation:main May 20, 2021
@berendsliedrecht berendsliedrecht deleted the fix/buffer branch August 31, 2022 07:20
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.

3 participants