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

Commit

Permalink
fix(package): update cids to version 0.7.0
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Returned v1 CIDs now default to base32 encoding

Previous versions returned a base58 encoded string when `toString()`/
`toBaseEncodedString()` was called on a CIDv1. It now returns a base32
encoded string.
  • Loading branch information
greenkeeper[bot] authored and vmx committed May 10, 2019
1 parent af0dc5e commit 2d87c9e
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 @@ -36,7 +36,7 @@
},
"homepage": "https://github.com/ipld/js-ipld-git",
"dependencies": {
"cids": "~0.6.0",
"cids": "~0.7.0",
"multicodec": "~0.5.0",
"multihashes": "~0.4.14",
"multihashing-async": "~0.7.0",
Expand Down
2 changes: 1 addition & 1 deletion test/util.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const CID = require('cids')
describe('IPLD format util', () => {
const tagNode = {
gitType: 'tag',
object: new CID('z8mWaHQaEAKd5KMRNU3npB3saSZmhFh3e'),
object: new CID('baf4bcfe5cqe5giojiciib5mci7gbb53xcxqot2i'),
type: 'commit',
tag: 'v0.0.0',
tagger: {
Expand Down

0 comments on commit 2d87c9e

Please sign in to comment.