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

Commit 85c8c02

Browse files
committed
feat(generic): add tests to generic
1 parent b64d8e8 commit 85c8c02

File tree

4 files changed

+41
-711
lines changed

4 files changed

+41
-711
lines changed

API/generic/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
generic API
1+
Generic API
22
===========
33

44
#### `id`
@@ -32,7 +32,7 @@ ipfs.id(function (err, identity) {
3232

3333
##### `JavaScript` - ipfs.version([callback])
3434

35-
`callback` must follow `function (err, version) {}` signature, where `err` is an error if the operation was not successful. `version` is the version string of the implementation.
35+
`callback` must follow `function (err, version) {}` signature, where `err` is an error if the operation was not successful. `version` is an object with the version of the implementation, the commit and the Repo.
3636

3737
If no `callback` is passed, a promise is returned.
3838

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "interface-ipfs-core",
33
"version": "0.9.0",
44
"description": "A test suite and interface you can use to implement a IPFS core interface.",
5-
"main": "src/index.js",
5+
"main": "lib/index.js",
66
"jsnext:main": "src/index.js",
77
"scripts": {
88
"test": "exit(0)",
@@ -47,4 +47,4 @@
4747
"greenkeeperio-bot <[email protected]>",
4848
"nginnever <[email protected]>"
4949
]
50-
}
50+
}

0 commit comments

Comments
 (0)