Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

feat: use crypto instead of webcrypto #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion ci/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories.
javascript()
javascript([coverage: true])
15 changes: 0 additions & 15 deletions circle.yml

This file was deleted.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@
},
"dependencies": {
"blakejs": "^1.1.0",
"js-sha3": "^0.7.0",
"multihashes": "~0.4.12",
"webcrypto": "~0.1.1"
"js-sha3": "~0.8.0",
"multihashes": "~0.4.14"
},
"devDependencies": {
"aegir": "^12.3.0",
"chai": "^4.1.2",
"aegir": "^17.0.0",
"chai": "^4.2.0",
"dirty-chai": "^2.0.1",
"pre-commit": "^1.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const multihash = require('multihashes')
const blake = require('./blake')
const sha3 = require('./sha3')
const crypto = require('webcrypto')
const crypto = require('crypto')

const mh = module.exports = Multihashing

Expand Down