-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for Peer and Content Routing (DHT)
* feat: Peer and Content Routing Support (DHT) - first round * feat: support for DHT and without DHT at the same time * refactor(tests): make tests independent without require global set up steps * feat: move libp2p just to the network, take libp2p as a whole and not pieces * docs: Update README Documentation * feat: factor notifications out * fix: getMany call * feat: add id to loggers * feat(engine): improve message sending * test: skip webworker tests
- Loading branch information
1 parent
dc143e8
commit 3a6b8a1
Showing
44 changed files
with
1,866 additions
and
1,361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
working_directory: ~/js-ipfs-bitswap | ||
docker: | ||
- image: circleci/node:6-browsers | ||
environment: | ||
CHROME_BIN: "/usr/bin/google-chrome" | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
- run: | ||
name: install-deps | ||
command: npm install | ||
- save_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
paths: | ||
- ./node_modules | ||
- run: | ||
name: lint | ||
command: npm run lint | ||
- run: | ||
name: test:node | ||
command: npm run test:node | ||
- run: | ||
name: test:browser | ||
command: npm run test:browser | ||
- run: | ||
name: coverage | ||
command: npm run coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# While testing new npm | ||
package-lock.json | ||
yarn.lock | ||
|
||
# Logs | ||
logs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.