Skip to content

Commit

Permalink
chore: make addrs and protocols optional as per spec
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Oct 19, 2023
1 parent a0859dc commit 791578b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import type { CID } from 'multiformats/cid'
export interface PeerRecord {
Schema: 'peer'
ID: PeerId
Addrs: Multiaddr[]
Protocols: string[]
Addrs?: Multiaddr[]
Protocols?: string[]
}

export interface BitswapRecord {
Expand Down

0 comments on commit 791578b

Please sign in to comment.