Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
fix: use latest multicodec release
Browse files Browse the repository at this point in the history
Using internal modules is a bad idea, but this is a quick fix in order
to not break the world.
  • Loading branch information
vmx committed Dec 11, 2020
1 parent 5245ecd commit 6cc387f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"multibase": "^3.0.1",
"multicodec": "=2.0.4",
"multicodec": "^2.1.0",
"multihashes": "^3.0.1",
"uint8arrays": "^1.1.0"
},
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 mh = require('multihashes')
const multibase = require('multibase')
const multicodec = require('multicodec')
const codecs = require('multicodec/src/base-table.json')
const { baseTable: codecs } = require('multicodec/src/base-table.js')
const CIDUtil = require('./cid-util')
const uint8ArrayConcat = require('uint8arrays/concat')
const uint8ArrayToString = require('uint8arrays/to-string')
Expand Down

0 comments on commit 6cc387f

Please sign in to comment.