This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-12
lines changed Expand file tree Collapse file tree 4 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ let sigServerB
1515let ipfsdServer
1616
1717module . exports = {
18- bundlesize : { maxSize : '518kB ' } ,
18+ bundlesize : { maxSize : '520kB ' } ,
1919 karma : {
2020 files : [ {
2121 pattern : 'node_modules/interface-ipfs-core/test/fixtures/**/*' ,
Original file line number Diff line number Diff line change 9090 "it-first" : " ^1.0.4" ,
9191 "it-last" : " ^1.0.4" ,
9292 "it-pipe" : " ^1.1.0" ,
93- "libp2p" : " ^0.29.0 " ,
93+ "libp2p" : " ^0.29.3 " ,
9494 "libp2p-bootstrap" : " ^0.12.1" ,
9595 "libp2p-crypto" : " ^0.18.0" ,
9696 "libp2p-floodsub" : " ^0.23.1" ,
Original file line number Diff line number Diff line change @@ -23,12 +23,11 @@ module.exports = () => ({
2323 }
2424 } ,
2525 Bootstrap : [
26- '/dns4/ams-1.bootstrap.libp2p.io/tcp/443/wss/p2p/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd' ,
27- '/dns4/lon-1.bootstrap.libp2p.io/tcp/443/wss/p2p/QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3' ,
28- '/dns4/sfo-3.bootstrap.libp2p.io/tcp/443/wss/p2p/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM' ,
29- '/dns4/sgp-1.bootstrap.libp2p.io/tcp/443/wss/p2p/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu' ,
30- '/dns4/nyc-1.bootstrap.libp2p.io/tcp/443/wss/p2p/QmSoLueR4xBeUbY9WZ9xGUUxunbKWcrNFTDAadQJmocnWm' ,
31- '/dns4/nyc-2.bootstrap.libp2p.io/tcp/443/wss/p2p/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64' ,
26+ '/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN' ,
27+ '/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb' ,
28+ '/dnsaddr/bootstrap.libp2p.io/p2p/QmZa1sAxajnQjVM8WjWXoMbmPd7NsWhfKsPkErzpm9wGkp' ,
29+ '/dnsaddr/bootstrap.libp2p.io/p2p/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa' ,
30+ '/dnsaddr/bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt' ,
3231 '/dns4/node0.preload.ipfs.io/tcp/443/wss/p2p/QmZMxNdpMkewiVZLMRxaNxUeZpDUb34pWjZ1kZvsd16Zic' ,
3332 '/dns4/node1.preload.ipfs.io/tcp/443/wss/p2p/Qmbut9Ywz9YEDrz8ySBSgWyJk41Uvm2QJPhwDJzJyGFsD6' ,
3433 '/dns4/node2.preload.ipfs.io/tcp/443/wss/p2p/QmV7gnbW5VTcJ3oyM2Xk1rdFBJ3kTkvxc87UFGsun29STS' ,
Original file line number Diff line number Diff line change @@ -31,19 +31,19 @@ describe('config', function () {
3131
3232 expect ( res . Peers ) . to . not . be . empty ( )
3333
34- const onlyWss = res . Peers . reduce ( ( acc , curr ) => {
34+ const onlyWssOrResolvableAddr = res . Peers . reduce ( ( acc , curr ) => {
3535 if ( ! acc ) {
3636 return acc
3737 }
3838
3939 const ma = multiaddr ( curr )
40- return ma . protos ( ) . some ( proto => proto . name === 'wss' )
40+ return ma . protos ( ) . some ( proto => proto . name === 'wss' || proto . resolvable )
4141 } , true )
4242
4343 if ( isBrowser || isWebWorker ) {
44- expect ( onlyWss ) . to . be . true ( )
44+ expect ( onlyWssOrResolvableAddr ) . to . be . true ( )
4545 } else {
46- expect ( onlyWss ) . to . be . false ( )
46+ expect ( onlyWssOrResolvableAddr ) . to . be . false ( )
4747 }
4848 } )
4949} )
You can’t perform that action at this time.
0 commit comments