Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(dev): bump aegir from 39.0.13 to 40.0.8 #149

Merged
merged 4 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
Expand Down Expand Up @@ -128,8 +129,9 @@
"test:firefox-webworker": "aegir test -t webworker -- --browser firefox",
"test:node": "aegir test -t node --cov",
"test:electron-main": "aegir test -t electron-main",
"release": "aegir release",
"docs": "aegir docs"
"release": "run-s build docs:no-publish npm:release docs",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false"
},
"dependencies": {
"@libp2p/interface-peer-id": "^2.0.2",
Expand All @@ -140,13 +142,13 @@
"@libp2p/peer-id": "^3.0.2",
"any-signal": "^4.1.1",
"ipfs-core-types": "^0.14.1",
"multiformats": "^12.0.1",
"multiformats": "^12.1.2",
"p-defer": "^4.0.0",
"p-queue": "^7.3.4"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^3.0.3",
"aegir": "^40.0.11",
"aegir": "^41.0.3",
"go-ipfs": "^0.22.0",
"ipfsd-ctl": "^13.0.0",
"it-all": "^3.0.3",
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ export interface DialingPeerEvent {
export type QueryEvent = SendingQueryEvent | PeerResponseEvent | FinalPeerEvent | QueryErrorEvent | ProviderEvent | ValueEvent | AddingPeerEvent | DialingPeerEvent

export interface Delegate {
getEndpointConfig: () => { protocol: string, host: string, port: string }
getEndpointConfig(): { protocol: string, host: string, port: string }

dht: {
findPeer: (peerId: PeerId, options?: AbortOptions) => AsyncIterable<QueryEvent>
query: (peerId: PeerId | CID, options?: AbortOptions) => AsyncIterable<QueryEvent>
findPeer(peerId: PeerId, options?: AbortOptions): AsyncIterable<QueryEvent>
query(peerId: PeerId | CID, options?: AbortOptions): AsyncIterable<QueryEvent>
}
}

Expand Down
5 changes: 5 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"entryPoints": [
"./src/index.ts"
]
}