Pavel Murygin
3d47c8d9be
bump dependencies
2021-04-09 18:23:24 +03:00
wqsz7xn
ac7d10c646
feat: add QUIC support ( #70 )
2021-01-13 15:31:49 +01:00
Vasco Santos
c8430c1556
fix: add webrtc direct with p2p as valid P2P multiaddr ( #71 )
2021-01-11 10:16:51 +01:00
Vasco Santos
86928d49c2
chore: add support for dns4 and dns6
2020-10-27 11:58:49 +00:00
Vasco Santos
95d5178a2a
feat: add dnsnaddr p2p
2020-10-27 11:58:49 +00:00
Alex Potsides
022ab870fc
fix: replace node buffers with uint8arrays ( #59 )
...
BREAKING CHANGES:
- Now uses a version of `multiaddr` than has a `.bytes` property instead of `.buffer`
2020-08-10 15:34:58 +02:00
Vasco Santos
6d86efaeb7
chore: add buffer to tests ( #56 )
2020-07-13 10:43:51 +02:00
Jacob Heun
7112ab7898
fix: webrtc-star should not require the p2p codec ( #47 )
...
* fix: webrtc-star should not require the p2p codec
* docs: update readme ipfs -> p2p
* docs: fix badges
2020-01-23 16:47:25 +01:00
Vasco Santos
1479f6ad2c
chore: update deps ( #46 )
...
As multiaddr now defaults to using /p2p over /ipfs
we no longer need the logic for both. /ipfs is still supported
as demonstrated in the tests.
2019-09-11 19:47:54 +02:00
Vasco Santos
674e7a8237
Revert "chore: Update to latest multiaddr (p2p by default over ipfs) ( #43 )"
...
This reverts commit bbd2c1ddc01a68ed330248fd101383710d64578e.
2019-09-11 19:29:04 +02:00
Jacob Heun
bbd2c1ddc0
chore: Update to latest multiaddr (p2p by default over ipfs) ( #43 )
...
As multiaddr now defaults to using /p2p over /ipfs
we no longer need the logic for both. /ipfs is still supported
as demonstrated in the tests.
2019-09-10 15:00:21 +02:00
Jacob Heun
09160b5167
feat: p2p and dns support ( #42 )
2019-08-08 11:02:02 +01:00
Marcin Rataj
c2adc27b22
feat: accept Buffer input ( #39 )
...
README states that input can be a Buffer, but
https://github.com/multiformats/js-mafmt/blob/v6.0.6/src/index.js#L148
would fail due to missing Buffer.protoNames
This commit moves validation to js-multiaddr and adds tests for
object and buffer variants.
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2019-02-26 15:31:50 +00:00
Maciej Krüger
9b0c199db1
feat: add /p2p-stardust ( #35 )
...
This is part of the endeavor to replace ws-star with the newly created
stardust protocol. See libp2p/js-libp2p-websocket-star#70 for a
reference
Note: This PR depends on this pr to be merged and the package being
updated first: https://github.com/multiformats/js-multiaddr/pull/78
2019-02-07 11:04:12 +00:00
Maciej Krüger
5187d5950f
fix: do not throw if multiaddr str is invalid, fixes #25 ( #36 )
2019-01-25 12:03:41 +00:00
Jacob Heun
acc9295adf
feat: add tcp over dns ( #31 )
2018-09-12 10:21:52 +01:00
Alan Shaw
87c4202772
feat: adds HTTPS validation and HTTP(s) tests
2018-05-30 09:57:11 +01:00
Maciej Krüger
ecef5f424d
feat: /dns => /dnsaddr ( #21 )
...
* /dns => /dnsaddr
See 99a1aa4d27
* fix: tests
2018-02-12 10:15:11 +00:00
David Dias
9df8d849e4
test: add tests for the *-star addrs we recommend using ( #20 )
...
* chore: update deps
* test: add tests for the *-star addrs we recommend using
2017-11-28 09:21:56 +00:00
Maciej Krüger
2f336e3873
feat: Update to multiaddr v3.0.1 - refactor: websocket{s => }-star ( #19 )
...
* chore: Update to multiaddr v3.0.1 - refactor: websocket{s => }-star
* fix: Some valid websocket-star addresses were filtered as invalid
2017-09-06 13:13:17 +01:00
David Dias
5fbb42467f
feat: fix p2p addrs situation
...
* chore: update gitignore
* chore: update CI
* chore: update deps
* feat: upgrade p2p-webrtc-star and p2p-webrtc-direct validation, add p2p-websockets-star and update tests
2017-09-03 09:46:57 +01:00
David Dias
0101bd26d2
test: make sure that libp2p-webrtc-star is not valid websockets
2017-03-29 20:47:59 +01:00
dmitriy ryajov
40f8c9f64b
test: adding tests for bad circuit addresses
2017-03-27 13:15:44 -07:00
dmitriy ryajov
c80fb350a9
test: adding test for recursive address
2017-03-26 19:42:20 -07:00
dmitriy ryajov
a1f9ccd457
feat: adding support for ports in resolvable addresses
2017-03-26 19:42:20 -07:00
dmitriy ryajov
14db530090
fix: p2p-circuit validation
2017-02-26 00:07:33 -08:00
dmitriy ryajov
c05c1af111
feat: adding circuit addresses
2017-02-25 23:41:14 -08:00
David Dias
af4db1dafb
test: test for bad cases as well
2017-01-22 14:42:20 +00:00
David Dias
3b99a7335f
feat: WebSocketsSecure
2017-01-20 17:46:26 +00:00
David Dias
ade442f4dd
feat: add support for dns validation, make IPFS validation much nicer, es6ify
2017-01-20 17:27:50 +00:00
David Dias
db00d97807
feat: add WebRTC Direct support for filtering
2017-01-16 15:11:29 +00:00
David Dias
444171be7c
add tests and proper ipfs addr validation
2016-05-28 15:34:50 +01:00
David Dias
2ae350af5a
include ipfs for webrtcstar validation
2016-05-21 23:34:53 +01:00
David Dias
eefa364ed6
add validator for webrtc-star-check
2016-05-21 20:00:52 +01:00
David Dias
459489bdc3
update multiaddr (websockets -> ws) and solve linting issues
2016-05-17 22:27:40 +01:00
dignifiedquire
b04c5112fc
Use dignified.js
2016-03-23 15:07:25 +01:00