Zilliqa / zilliqa-js

JavaScript SDK for Zilliqa blockchain
https://www.npmjs.com/package/@zilliqa-js/zilliqa
GNU General Public License v3.0
131 stars 74 forks source link

fix(crypto): no require import for sodium-native #428

Closed ghost closed 2 years ago

ghost commented 2 years ago

Description

This PR

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #428 (0ceb324) into dev (3c243fc) will increase coverage by 0.17%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #428      +/-   ##
==========================================
+ Coverage   82.12%   82.29%   +0.17%     
==========================================
  Files          43       44       +1     
  Lines        1807     1830      +23     
  Branches      332      334       +2     
==========================================
+ Hits         1484     1506      +22     
- Misses        322      323       +1     
  Partials        1        1              
Impacted Files Coverage Δ
packages/zilliqa-js-crypto/src/random.ts 94.73% <100.00%> (ø)
packages/zilliqa-js-crypto/src/index.ts 100.00% <0.00%> (ø)
packages/zilliqa-js-crypto/src/signature.ts 88.88% <0.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 3c243fc...0ceb324. Read the comment docs.