Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit e451201

Browse files
dignifiedquiredaviddias
authored andcommitted
Async Crypto Endeavour (#40)
1 parent e7524e1 commit e451201

File tree

4 files changed

+29
-21
lines changed

4 files changed

+29
-21
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,3 @@ build/Release
2525
# Dependency directory
2626
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
2727
node_modules
28-
29-
lib
30-
dist

.travis.yml

+15-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
sudo: false
22
language: node_js
3-
node_js:
4-
- 4
5-
- 5
6-
- stable
3+
matrix:
4+
include:
5+
- node_js: 4
6+
env: CXX=g++-4.8
7+
- node_js: 6
8+
env: CXX=g++-4.8
9+
- node_js: stable
10+
env: CXX=g++-4.8
711

812
# Make sure we have new NPM.
913
before_install:
@@ -14,12 +18,16 @@ script:
1418
- npm test
1519
- npm run coverage
1620

17-
addons:
18-
firefox: 'latest'
19-
2021
before_script:
2122
- export DISPLAY=:99.0
2223
- sh -e /etc/init.d/xvfb start
2324

2425
after_success:
2526
- npm run coverage-publish
27+
28+
addons:
29+
apt:
30+
sources:
31+
- ubuntu-toolchain-r-test
32+
packages:
33+
- g++-4.8

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
[![Coverage Status](https://coveralls.io/repos/github/libp2p/js-libp2p-tcp/badge.svg?branch=master)](https://coveralls.io/github/libp2p/js-libp2p-tcp?branch=master)
77
[![Dependency Status](https://david-dm.org/libp2p/js-libp2p-tcp.svg?style=flat-square)](https://david-dm.org/libp2p/js-libp2p-tcp)
88
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
9+
![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square)
10+
![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square)
911

1012
![](https://raw.githubusercontent.com/libp2p/interface-connection/master/img/badge.png)
1113
![](https://raw.githubusercontent.com/libp2p/interface-transport/master/img/badge.png)
@@ -105,7 +107,7 @@ To learn more about this utility, visit https://pull-stream.github.io/#pull-stre
105107

106108
## API
107109

108-
[![](https://raw.githubusercontent.com/diasdavid/interface-transport/master/img/badge.png)](https://github.com/diasdavid/interface-transport)
110+
[![](https://raw.githubusercontent.com/libp2p/interface-transport/master/img/badge.png)](https://github.com/libp2p/interface-transport)
109111

110112
`libp2p-tcp` accepts TCP addresses both IPFS and non IPFS encapsulated addresses, i.e:
111113

package.json

+11-10
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
"name": "libp2p-tcp",
33
"version": "0.8.1",
44
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces",
5-
"main": "lib/index.js",
6-
"jsnext:main": "src/index.js",
5+
"main": "src/index.js",
76
"scripts": {
87
"lint": "aegir-lint",
9-
"build": "aegir-build --env node",
108
"test": "aegir-test --env node",
11-
"release": "aegir-release --env node",
12-
"release-minor": "aegir-release --type minor --env node",
13-
"release-major": "aegir-release --type major --env node",
9+
"release": "aegir-release --env no-build",
10+
"release-minor": "aegir-release --type minor --env no-build",
11+
"release-major": "aegir-release --type major --env no-build",
1412
"coverage": "aegir-coverage",
1513
"coverage-publish": "aegir-coverage publish"
1614
},
@@ -20,19 +18,22 @@
2018
],
2119
"repository": {
2220
"type": "git",
23-
"url": "https://github.com/diasdavid/js-libp2p-tcp.git"
21+
"url": "https://github.com/libp2p/js-libp2p-tcp.git"
2422
},
2523
"keywords": [
2624
"IPFS"
2725
],
2826
"author": "David Dias <daviddias@ipfs.io>",
2927
"license": "MIT",
3028
"bugs": {
31-
"url": "https://github.com/diasdavid/js-libp2p-tcp/issues"
29+
"url": "https://github.com/libp2p/js-libp2p-tcp/issues"
30+
},
31+
"homepage": "https://github.com/libp2p/js-libp2p-tcp",
32+
"engines": {
33+
"node": ">=4.0.0"
3234
},
33-
"homepage": "https://github.com/diasdavid/js-libp2p-tcp",
3435
"devDependencies": {
35-
"aegir": "^8.0.1",
36+
"aegir": "^9.0.1",
3637
"chai": "^3.5.0",
3738
"interface-transport": "^0.3.3",
3839
"lodash.isfunction": "^3.0.8",

0 commit comments

Comments
 (0)