AElfProject / aelf-web3.js

aelf JavaScript SDK
MIT License
16 stars 24 forks source link

feat: 🎸 node, use node-fetch instead of xmlhttprequest #159

Closed hzz780 closed 4 months ago

hzz780 commented 4 months ago

Closed #158

github-actions[bot] commented 4 months ago

🔴 Total coverage is lower than the default branch

Lines Branches Functions Statements
99.00% (-0.41%) 98.43% (-0.42%) 99.05% (+0.03%) 99.04% (-0.40%)

Detailed report

click to open the diff coverage report | | File | Lines | Branches | Functions | Statements | | - | ---- | ----- | -------- | --------- | ---------- | | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/index.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/chain/chainMethod.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/chain/index.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/contract/contractMethod.js | 99.15% (+99.15%) | 97.22% (+97.22%) | 100.00% (+100.00%) | 99.15% (+99.15%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/contract/index.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/bloom.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/errors.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/formatters.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/httpProvider.js | 93.96% (+93.96%) | 92.30% (+92.30%) | 92.00% (+92.00%) | 94.06% (+94.06%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/keccak.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/keyStore.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/merkleTree.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/proto.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/requestManage.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/settings.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/sha256.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/transform.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/util/utils.js | 99.10% (+99.10%) | 98.21% (+98.21%) | 100.00% (+100.00%) | 99.15% (+99.15%) |, | ✅ | /home/runner/work/aelf-web3.js/aelf-web3.js/src/wallet/index.js | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) | 100.00% (+100.00%) |