@libp2p/tcp 1.0.1 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import abortable from 'abortable-iterator'
2
- import debug from 'debug'
1
+ import { abortableSource } from 'abortable-iterator'
2
+ import { logger } from '@libp2p/logger'
3
3
  // @ts-expect-error no types
4
4
  import toIterable from 'stream-to-it'
5
5
  import { ipPortToMultiaddr as toMultiaddr } from '@libp2p/utils/ip-port-to-multiaddr'
@@ -8,7 +8,7 @@ import type { Socket } from 'net'
8
8
  import type { Multiaddr } from '@multiformats/multiaddr'
9
9
  import type { MultiaddrConnection } from '@libp2p/interfaces/transport'
10
10
 
11
- const log = debug('libp2p:tcp:socket')
11
+ const log = logger('libp2p:tcp:socket')
12
12
 
13
13
  interface ToConnectionOptions {
14
14
  listeningAddr?: Multiaddr
@@ -21,7 +21,7 @@ interface ToConnectionOptions {
21
21
  * Convert a socket into a MultiaddrConnection
22
22
  * https://github.com/libp2p/interface-transport#multiaddrconnection
23
23
  */
24
- export const toConnection = (socket: Socket, options?: ToConnectionOptions) => {
24
+ export const toMultiaddrConnection = (socket: Socket, options?: ToConnectionOptions) => {
25
25
  options = options ?? {}
26
26
 
27
27
  // Check if we are connected on a unix path
@@ -38,7 +38,7 @@ export const toConnection = (socket: Socket, options?: ToConnectionOptions) => {
38
38
  const maConn: MultiaddrConnection = {
39
39
  async sink (source) {
40
40
  if ((options?.signal) != null) {
41
- source = abortable(source, options.signal)
41
+ source = abortableSource(source, options.signal)
42
42
  }
43
43
 
44
44
  try {
@@ -61,11 +61,7 @@ export const toConnection = (socket: Socket, options?: ToConnectionOptions) => {
61
61
  },
62
62
 
63
63
  // Missing Type for "abortable"
64
- source: (options.signal != null) ? abortable(source, options.signal) : source,
65
-
66
- conn: socket,
67
-
68
- localAddr: options.localAddr ?? toMultiaddr(socket.localAddress ?? '', socket.localPort ?? ''),
64
+ source: (options.signal != null) ? abortableSource(source, options.signal) : source,
69
65
 
70
66
  // If the remote address was passed, use it - it may have the peer ID encapsulated
71
67
  remoteAddr: options.remoteAddr ?? toMultiaddr(socket.remoteAddress ?? '', socket.remotePort ?? ''),
package/.aegir.cjs DELETED
@@ -1,8 +0,0 @@
1
- module.exports = {
2
- build: {
3
- config: {
4
- platform: 'node'
5
- },
6
- bundlesizeMax: '44KB'
7
- }
8
- }
@@ -1,125 +0,0 @@
1
- name: test & maybe release
2
- on:
3
- push:
4
- branches:
5
- - master
6
- pull_request:
7
- branches:
8
- - master
9
-
10
- jobs:
11
-
12
- check:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - uses: actions/checkout@v2
16
- - uses: actions/setup-node@v2
17
- with:
18
- node-version: lts/*
19
- - uses: ipfs/aegir/actions/cache-node-modules@master
20
- - run: npm run --if-present lint
21
- - run: npm run --if-present dep-check
22
-
23
- test-node:
24
- needs: check
25
- runs-on: ${{ matrix.os }}
26
- strategy:
27
- matrix:
28
- os: [windows-latest, ubuntu-latest, macos-latest]
29
- node: [16]
30
- fail-fast: true
31
- steps:
32
- - uses: actions/checkout@v2
33
- - uses: actions/setup-node@v2
34
- with:
35
- node-version: ${{ matrix.node }}
36
- - uses: ipfs/aegir/actions/cache-node-modules@master
37
- - run: npm run --if-present test:node
38
- - uses: codecov/codecov-action@v1
39
-
40
- test-chrome:
41
- needs: check
42
- runs-on: ubuntu-latest
43
- steps:
44
- - uses: actions/checkout@v2
45
- - uses: actions/setup-node@v2
46
- with:
47
- node-version: lts/*
48
- - uses: ipfs/aegir/actions/cache-node-modules@master
49
- - run: npm run --if-present test:chrome
50
-
51
- test-chrome-webworker:
52
- needs: check
53
- runs-on: ubuntu-latest
54
- steps:
55
- - uses: actions/checkout@v2
56
- - uses: actions/setup-node@v2
57
- with:
58
- node-version: lts/*
59
- - uses: ipfs/aegir/actions/cache-node-modules@master
60
- - run: npm run --if-present test:chrome-webworker
61
-
62
- test-firefox:
63
- needs: check
64
- runs-on: ubuntu-latest
65
- steps:
66
- - uses: actions/checkout@v2
67
- - uses: actions/setup-node@v2
68
- with:
69
- node-version: lts/*
70
- - uses: ipfs/aegir/actions/cache-node-modules@master
71
- - run: npm run --if-present test:firefox
72
-
73
- test-firefox-webworker:
74
- needs: check
75
- runs-on: ubuntu-latest
76
- steps:
77
- - uses: actions/checkout@v2
78
- - uses: actions/setup-node@v2
79
- with:
80
- node-version: lts/*
81
- - uses: ipfs/aegir/actions/cache-node-modules@master
82
- - run: npm run --if-present test:firefox-webworker
83
-
84
- test-electron-main:
85
- needs: check
86
- runs-on: ubuntu-latest
87
- steps:
88
- - uses: actions/checkout@v2
89
- - uses: actions/setup-node@v2
90
- with:
91
- node-version: lts/*
92
- - uses: ipfs/aegir/actions/cache-node-modules@master
93
- - run: npx xvfb-maybe npm run --if-present test:electron-main
94
-
95
- test-electron-renderer:
96
- needs: check
97
- runs-on: ubuntu-latest
98
- steps:
99
- - uses: actions/checkout@v2
100
- - uses: actions/setup-node@v2
101
- with:
102
- node-version: lts/*
103
- - uses: ipfs/aegir/actions/cache-node-modules@master
104
- - run: npx xvfb-maybe npm run --if-present test:electron-renderer
105
-
106
- release:
107
- needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
108
- runs-on: ubuntu-latest
109
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
110
- steps:
111
- - uses: actions/checkout@v2.4.0
112
- with:
113
- fetch-depth: 0
114
- - uses: actions/setup-node@v2
115
- with:
116
- node-version: lts/*
117
- - uses: ipfs/aegir/actions/cache-node-modules@master
118
- - uses: ipfs/aegir/actions/docker-login@master
119
- with:
120
- docker-token: ${{ secrets.DOCKER_USERNAME }}
121
- docker-username: ${{ secrets.DOCKER_USERNAME }}
122
- - run: npm run --if-present release
123
- env:
124
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
125
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md DELETED
@@ -1,457 +0,0 @@
1
- ### [1.0.1](https://github.com/libp2p/js-libp2p-tcp/compare/v1.0.0...v1.0.1) (2022-01-08)
2
-
3
-
4
- ### Trivial Changes
5
-
6
- * add semantic release config ([#155](https://github.com/libp2p/js-libp2p-tcp/issues/155)) ([def9ad7](https://github.com/libp2p/js-libp2p-tcp/commit/def9ad759d39da21639358b06bd847ab30b3cb7b))
7
-
8
- ## [0.17.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.17.1...v0.17.2) (2021-09-03)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * ts declaration export ([#150](https://github.com/libp2p/js-libp2p-tcp/issues/150)) ([d165fe5](https://github.com/libp2p/js-libp2p-tcp/commit/d165fe57960e2bb4a5324c372ef459c31dee1cf5))
14
-
15
-
16
-
17
- ## [0.17.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.17.0...v0.17.1) (2021-07-08)
18
-
19
-
20
-
21
- # [0.17.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.16.0...v0.17.0) (2021-07-07)
22
-
23
-
24
- ### chore
25
-
26
- * update deps ([#147](https://github.com/libp2p/js-libp2p-tcp/issues/147)) ([b3e315a](https://github.com/libp2p/js-libp2p-tcp/commit/b3e315a6988cd4be7978e8922f275e525463bc0c))
27
-
28
-
29
- ### BREAKING CHANGES
30
-
31
- * uses new majors of multiaddr and mafmt
32
-
33
-
34
-
35
- # [0.16.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.15.4...v0.16.0) (2021-06-10)
36
-
37
-
38
- ### Features
39
-
40
- * add types ([#145](https://github.com/libp2p/js-libp2p-tcp/issues/145)) ([3249e02](https://github.com/libp2p/js-libp2p-tcp/commit/3249e0292b2ef5d818fe428ce61f689b25060d85))
41
-
42
-
43
-
44
- ## [0.15.4](https://github.com/libp2p/js-libp2p-tcp/compare/v0.15.2...v0.15.4) (2021-04-12)
45
-
46
-
47
- ### Bug Fixes
48
-
49
- * hanging close promise ([#140](https://github.com/libp2p/js-libp2p-tcp/issues/140)) ([3813100](https://github.com/libp2p/js-libp2p-tcp/commit/381310043852a9213f1abb62f5f0a7046d806286))
50
-
51
-
52
-
53
- <a name="0.15.3"></a>
54
- ## [0.15.3](https://github.com/libp2p/js-libp2p-tcp/compare/v0.15.2...v0.15.3) (2021-02-03)
55
-
56
-
57
- ### Bug Fixes
58
-
59
- * hanging close promise ([#140](https://github.com/libp2p/js-libp2p-tcp/issues/140)) ([3813100](https://github.com/libp2p/js-libp2p-tcp/commit/3813100))
60
-
61
-
62
-
63
- <a name="0.15.2"></a>
64
- ## [0.15.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.2...v0.15.2) (2020-12-28)
65
-
66
-
67
- ### Bug Fixes
68
-
69
- * catch error from maConn.close ([#128](https://github.com/libp2p/js-libp2p-tcp/issues/128)) ([0fe0815](https://github.com/libp2p/js-libp2p-tcp/commit/0fe0815))
70
- * catch thrown maConn errors in listener ([#122](https://github.com/libp2p/js-libp2p-tcp/issues/122)) ([86db568](https://github.com/libp2p/js-libp2p-tcp/commit/86db568)), closes [#121](https://github.com/libp2p/js-libp2p-tcp/issues/121)
71
- * intermittent error when asking for interfaces ([#137](https://github.com/libp2p/js-libp2p-tcp/issues/137)) ([af9804e](https://github.com/libp2p/js-libp2p-tcp/commit/af9804e))
72
- * remove use of assert module ([#123](https://github.com/libp2p/js-libp2p-tcp/issues/123)) ([6272876](https://github.com/libp2p/js-libp2p-tcp/commit/6272876))
73
- * transport should not handle connection if upgradeInbound throws ([#119](https://github.com/libp2p/js-libp2p-tcp/issues/119)) ([21f8747](https://github.com/libp2p/js-libp2p-tcp/commit/21f8747))
74
-
75
-
76
- ### Chores
77
-
78
- * update deps ([#134](https://github.com/libp2p/js-libp2p-tcp/issues/134)) ([d9f9912](https://github.com/libp2p/js-libp2p-tcp/commit/d9f9912))
79
-
80
-
81
- ### BREAKING CHANGES
82
-
83
- * - The multiaddr dep used by this module returns Uint8Arrays and may
84
- not be compatible with previous versions
85
-
86
- * chore: update utils
87
-
88
- * chore: remove gh dep url
89
-
90
-
91
-
92
- <a name="0.15.1"></a>
93
- ## [0.15.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.15.0...v0.15.1) (2020-08-11)
94
-
95
-
96
-
97
- <a name="0.15.0"></a>
98
- # [0.15.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.6...v0.15.0) (2020-08-07)
99
-
100
-
101
- ### Chores
102
-
103
- * update deps ([#134](https://github.com/libp2p/js-libp2p-tcp/issues/134)) ([d9f9912](https://github.com/libp2p/js-libp2p-tcp/commit/d9f9912))
104
-
105
-
106
- ### BREAKING CHANGES
107
-
108
- * - The multiaddr dep used by this module returns Uint8Arrays and may
109
- not be compatible with previous versions
110
-
111
- * chore: update utils
112
-
113
- * chore: remove gh dep url
114
-
115
-
116
-
117
- <a name="0.14.6"></a>
118
- ## [0.14.6](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.5...v0.14.6) (2020-07-17)
119
-
120
-
121
-
122
- <a name="0.14.5"></a>
123
- ## [0.14.5](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.4...v0.14.5) (2020-04-28)
124
-
125
-
126
- ### Bug Fixes
127
-
128
- * catch error from maConn.close ([#128](https://github.com/libp2p/js-libp2p-tcp/issues/128)) ([0fe0815](https://github.com/libp2p/js-libp2p-tcp/commit/0fe0815))
129
-
130
-
131
-
132
- <a name="0.14.4"></a>
133
- ## [0.14.4](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.3...v0.14.4) (2020-02-24)
134
-
135
-
136
- ### Bug Fixes
137
-
138
- * catch thrown maConn errors in listener ([#122](https://github.com/libp2p/js-libp2p-tcp/issues/122)) ([86db568](https://github.com/libp2p/js-libp2p-tcp/commit/86db568)), closes [#121](https://github.com/libp2p/js-libp2p-tcp/issues/121)
139
- * remove use of assert module ([#123](https://github.com/libp2p/js-libp2p-tcp/issues/123)) ([6272876](https://github.com/libp2p/js-libp2p-tcp/commit/6272876))
140
-
141
-
142
-
143
- <a name="0.14.3"></a>
144
- ## [0.14.3](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.2...v0.14.3) (2019-12-20)
145
-
146
-
147
- ### Bug Fixes
148
-
149
- * transport should not handle connection if upgradeInbound throws ([#119](https://github.com/libp2p/js-libp2p-tcp/issues/119)) ([21f8747](https://github.com/libp2p/js-libp2p-tcp/commit/21f8747))
150
-
151
-
152
-
153
- <a name="0.14.2"></a>
154
- ## [0.14.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.1...v0.14.2) (2019-12-06)
155
-
156
-
157
- ### Bug Fixes
158
-
159
- * **log:** log the bound port and host ([#117](https://github.com/libp2p/js-libp2p-tcp/issues/117)) ([7702646](https://github.com/libp2p/js-libp2p-tcp/commit/7702646))
160
-
161
-
162
- ### Features
163
-
164
- * add path multiaddr support ([#118](https://github.com/libp2p/js-libp2p-tcp/issues/118)) ([d76a1f2](https://github.com/libp2p/js-libp2p-tcp/commit/d76a1f2))
165
-
166
-
167
-
168
- <a name="0.14.1"></a>
169
- ## [0.14.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.14.0...v0.14.1) (2019-09-20)
170
-
171
-
172
- ### Bug Fixes
173
-
174
- * ensure timeline.close is set ([#113](https://github.com/libp2p/js-libp2p-tcp/issues/113)) ([605ee27](https://github.com/libp2p/js-libp2p-tcp/commit/605ee27))
175
-
176
-
177
-
178
- <a name="0.14.0"></a>
179
- # [0.14.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.13.1...v0.14.0) (2019-09-16)
180
-
181
-
182
- ### Features
183
-
184
- * change api to async / await ([#112](https://github.com/libp2p/js-libp2p-tcp/issues/112)) ([cf7d1b8](https://github.com/libp2p/js-libp2p-tcp/commit/cf7d1b8))
185
-
186
-
187
- ### BREAKING CHANGES
188
-
189
- * All places in the API that used callbacks are now replaced with async/await. The API has also been updated according to the latest `interface-transport` version, https://github.com/libp2p/interface-transport/tree/v0.6.0#api.
190
-
191
-
192
-
193
- <a name="0.13.1"></a>
194
- ## [0.13.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.13.0...v0.13.1) (2019-08-08)
195
-
196
-
197
-
198
- <a name="0.13.0"></a>
199
- # [0.13.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.12.1...v0.13.0) (2018-09-12)
200
-
201
-
202
- ### Features
203
-
204
- * add support for dialing over dns ([eba0b48](https://github.com/libp2p/js-libp2p-tcp/commit/eba0b48))
205
-
206
-
207
-
208
- <a name="0.12.1"></a>
209
- ## [0.12.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.12.0...v0.12.1) (2018-07-31)
210
-
211
-
212
- ### Bug Fixes
213
-
214
- * invalid ip address and daemon can be crashed by remote user ([4b04b17](https://github.com/libp2p/js-libp2p-tcp/commit/4b04b17))
215
-
216
-
217
-
218
- <a name="0.12.0"></a>
219
- # [0.12.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.11.6...v0.12.0) (2018-04-05)
220
-
221
-
222
- ### Features
223
-
224
- * add class-is module ([ded1f68](https://github.com/libp2p/js-libp2p-tcp/commit/ded1f68))
225
-
226
-
227
-
228
- <a name="0.11.6"></a>
229
- ## [0.11.6](https://github.com/libp2p/js-libp2p-tcp/compare/v0.11.5...v0.11.6) (2018-02-20)
230
-
231
-
232
-
233
- <a name="0.11.5"></a>
234
- ## [0.11.5](https://github.com/libp2p/js-libp2p-tcp/compare/v0.11.4...v0.11.5) (2018-02-07)
235
-
236
-
237
-
238
- <a name="0.11.4"></a>
239
- ## [0.11.4](https://github.com/libp2p/js-libp2p-tcp/compare/v0.11.3...v0.11.4) (2018-02-07)
240
-
241
-
242
-
243
- <a name="0.11.3"></a>
244
- ## [0.11.3](https://github.com/libp2p/js-libp2p-tcp/compare/v0.11.2...v0.11.3) (2018-02-07)
245
-
246
-
247
- ### Bug Fixes
248
-
249
- * clearing timeout when closes ([#87](https://github.com/libp2p/js-libp2p-tcp/issues/87)) ([f8f5266](https://github.com/libp2p/js-libp2p-tcp/commit/f8f5266))
250
-
251
-
252
-
253
- <a name="0.11.2"></a>
254
- ## [0.11.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.11.1...v0.11.2) (2018-01-12)
255
-
256
-
257
- ### Bug Fixes
258
-
259
- * missing dependency debug, fixes [#84](https://github.com/libp2p/js-libp2p-tcp/issues/84) ([74a88f6](https://github.com/libp2p/js-libp2p-tcp/commit/74a88f6))
260
-
261
-
262
-
263
- <a name="0.11.1"></a>
264
- ## [0.11.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.11.0...v0.11.1) (2017-10-13)
265
-
266
-
267
- ### Features
268
-
269
- * relay filtering ([11c4f45](https://github.com/libp2p/js-libp2p-tcp/commit/11c4f45))
270
-
271
-
272
-
273
- <a name="0.11.0"></a>
274
- # [0.11.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.10.2...v0.11.0) (2017-09-03)
275
-
276
-
277
- ### Features
278
-
279
- * p2p addrs situation ([#82](https://github.com/libp2p/js-libp2p-tcp/issues/82)) ([a54bb83](https://github.com/libp2p/js-libp2p-tcp/commit/a54bb83))
280
-
281
-
282
-
283
- <a name="0.10.2"></a>
284
- ## [0.10.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.10.1...v0.10.2) (2017-07-22)
285
-
286
-
287
-
288
- <a name="0.10.1"></a>
289
- ## [0.10.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.10.0...v0.10.1) (2017-04-13)
290
-
291
-
292
- ### Bug Fixes
293
-
294
- * catch errors on incomming sockets ([e204517](https://github.com/libp2p/js-libp2p-tcp/commit/e204517))
295
-
296
-
297
-
298
- <a name="0.10.0"></a>
299
- # [0.10.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.9.4...v0.10.0) (2017-03-27)
300
-
301
-
302
- ### Bug Fixes
303
-
304
- * **dial:** proper error handling on dial ([#77](https://github.com/libp2p/js-libp2p-tcp/issues/77)) ([4d4f295](https://github.com/libp2p/js-libp2p-tcp/commit/4d4f295))
305
-
306
-
307
-
308
- <a name="0.9.4"></a>
309
- ## [0.9.4](https://github.com/libp2p/js-libp2p-tcp/compare/v0.9.3...v0.9.4) (2017-03-21)
310
-
311
-
312
-
313
- <a name="0.9.3"></a>
314
- ## [0.9.3](https://github.com/libp2p/js-libp2p-tcp/compare/v0.9.2...v0.9.3) (2017-02-09)
315
-
316
-
317
-
318
- <a name="0.9.2"></a>
319
- ## [0.9.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.9.1...v0.9.2) (2017-02-09)
320
-
321
-
322
-
323
- <a name="0.9.1"></a>
324
- ## [0.9.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.9.0...v0.9.1) (2016-11-03)
325
-
326
-
327
-
328
- <a name="0.9.0"></a>
329
- # [0.9.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.8.1...v0.9.0) (2016-11-03)
330
-
331
-
332
- ### Bug Fixes
333
-
334
- * **deps:** remove unused pull dep ([06689e3](https://github.com/libp2p/js-libp2p-tcp/commit/06689e3))
335
-
336
-
337
-
338
- <a name="0.8.1"></a>
339
- ## [0.8.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.8.0...v0.8.1) (2016-09-06)
340
-
341
-
342
-
343
- <a name="0.8.0"></a>
344
- # [0.8.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.7.4...v0.8.0) (2016-09-06)
345
-
346
-
347
- ### Features
348
-
349
- * **deps:** update to published deps ([da8ee21](https://github.com/libp2p/js-libp2p-tcp/commit/da8ee21))
350
- * **pull:** migration to pull-streams ([5e89a26](https://github.com/libp2p/js-libp2p-tcp/commit/5e89a26))
351
- * **readme:** add pull-streams documentation ([d9f65e0](https://github.com/libp2p/js-libp2p-tcp/commit/d9f65e0))
352
-
353
-
354
-
355
- <a name="0.7.4"></a>
356
- ## [0.7.4](https://github.com/libp2p/js-libp2p-tcp/compare/v0.7.3...v0.7.4) (2016-08-03)
357
-
358
-
359
-
360
- <a name="0.7.3"></a>
361
- ## [0.7.3](https://github.com/libp2p/js-libp2p-tcp/compare/v0.7.2...v0.7.3) (2016-06-26)
362
-
363
-
364
-
365
- <a name="0.7.2"></a>
366
- ## [0.7.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.7.1...v0.7.2) (2016-06-23)
367
-
368
-
369
-
370
- <a name="0.7.1"></a>
371
- ## [0.7.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.7.0...v0.7.1) (2016-06-23)
372
-
373
-
374
- ### Bug Fixes
375
-
376
- * error was passed in duplicate ([9ac5cca](https://github.com/libp2p/js-libp2p-tcp/commit/9ac5cca))
377
-
378
-
379
-
380
- <a name="0.7.0"></a>
381
- # [0.7.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.6.2...v0.7.0) (2016-06-22)
382
-
383
-
384
-
385
- <a name="0.6.2"></a>
386
- ## [0.6.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.6.1...v0.6.2) (2016-06-01)
387
-
388
-
389
- ### Bug Fixes
390
-
391
- * address cr ([2ed01e8](https://github.com/libp2p/js-libp2p-tcp/commit/2ed01e8))
392
- * destroy hanging connections after timeout ([4a12169](https://github.com/libp2p/js-libp2p-tcp/commit/4a12169))
393
-
394
-
395
-
396
- <a name="0.6.1"></a>
397
- ## [0.6.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.6.0...v0.6.1) (2016-05-29)
398
-
399
-
400
-
401
- <a name="0.6.0"></a>
402
- # [0.6.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.5.3...v0.6.0) (2016-05-22)
403
-
404
-
405
-
406
- <a name="0.5.3"></a>
407
- ## [0.5.3](https://github.com/libp2p/js-libp2p-tcp/compare/v0.5.2...v0.5.3) (2016-05-22)
408
-
409
-
410
-
411
- <a name="0.5.2"></a>
412
- ## [0.5.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.5.1...v0.5.2) (2016-05-09)
413
-
414
-
415
-
416
- <a name="0.5.1"></a>
417
- ## [0.5.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.5.0...v0.5.1) (2016-05-08)
418
-
419
-
420
-
421
- <a name="0.5.0"></a>
422
- # [0.5.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.4.0...v0.5.0) (2016-04-25)
423
-
424
-
425
-
426
- <a name="0.4.0"></a>
427
- # [0.4.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.3.0...v0.4.0) (2016-03-14)
428
-
429
-
430
-
431
- <a name="0.3.0"></a>
432
- # [0.3.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.2.1...v0.3.0) (2016-03-10)
433
-
434
-
435
-
436
- <a name="0.2.1"></a>
437
- ## [0.2.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.2.0...v0.2.1) (2016-03-04)
438
-
439
-
440
-
441
- <a name="0.2.0"></a>
442
- # [0.2.0](https://github.com/libp2p/js-libp2p-tcp/compare/v0.1.2...v0.2.0) (2016-03-04)
443
-
444
-
445
-
446
- <a name="0.1.2"></a>
447
- ## [0.1.2](https://github.com/libp2p/js-libp2p-tcp/compare/v0.1.1...v0.1.2) (2015-10-29)
448
-
449
-
450
-
451
- <a name="0.1.1"></a>
452
- ## [0.1.1](https://github.com/libp2p/js-libp2p-tcp/compare/v0.1.0...v0.1.1) (2015-09-17)
453
-
454
-
455
-
456
- <a name="0.1.0"></a>
457
- # 0.1.0 (2015-09-16)
package/LICENSE-APACHE DELETED
@@ -1,5 +0,0 @@
1
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
2
-
3
- http://www.apache.org/licenses/LICENSE-2.0
4
-
5
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package/LICENSE-MIT DELETED
@@ -1,19 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.