diff --git a/.gx/lastpubver b/.gx/lastpubver index 0976216..444675f 100644 --- a/.gx/lastpubver +++ b/.gx/lastpubver @@ -1 +1 @@ -0.6.2: QmaUewj1HPiCX5mjNHmevQiNWr4eeAn7HBfHcGVbRyafdo +0.7.0: QmTgcWwxttM74AY7UYA6qMP9WpzfBEjbZntx7ZWLttRMJJ diff --git a/comm.go b/comm.go index 356ecb9..5ada91f 100644 --- a/comm.go +++ b/comm.go @@ -9,7 +9,7 @@ import ( ggio "github.com/gogo/protobuf/io" proto "github.com/gogo/protobuf/proto" - inet "github.com/libp2p/go-libp2p/p2p/net" + inet "github.com/libp2p/go-libp2p-net" ) // get the initial RPC containing all of our subscriptions to send to new peers diff --git a/floodsub.go b/floodsub.go index e1a1d64..9480d62 100644 --- a/floodsub.go +++ b/floodsub.go @@ -9,11 +9,11 @@ import ( pb "github.com/libp2p/go-floodsub/pb" proto "github.com/gogo/protobuf/proto" - peer "github.com/ipfs/go-libp2p-peer" logging "github.com/ipfs/go-log" - host "github.com/libp2p/go-libp2p/p2p/host" - inet "github.com/libp2p/go-libp2p/p2p/net" - protocol "github.com/libp2p/go-libp2p/p2p/protocol" + host "github.com/libp2p/go-libp2p-host" + inet "github.com/libp2p/go-libp2p-net" + peer "github.com/libp2p/go-libp2p-peer" + protocol "github.com/libp2p/go-libp2p-protocol" timecache "github.com/whyrusleeping/timecache" ) diff --git a/floodsub_test.go b/floodsub_test.go index a935a11..8df2af1 100644 --- a/floodsub_test.go +++ b/floodsub_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - peer "github.com/ipfs/go-libp2p-peer" - host "github.com/libp2p/go-libp2p/p2p/host" + host "github.com/libp2p/go-libp2p-host" + peer "github.com/libp2p/go-libp2p-peer" netutil "github.com/libp2p/go-libp2p/p2p/test/util" ) diff --git a/notify.go b/notify.go index 3206ef0..5d94878 100644 --- a/notify.go +++ b/notify.go @@ -3,8 +3,8 @@ package floodsub import ( "context" - ma "github.com/jbenet/go-multiaddr" - inet "github.com/libp2p/go-libp2p/p2p/net" + inet "github.com/libp2p/go-libp2p-net" + ma "github.com/multiformats/go-multiaddr" ) var _ inet.Notifiee = (*PubSubNotif)(nil) diff --git a/package.json b/package.json index 9052f73..3e3d597 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ "gxDependencies": [ { "author": "whyrusleeping", - "hash": "QmbiRCGZqhfcSjnm9icGz3oNQQdPLAnLWnKHXixaEWXVCN", + "hash": "QmcRa2qn6iCmap9bjp8jAwkvYAq13AUfxdY3rrYiaJbLum", "name": "go-libp2p", - "version": "3.5.4" + "version": "4.0.1" }, { "author": "whyrusleeping", @@ -24,6 +24,12 @@ "hash": "QmYftoT56eEfUBTD3erR6heXuPSUhGRezSmhSU8LeczP8b", "name": "timecache", "version": "1.0.0" + }, + { + "author": "whyrusleeping", + "hash": "QmdML3R42PRSwnt46jSuEts9bHSqLctVYEjJqMR3UYV8ki", + "name": "go-libp2p-host", + "version": "1.1.0" } ], "gxVersion": "0.9.0", @@ -31,6 +37,6 @@ "license": "", "name": "floodsub", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", - "version": "0.6.2" + "version": "0.7.0" }