Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 2d9afc8

Browse files
lidelAlan Shaw
authored and
Alan Shaw
committedNov 7, 2019
feat: support name.resolve of peerid as cid (#1145)
* feat: support name.resolve of peerid as cid This is a hacky way to support CIDs when API is go-ipfs 0.4.22 or older (convert toBase58btc before sending) License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
1 parent 4acd43e commit 2d9afc8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"browser-process-platform": "~0.1.1",
109109
"cross-env": "^6.0.0",
110110
"go-ipfs-dep": "^0.4.22",
111-
"interface-ipfs-core": "^0.117.2",
111+
"interface-ipfs-core": "^0.118.0",
112112
"ipfsd-ctl": "^0.47.1",
113113
"nock": "^11.4.0",
114114
"stream-equal": "^1.1.1"

‎test/interface.spec.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,15 @@ describe('interface-ipfs-core tests', () => {
176176
spawnOptions: {
177177
args: ['--offline']
178178
}
179-
}))
179+
}), {
180+
skip: [
181+
// stop
182+
{
183+
name: 'should resolve a record from peerid as cidv1 in base32',
184+
reason: 'TODO not implemented in go-ipfs yet: https://github.com/ipfs/go-ipfs/issues/5287'
185+
}
186+
]
187+
})
180188

181189
// TODO: uncomment after https://github.com/ipfs/interface-ipfs-core/pull/361 being merged and a new release
182190
tests.namePubsub(CommonFactory.create({

0 commit comments

Comments
 (0)
This repository has been archived.