Skip to content

Commit

Permalink
deps: bump @libp2p/interface-peer-discovery from 1.1.1 to 2.0.0 (#96)
Browse files Browse the repository at this point in the history
Bumps [@libp2p/interface-peer-discovery](https://github.com/libp2p/js-libp2p-interfaces) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases)
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-peer-discovery-v1.1.1...@libp2p/interface-peer-discovery-v2.0.0)

---
updated-dependencies:
- dependency-name: "@libp2p/interface-peer-discovery"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <[email protected]>
Co-authored-by: Alex Potsides <[email protected]>
  • Loading branch information
3 people authored Sep 18, 2023
1 parent 2858874 commit 4e3766a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,26 +140,26 @@
"docs": "aegir docs"
},
"dependencies": {
"@libp2p/interface-peer-discovery": "^1.0.1",
"@libp2p/interface-peer-discovery": "^2.0.0",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/interface-peer-info": "^1.0.2",
"@libp2p/interface-pubsub": "^4.0.0",
"@libp2p/interfaces": "^3.0.3",
"@libp2p/logger": "^2.0.1",
"@libp2p/peer-id": "^2.0.0",
"@libp2p/logger": "^3.0.2",
"@libp2p/peer-id": "^3.0.2",
"@multiformats/multiaddr": "^12.0.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3"
},
"devDependencies": {
"@libp2p/interface-address-manager": "^3.0.0",
"@libp2p/interface-peer-discovery-compliance-tests": "^2.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"@libp2p/peer-id-factory": "^3.0.4",
"aegir": "^40.0.0",
"p-defer": "^4.0.0",
"p-wait-for": "^5.0.0",
"protons": "^7.0.2",
"sinon": "^15.0.1",
"sinon": "^16.0.0",
"ts-sinon": "^2.0.2"
}
}
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { symbol } from '@libp2p/interface-peer-discovery'
import { peerDiscovery } from '@libp2p/interface-peer-discovery'
import { CustomEvent, EventEmitter } from '@libp2p/interfaces/events'
import { logger } from '@libp2p/logger'
import { peerIdFromKeys } from '@libp2p/peer-id'
Expand Down Expand Up @@ -41,7 +41,7 @@ export interface PubSubPeerDiscoveryComponents {
* A Peer Discovery Service that leverages libp2p Pubsub to find peers.
*/
export class PubSubPeerDiscovery extends EventEmitter<PeerDiscoveryEvents> implements PeerDiscovery, Startable {
public readonly [symbol] = true
public readonly [peerDiscovery] = true
public readonly [Symbol.toStringTag] = '@libp2p/pubsub-peer-discovery'

private readonly interval: number
Expand Down

0 comments on commit 4e3766a

Please sign in to comment.